[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem building Optimized glibc-2.2 with gcc-3.1
From: |
David Ronis |
Subject: |
Problem building Optimized glibc-2.2 with gcc-3.1 |
Date: |
Mon, 13 May 2002 12:52:25 -0400 |
Hi Andreas,
Sorry for sending this back to bug-glibc, but I had a mailer problem
last night and lost the older copies of our email. I got the
2-2-branch as you suggested, and configued using gcc version 3.1
20020422 (prerelease) and CFLAGS:
-O3 -falign-functions=3 -falign-jumps=3 -falign-loops=3
-funroll-loops -march=i686 -mpreferred-stack-boundary=3
-fomit-frame-pointer
The build was uneventful, but make check still gives more than the two
test-float and test-ifloat errors you said were expected. In
particular, the one arising from tst-regex is similar to one I had
with my attempt several months ago; when I did a make install, many
programs (e.g., grep) no longer worked. I'm willing to try installing
again, but figured to check with you first.
Here's the log of errors.
David
GCONV_PATH=../iconvdata LC_ALL=C ../elf/ld-linux.so.2 --library-path
..:.:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./test-float > test-float.out
make[1]: *** [test-float.out] Error 1
GCONV_PATH=../iconvdata LC_ALL=C ../elf/ld-linux.so.2 --library-path
..:.:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./test-ifloat > test-ifloat.out
make[1]: *** [test-ifloat.out] Error 1
GCONV_PATH=../iconvdata LC_ALL=C ../elf/ld-linux.so.2 --library-path
..:.:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./test-idouble > test-idouble.out
make[1]: Target `tests' not remade because of errors.
make[1]: Leaving directory `/home/ronis/Project/notar/libc/math'
make: *** [math/tests] Error 2
gcc tst-regex.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-falign-functions=3 -falign-jumps=3 -falign-loops=3 -funroll-loops -march=i686
-mpreferred-stack-boundary=3 -fomit-frame-pointer -I../include -I. -I..
-I../libio -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686
-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/i686/fpu
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include
../include/libc-symbols.h -o tst-regex.o
In file included from ../include/regex.h:2,
from tst-regex.c:36:
../posix/regex.h:535:1: warning: "__restrict_arr" redefined
In file included from ../include/sys/cdefs.h:1,
from ../include/features.h:283,
from ../posix/spawn.h:23,
from ../include/spawn.h:1,
from tst-regex.c:19:
../misc/sys/cdefs.h:212:1: warning: this is the location of the previous
definition
gcc -nostdlib -nostartfiles -o tst-regex
-Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc ../csu/crt1.o
../csu/crti.o `gcc --print-file-name=crtbegin.o` tst-regex.o ../rt/librt.so
-Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o`
../csu/crtn.o
GCONV_PATH=../iconvdata LC_ALL=C LOCPATH=../localedata ../elf/ld-linux.so.2
--library-path
..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
./tst-regex > tst-regex.out
make[1]: *** [tst-regex.out] Error 139
/tmp/cc5ZcXvR.o: In function `get_null_defines':
/tmp/cc5ZcXvR.o(.text+0x1b2): the use of `tmpnam' is dangerous, better use
`mkstemp'
./annexc 'gcc' \
'-I../include -I.. -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686
-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/i686/fpu
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic ' > annexc.out
make[1]: [annexc.out] Error 1 (ignored)
- Problem building Optimized glibc-2.2 with gcc-3.1,
David Ronis <=