glibc can't build on linuxppc

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed Jan 17 06:28:00 GMT 2001


At 14:44 2001-01-17, Janez Zupan wrote:
>Hi!
>
>I have a lot of troubles with building glibc (2.1.3) on RS/6000 44p
>270 machine.
>I'm using gcc version 2.95.2.1.
>
>This is build log:
>gcc rpcinfo.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings 
>-g      - I../include -I.  -I.. -I../libio  -I../sysdeps/powerpc/elf 
>-I../crypt/sysdeps/un ix -I../linuxthreads/sysdeps/unix/sysv/linux 
>-I../linuxthreads/sysdeps/pthread - I../linuxthreads/sysdeps/unix/sysv 
>-I../linuxthreads/sysdeps/unix -I../linuxthre ads/sysdeps/powerpc 
>-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/ linux 
>-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysd 
>eps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix 
>-I../s ysdeps/powerpc -I../sysdeps/wordsize-32 -I../sysdeps/ieee754 
>-I../sysdeps/libm-i eee754 -I../sysdeps/generic/elf -I../sysdeps/generic 
>-D_LIBC_REENTRANT -includ e ../include/libc-symbols.h     -o rpcinfo.o
>gcc -nostdlib -nostartfiles -o rpcinfo 
>-Wl,-dynamic-linker=/usr/local/lib/ld.so.1 ../csu/crt1.o ../csu/crti.o 
>`gcc --print-file-name=crtbegin.o` rpcinfo.o -Wl 
>,-rpath-link=..:../math:../elf:../nss:../nis:../db2:../rt:../resolv:../linuxthreads 
>../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` 
>../c su/crtn.o ../elf/ld.so.1 --library-path 
>..:../math:../elf:../nss:../nis:../db2:../rt:../resolv:../linuxthreads 
>./rpcgen -Y `gcc -print-file-name=cpp | sed "s|/c pp$||"` -c 
>rpcsvc/bootparam_prot.x -o xbootparam_prot.T
>make[1]: *** [xbootparam_prot.stmp] Segmentation fault
>make[1]: Leaving directory `/tmp/glibc-2.1.3-21/glibc-2.1.3/sunrpc'
>make: *** [sunrpc/others] Error 2
>
>Can anybody help?

Get yourself gcc-2.95.3.test2 and apply _one_ of the patches (the smaller 
one is the minimum patch needed for glibc, the bigger one contains 
additional PPC specific fixes) available at 
< ftp://devel.linuxppc.org/users/fsirl/ >

Franz.



More information about the Gcc-bugs mailing list