LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 11-10-2002, 09:37 PM   #1
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 121

Rep: Reputation: 15
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 :-)
 
Old 11-12-2002, 05:13 PM   #2
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 121

Original Poster
Rep: Reputation: 15
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
 
Old 11-12-2002, 06:08 PM   #3
mdh
Member
 
Registered: Nov 2002
Location: Melbourne, Australia
Distribution: (C)LFS (x86_64, ix86, sparcv9, ppc)
Posts: 121

Original Poster
Rep: Reputation: 15
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...

Last edited by mdh; 11-12-2002 at 06:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
building glibc 2.3.5 for static linking. rekhakp Linux - Software 0 04-26-2005 12:17 PM
g++ static build problem Joe-E Programming 7 10-21-2004 01:05 AM
glibc 2.3.2 => glibc 2.3.3 causes bash & syslog issues natetheros Red Hat 1 09-27-2004 01:35 AM
Upgraded glibc to 2.3; now rpm segfaults/dumps core nfisk Linux - Software 0 08-26-2003 04:50 PM
I can't build static programs Red Guy Programming 3 01-19-2003 01:43 AM


All times are GMT -5. The time now is 01:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration