All of lore.kernel.org
 help / color / mirror / Atom feed
* Building older glibc
@ 2009-05-13 11:00 Peter Chubb
  2009-05-13 14:12 ` GNUtoo
  2009-05-13 14:57 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Chubb @ 2009-05-13 11:00 UTC (permalink / raw)
  To: openembedded-devel


Is there a trick to building an older glibc than the head?  I'm
building for x86, and I need a libc.a that'll run against a 2.6.10
kernel --- so I've tried
	bitbake glibc-2.3.2
(and 2.3.5)
And I see :
...
| configure: loading site script /usr/src/oe-sel4/openembedded/site/common
| configure: loading site script /usr/src/oe-sel4/openembedded/site/common
| configure: error: add-on directory "nptl" does not exist
| FATAL: oe_runconf failed
NOTE: Task failed: /usr/src/oe-sel4/tmp/work/i686-oe-linux/glibc-2.3.2-r20/temp/log.do_configure.17493
NOTE: package glibc-2.3.2-r20: task do_configure: failed
ERROR: TaskFailed event exception, aborting

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building older glibc
  2009-05-13 11:00 Building older glibc Peter Chubb
@ 2009-05-13 14:12 ` GNUtoo
  2009-05-13 14:57 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: GNUtoo @ 2009-05-13 14:12 UTC (permalink / raw)
  To: openembedded-devel

On Wed, 2009-05-13 at 21:00 +1000, Peter Chubb wrote:
> Is there a trick to building an older glibc than the head?  I'm
> building for x86, and I need a libc.a that'll run against a 2.6.10
> kernel --- so I've tried
> 	bitbake glibc-2.3.2
> (and 2.3.5)
> And I see :
> ...
> | configure: loading site script /usr/src/oe-sel4/openembedded/site/common
> | configure: loading site script /usr/src/oe-sel4/openembedded/site/common
> | configure: error: add-on directory "nptl" does not exist
> | FATAL: oe_runconf failed
> NOTE: Task failed: /usr/src/oe-sel4/tmp/work/i686-oe-linux/glibc-2.3.2-r20/temp/log.do_configure.17493
> NOTE: package glibc-2.3.2-r20: task do_configure: failed
> ERROR: TaskFailed event exception, aborting
> 
> --
> Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
> http://www.ertos.nicta.com.au           ERTOS within National ICT Australia
I had the same requirements:
I have a 2.4 kernel that doesn't have:
*nptl
*eabi
so I tried to patch a recent glibc and at the end I end up choosing
uclibc...
The drawback is that it seriously affect my binary compatibility with
glibc(that is to say I can't run the proprietary software that came with
the device...but I want to get rid of that software anyway...so...)
I didn't try or look into eglibc and I'm interested in knowing if it
require nptl
 
Denis.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Building older glibc
  2009-05-13 11:00 Building older glibc Peter Chubb
  2009-05-13 14:12 ` GNUtoo
@ 2009-05-13 14:57 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2009-05-13 14:57 UTC (permalink / raw)
  To: openembedded-devel

On Wed, May 13, 2009 at 09:00:52PM +1000, Peter Chubb wrote:
> 
> Is there a trick to building an older glibc than the head?  I'm
> building for x86, and I need a libc.a that'll run against a 2.6.10
> kernel --- so I've tried
> 	bitbake glibc-2.3.2
> (and 2.3.5)

You shouldn't need to get that old.  2.5 or 2.6, with
OLDEST_KERNEL=2.6.10 should work (make sure your machine.conf isn't
overriding the default of 2.4.0).

-- 
Tom Rini



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-13 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 11:00 Building older glibc Peter Chubb
2009-05-13 14:12 ` GNUtoo
2009-05-13 14:57 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.