Building older glibc
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
Quoted 11 lines · Peter Chubb
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
Quoted 7 lines
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: taskdo_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.
Quoted 6 lines · Peter Chubb
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).
Signature · 1 line
Tom Rini