LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Glibc 2.3.1 build causes segfaults with static bash (https://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-2-3-1-build-causes-segfaults-with-static-bash-35105/)

mdh 11-10-2002 09:37 PM

Glibc 2.3.1 build causes segfaults with static bash
 
Greetings all,

Though probably not that appropriate to this list ( with LFS 4 using glibc-2.2.5 ) I was wondering if anyone has had any success building glibc-2.3.x from their chrooted environment.

From what I can gather there have been changes to libnss and the storage of locales and this seems to upset my static built bash causing it to segfault...

If anyone has come up with a way around this, I'd really appreciate some help :-)

mdh 11-12-2002 05:13 PM

Found a fix...

In glibc-2.3.1/ctype/ctype-info.c, comment out all "compat_symbol" lines.
Static bash no longer segfaults.

GCC also needs a patch for rebuilding under 2.3.1
http://www.haible.de/bruno/gcc-3.2-g....3-compat.diff

mdh 11-12-2002 06:08 PM

Arghhh, should have checked the lfs-dev archives :-)

http://archive.linuxfromscratch.org/...s-dev/2002/11/

Also noticed there could be issues with Sun Java 1.3.1 using __libc_wait (listed as PRIVATE in glibc-2.3.1)

apparently j2sdk 1.4.1 should be OK...


All times are GMT -5. The time now is 07:27 AM.