Mail Archives: pgcc/2000/08/29/07:04:48
On Mon, Aug 28, 2000 at 05:04:27PM -0400, Mathew Thomas <mathewt AT lucent DOT com> wrote:
> I was trying to compile glibc-2.1.3 with pgcc-2.95.3 and I was
> getting this error.
Strange, I can compile glibc-2.1.3 just fine. Are you *sure* you used
a verbatim glibc-2.1.3, or did you use some proprietary redhat version
(those often contain non-standard and non-tested extensionsthat cause all
sorts of problems...).
> I am not sure if its a compiler or a glibc problem (or its me).
I'm not sure, either ;) I am inclined to say it's a glibc bug,
since glibc contains a lot of similar problems with it's inlining
includes. Those usually go away when compiling with "-D__NO_STRING_INLINES
-D__NO_MATH_INLINES".
Could you send me the (gzipped) output of the command you sent in,
with -c and -o replaced by -E -o output.i, i.e.:
gcc common/db_appinit.c -O -Wall -Winline -Wstrict-prototypes \
-Wwrite-strings -g -fPIC -I../include -I. \
-I/usr/src/redhat/BUILD/glibc-obj/db2 -I.. -I../libio \
-I/usr/src/redhat/BUILD/glibc-obj -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/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 -I../sysdeps/i386/i486 -I../sysdeps/libm-i387/i686 \
-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 -D_LIBC_REENTRANT \
-include ../include/libc-symbols.h -DPIC -DHAVE_LLSEEK=1 \
-DHAVE_SPINLOCKS=1 -DHAVE_ASSEM_X86_GCC=1 -I./include -include ./compat.h \
-E -o output.i
gzip output.i && send output.i.gz to pcg AT goof DOT com
Thanks ;)
--
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg AT opengroup DOT org |e|
-=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+
The choice of a GNU generation |
|
- Raw text -