Signal 11 compiling glibc on sun4u

lfs at rrod.net lfs at rrod.net
Wed Nov 14 08:27:06 PST 2001


I am trying to build an LFS on a Sun Netra T1 (a sun4u arch).

Chapter 5 works fine, as long as I compile GCC in a sparc32 shell
(telling gcc that I have a 32 bit processor, instead of the 64 bit
processor I really have, because gcc won't compile for 64 bit.)

However, I cannot get glibc to compile. During the make:
gcc -nostdlib -nostartfiles -r -o /usr/src/lp/glibc-build/csu/crt1.o
/usr/src/lp/glibc-build/csu/start.o
/usr/src/lp/glibc-build/csu/abi-note.o
/usr/src/lp/glibc-build/csu/init.o
collect2: ld terminated with signal 11 [Segmentation fault], core
dumped
/usr/bin/ld: warning: sparc:v9 architecture of input file
`/usr/src/lp/glibc-build/csu/start.o' is incompatible with sparc
output
/usr/bin/ld: warning: sparc:v9 architecture of input file
`/usr/src/lp/glibc-build/csu/abi-note.o' is incompatible with sparc
output
/usr/bin/ld: warning: sparc:v9 architecture of input file
`/usr/src/lp/glibc-build/csu/init.o' is incompatible with sparc
output
/usr/bin/ld: bfd assertion fail elflink.h:2483
/usr/bin/ld: bfd assertion fail elflink.h:5413
/usr/bin/ld: bfd assertion fail elflink.h:5457
make[2]: *** [/usr/src/lp/glibc-build/csu/crt1.o] Error 1
make[2]: Leaving directory `/usr/src/lp/glibc-2.2.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/src/lp/glibc-2.2.4'
make: *** [all] Error 2


It is *not* a hardware problem - I know because I took the hard disk
out, and put it into an identical machine.

It is not the hard disk, because I built it on another.

It stops at exactly the same point if I do it in a sparc32 shell.

Has anybody tried this/had this problem/succeeded?

Thanks,
-- 
Jarrod Lowe
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list