Oops, forgot to mention the 'important' part: these 3 packages goes for the 
/tools hierarchy, not /usr, and
you have to recompile them while being in chroot, not before.

Julio

----- Original Message ----- 
From: "Julio Meca Hansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Cross-LFS Support List" 
<[email protected]>
Sent: Sunday, August 05, 2007 6:01 AM
Subject: Re: [Clfs-support] glibc compile error


> Hi Arnie,
>
> the reason you get that segmentation fault is 'basically' a fault in Bash
> (not being completely independent on the host, I think but not sure),
> but it has a quick & easy solution (at least it worked for me), prior to
> compile glibc, recompile these packages in this exact order: m4,
> bison and then bash, once you do it, just exit from the chroot and 
> re-enter
> it. you can just build glibc and the rest of the system (but I
> have to note I was building a 64bit pure system, I don't know if it would 
> be
> the same for a multilib build...)
>
> Hope this helps ;)
>
> Julio
>
> ----- Original Message ----- 
> From: "Arnie Stender" <[EMAIL PROTECTED]>
> To: "Cross-LFS Support List" <[email protected]>
> Sent: Sunday, August 05, 2007 4:14 AM
> Subject: [Clfs-support] glibc compile error
>
>
>> Hi All,
>>    First off I want to say KUDOS! to the DEV team. I built a pure 64
>> bit CLFS a while back and had a bunch of problems right from the start.
>> This time I am building a multilib CLFS and got all the way to the final
>> build of glibc 32 bit libraries before I saw my first error. The make
>> segfaulted. I'm building in chroot from
>>
>>
>>        Cross-Compiled Linux From Scratch - Version
>>        SVN-20070724-x86_64-Multilib chapter 10.7
>>
>> The make ran along fine for a while then ended abruptly with this:
>>
>> gcc -m32 ../sysdeps/i386/i686/hp-timing.c -c -std=gnu99 -fgnu89-inline
>> -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -march=i686
>> -mtune=generic -Wstrict-prototypes -mpreferred-stack-boundary=4
>> -I../include -I/usr/src/packages/glibc-build/csu
>> -I/usr/src/packages/glibc-build -I../sysdeps/i386/elf
>> -I../nptl/sysdeps/unix/sysv/linux/i386/i686
>> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
>> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
>> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
>> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
>> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv
>> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
>> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
>> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686
>> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
>> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32
>> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
>> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
>> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl  -I.. -I../libio
>> -I.  -D_LIBC_REENTRANT -include ../include/libc-symbols.h
>> -DHAVE_INITFINI -o /usr/src/packages/glibc-build/csu/hp-timing.o -MD -MP
>> -MF /usr/src/packages/glibc-build/csu/hp-timing.o.dt -MT
>> /usr/src/packages/glibc-build/csu/hp-timing.o
>> .././scripts/mkinstalldirs /usr/src/packages/glibc-build/csu
>> make[2]: *** [/usr/src/packages/glibc-build/csu/stamp.o] Segmentation
>> fault
>> make[2]: Leaving directory `/usr/src/packages/glibc-2.6/csu'
>> make[1]: *** [csu/subdir_lib] Error 2
>> make[1]: Leaving directory `/usr/src/packages/glibc-2.6'
>> make: *** [all] Error 2
>>
>> From looking at this I am not sure exactly what blew up but I figure one
>> of you have seen this before. Any help will be greatly appreciated.
>> Thanks in advance.
>>
>> Arnie
>> _______________________________________________
>> Clfs-support mailing list
>> [email protected]
>> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>
> _______________________________________________
> Clfs-support mailing list
> [email protected]
> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support 

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to