This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Segfault while building glibc 2.2

>>>>> SL Baur writes:

 > ng  <Alexander> writes in
>> bash-2.04# make
>> ../elf/ --library-path ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ./rpcgen -Y `gcc -print-file-name=cpp | sed "s|/cpp$||"` -c rpcsvc/bootparam_prot.x -o xbootparam_prot.T
>> make: *** [xbootparam_prot.stmp] Segmentation fault

 > I get a similar error, but only on ia32.  Alpha is O.K.  This is from
 > a CVS update taken about six hours ago and with a patch to fix the

 > /home/work/turbo/BUILD/libc/build-i586-linux/elf/ --library-path /home/work/turbo/BUILD/libc/build-i586-linux:/home/work/turbo/BUILD/libc/build-i586-linux/math:/home/work/turbo/BUILD/libc/build-i586-linux/elf:/home/work/turbo/BUILD/libc/build-i586-linux/dlfcn:/home/work/turbo/BUILD/libc/build-i586-linux/nss:/home/work/turbo/BUILD/libc/build-i586-linux/nis:/home/work/turbo/BUILD/libc/build-i586-linux/rt:/home/work/turbo/BUILD/libc/build-i586-linux/resolv:/home/work/turbo/BUILD/libc/build-i586-linux/crypt:/home/work/turbo/BUILD/libc/build-i586-linux/linuxthreads /home/work/turbo/BUILD/libc/build-i586-linux/sunrpc/rpcgen -Y `gcc -print-file-name=cpp | sed "s|/cpp$||"` -c rpcsvc/bootparam_prot.x -o /home/work/turbo/BUILD/libc/build-i586-linux/sunrpc/xbootparam_prot.T
 > /home/work/turbo/BUILD/libc/build-i586-linux/sunrpc/rpcgen: error while loading shared libraries: cannot open shared object file: No such file or directory
 > make[2]: *** [/home/work/turbo/BUILD/libc/build-i586-linux/sunrpc/xbootparam_prot.stmp] エラー 127

 > Binutils is  Gcc is 2.97 (20001113).
That GCC version is broken.  You might want to try the following patch:
Index: Makeconfig
--- Makeconfig	2000/11/16 02:06:35	1.248
+++ Makeconfig	2000/11/16 08:48:32
@@ -694,7 +694,7 @@
 # %ifdef et al based on config.h settings or other %include'd files.
 define preprocess-versions
 sed 's/#.*$$//;s/^[ 	]*%/#/' \
-| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
+| $(CC) -E -undef -traditional -I$(common-objdir) -I$(..)include \
 		  -include $(common-objpfx)config.h \
 		  -x c - \
 | sed 's/#.*$$//;/^[ 	]*$$/d'

But I don't think it will fix all your problems :-(

 Andreas Jaeger
  SuSE Labs

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]