This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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: 2.1.3pre3: make check fails, error building gcc.


>>>>> Lasse Kliemann writes:

 > I configured the new glibc-2.1.3pre3 using
 > configure --prefix=/usr/local/glibc-2.1.3 --enable-add-ons=crypt,linuxthreads

 > After the 'make' I do a 'make check' and everything seems to run fine
 > except the following:

 > [...]
 > make[2]: Entering directory `/src/glibc-2.1.3/posix'
 > /bin/sh -e globtest.sh /src/glibc-build/ /src/glibc-build/elf/ \
 >          ld-linux.so.2
 > /bin/sh -e wordexp-tst.sh /src/glibc-build/ /src/glibc-build/elf/ \
 >          ld-linux.so.2
 > /src/glibc-build/posix/annexc 'gcc' \
 >          '-I../include -I.. -I/src/glibc-build -I../sysdeps/i386/elf
 > -I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
 > -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
 > -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386
 > -I../sysdeps/unix/sysv/linux/i386 -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../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
 > -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486
 > -I../sysdeps/i386/fpu -I../sysdeps/libm-i387 -I../sysdeps/i386
 > -I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754
 > -I../sysdeps/generic/elf -I../sysdeps/generic' >
 > /src/glibc-build/posix/annexc.out
 > make[2]: [tests] Error 1 (ignored)
That's ok - check posix/Makefile.  We ignore it since this isn't
resolved yet.
 > make[2]: Leaving directory `/src/glibc-2.1.3/posix'
 > [...]

 > (I reformatted this part by hand and broke the very long line with the
 > includes into several lines.)

 > The file /src/glibc-build/posix/annexc.out is attached to this mail.

 > Despite these errors I did a 'make install', which could not damage my
 > system, since a chose '/usr/local/glibc-2.1.3' as prefix. Now I wanted
 > to compile the latest snapshot of gcc using the new C Library. I did

 > ../egcs-20000124/configure --prefix=/usr/local/glibc-2.1.3
 > --enable-shared  --enable-haifa  --with-gnu-as  --with-gnu-ld
 > --enable-threads  --enable-cpp  --enable-version-specific-runtime-libs

 > (Is this the way I have to do it -- just specifying the prefix of the
 > new library?)
No, this will not work.  Read the FAQ.  Programs will not pick up the
dynamic runtime linker.
 > The 'make bootstrap' ended in

 > [...]
 > stage1/xgcc -Bstage1/ -B/usr/local/glibc-2.1.3/i586-pc-linux-gnu/bin/
 > -DIN_GCC   -W -Wall -Wtraditional -O2 -g -O2   -o ../cc1chill parse.o
 > actions.o except.o grant.o lang.o tree.o lex.o decl.o typeck.o
 > convert.o expr.o loop.o tasking.o timing.o inout.o satisfy.o
 > ch-version.o ../ggc-callbacks.o \
 >       `cat ../stamp-objlist`  ../../libiberty/libiberty.a 
 > ../builtins.o: In function `expand_tree_builtin':
 > /src/gcc-obj/gcc/../../egcs-20000124/gcc/builtins.c:2544:
 > 		undefined reference to `build_unary_op'
 > /src/gcc-obj/gcc/../../egcs-20000124/gcc/builtins.c:2607:
 > 		undefined reference to `build_binary_op'
 > /src/gcc-obj/gcc/../../egcs-20000124/gcc/builtins.c:2609:
 > 		undefined reference to `build_unary_op'
 > collect2: ld returned 1 exit status
 > make[3]: *** [../cc1chill] Error 1
 > make[3]: Leaving directory `/src/gcc-obj/gcc/ch'
 > make[2]: *** [cc1chill] Error 2
 > make[2]: Leaving directory `/src/gcc-obj/gcc'
 > make[1]: *** [bootstrap] Error 2
 > make[1]: Leaving directory `/src/gcc-obj/gcc'
 > make: *** [bootstrap] Error 2
That's a AFAIK already fixed bug in the CVS version of gcc.
 > Using the stable release 2.95.2 ends with a similar error. I can't
 > remember it exactly, but I can reproduce it, if it is of need.

 > My system is a basic installation of SuSE 6.0 with lots of programs
 > compiled and installed from their latest sources:


 > snyder@enterprise:/src/glibc-build > gcc -v
 > Reading specs from
 > /usr/local/gcc-2.95.2/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs
 > gcc version 2.95.2 19991024 (release)

 > snyder@enterprise:/src/glibc-build > make -v
 > GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
 > Built for i586-pc-linux-gnu

 > snyder@enterprise:/src/glibc-build > ld -v
 > GNU ld version 2.9.1 (with BFD 2.9.1.0.15)

 > snyder@enterprise:/src/glibc-build > gettext --version
 > gettext (GNU gettext) 0.10.35
Those versions are fine.

 > Any hints will be greatly appreciated. My aim is to have the new C
 > Library in '/usr/local/glibc-2.1.3' such that I can compile programs
 > against it aswell as against my current one (glibc-2.0.6 IIRC).

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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