This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
2.1.3pre3: make check fails, error building gcc.
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: 2.1.3pre3: make check fails, error building gcc.
- From: Lasse Kliemann <stu33404 at mail dot uni-kiel dot de>
- Date: Sat, 29 Jan 2000 02:39:53 +0100
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
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)
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?)
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
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
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).
Thanks in advance,
Lasse
The following identifiers will be ignored since the compiler defines them
by default:
linux
i386
i586
pentium
unix
Tested files:
=== aio.h ===
* invalid macro `SIGVTALRM'
* invalid macro `gid_t'
* invalid macro `SIGUNUSED'
* invalid macro `SIGCLD'
* invalid macro `CLOCKS_PER_SEC'
* invalid macro `SIGSTKFLT'
* invalid macro `F_SETLKW64'
* invalid macro `F_SHLCK'
* invalid macro `SIGIOT'
* invalid macro `CLK_TCK'
* invalid macro `SIGPWR'
* invalid macro `SIGPOLL'
* invalid macro `SIGURG'
* invalid macro `SIGSYS'
* invalid macro `SIGPROF'
* invalid macro `F_EXLCK'
* invalid macro `off_t'
* invalid macro `O_NDELAY'
* invalid macro `SIGWINCH'
* invalid macro `SIGIO'
* invalid macro `dev_t'
* invalid macro `SIGTRAP'
* invalid macro `SIGXCPU'
* invalid macro `uid_t'
* invalid macro `SIGXFSZ'
* invalid macro `F_GETLK64'
* invalid macro `F_SETLK64'
* invalid macro `nlink_t'
* invalid macro `pid_t'
* invalid macro `ino_t'
* invalid macro `NULL'
* invalid macro `O_FSYNC'
* invalid macro `mode_t'
* invalid macro `ssize_t'
* invalid macro `O_ASYNC'
** macro `O_DSYNC' not defined
** macro `O_RSYNC' not defined
** macro `SIGEV_NONE' not defined
** macro `SIGEV_SIGNAL' not defined
** macro `SIGEV_SIGNAL' not defined
** macro `SIGEV_THREAD' not defined
** macro `SI_ASYNCIO' not defined
** macro `SI_MESGQ' not defined
** macro `SI_QUEUE' not defined
** macro `SI_TIMER' not defined
** macro `SI_USER' not defined
=== assert.h ===
=== ctype.h ===
=== dirent.h ===
* invalid macro `d_fileno'
=== errno.h ===
=== fcntl.h ===
* invalid macro `gid_t'
* invalid macro `F_SETLKW64'
* invalid macro `F_SHLCK'
* invalid macro `F_EXLCK'
* invalid macro `off_t'
* invalid macro `O_NDELAY'
* invalid macro `dev_t'
* invalid macro `uid_t'
* invalid macro `F_GETLK64'
* invalid macro `F_SETLK64'
* invalid macro `nlink_t'
* invalid macro `pid_t'
* invalid macro `ino_t'
* invalid macro `O_FSYNC'
* invalid macro `mode_t'
* invalid macro `ssize_t'
* invalid macro `O_ASYNC'
** macro `O_DSYNC' not defined
** macro `O_RSYNC' not defined
=== float.h ===
=== grp.h ===
=== limits.h ===
* invalid macro `AIO_PRIO_DELTA_MAX'
* invalid macro `SSIZE_MAX'
** macro `_POSIX_CLOCKRES_MAX' not defined
** macro `_POSIX_THREAD_DESTRUCTOR_ITERATIONS' not defined
** macro `PAGESIZE' not defined
=== locale.h ===
=== math.h ===
=== mqueue.h ===
!! not available
=== pthread.h ===
** macro `PTHREAD_PRIO_INHERIT' not defined
** macro `PTHREAD_PRIO_NONE' not defined
** macro `PTHREAD_PRIO_PROTECT' not defined
** macro `CLOCK_REALTIME' not defined
** macro `TIMER_ABSTIME' not defined
=== pwd.h ===
=== sched.h ===
=== semaphore.h ===
* invalid macro `gid_t'
* invalid macro `SEM_FAILED'
* invalid macro `off_t'
* invalid macro `SEM_VALUE_MAX'
* invalid macro `dev_t'
* invalid macro `uid_t'
* invalid macro `nlink_t'
* invalid macro `pid_t'
* invalid macro `ino_t'
* invalid macro `mode_t'
* invalid macro `ssize_t'
=== setjmp.h ===
=== signal.h ===
* invalid macro `SIGVTALRM'
* invalid macro `SIGUNUSED'
* invalid macro `SIGCLD'
* invalid macro `SIGSTKFLT'
* invalid macro `SIGIOT'
* invalid macro `SIGPWR'
* invalid macro `SIGPOLL'
* invalid macro `SIGURG'
* invalid macro `SIGSYS'
* invalid macro `SIGPROF'
* invalid macro `SIGWINCH'
* invalid macro `SIGIO'
* invalid macro `SIGTRAP'
* invalid macro `SIGXCPU'
* invalid macro `SIGXFSZ'
** macro `SIGEV_NONE' not defined
** macro `SIGEV_SIGNAL' not defined
** macro `SIGEV_THREAD' not defined
** macro `SI_ASYNCIO' not defined
** macro `SI_MESGQ' not defined
** macro `SI_QUEUE' not defined
** macro `SI_TIMER' not defined
** macro `SI_USER' not defined
=== stdarg.h ===
=== stddef.h ===
=== stdio.h ===
** macro `STREAM_MAX' not defined
** macro `stderr' not defined
** macro `stdin' not defined
** macro `stdout' not defined
=== stdlib.h ===
=== string.h ===
=== sys/mman.h ===
=== sys/stat.h ===
* invalid macro `stat64'
* invalid macro `lstat64'
* invalid macro `lstat'
* invalid macro `fstat64'
** macro `S_TYPEISMQ' not defined
** macro `S_TYPEISSEM' not defined
** macro `S_TYPEISSHM' not defined
=== sys/times.h ===
=== sys/types.h ===
* invalid macro `gid_t'
* invalid macro `off_t'
* invalid macro `dev_t'
* invalid macro `uid_t'
* invalid macro `nlink_t'
* invalid macro `pid_t'
* invalid macro `ino_t'
* invalid macro `mode_t'
* invalid macro `ssize_t'
=== sys/utsname.h ===
=== sys/wait.h ===
=== termios.h ===
* invalid macro `B500000'
* invalid macro `CSTOPB'
* invalid macro `B2500000'
* invalid macro `ONLCR'
* invalid macro `ONOCR'
* invalid macro `B57600'
* invalid macro `B1500000'
* invalid macro `IMAXBEL'
* invalid macro `B1152000'
* invalid macro `IUCLC'
* invalid macro `B4000000'
* invalid macro `VT0'
* invalid macro `VT1'
* invalid macro `VLNEXT'
* invalid macro `VDISCARD'
* invalid macro `B3000000'
* invalid macro `IXANY'
* invalid macro `B2000000'
* invalid macro `B921600'
* invalid macro `B230400'
* invalid macro `B460800'
* invalid macro `B1000000'
* invalid macro `TCION'
* invalid macro `VREPRINT'
* invalid macro `B115200'
* invalid macro `ONLRET'
* invalid macro `VTDLY'
* invalid macro `B576000'
* invalid macro `OFDEL'
* invalid macro `OCRNL'
* invalid macro `OFILL'
* invalid macro `VSWTC'
* invalid macro `VWERASE'
* invalid macro `OLCUC'
* invalid macro `B3500000'
* invalid macro `VEOL2'
* invalid macro `INLCR'
** macro `CSTOPN' not defined
** macro `INCLR' not defined
=== time.h ===
** macro `CLOCK_REALTIME' not defined
** macro `TIMER_ABSTIME' not defined
=== unistd.h ===
* invalid macro `ssize_t'
=== utime.h ===