www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/08/29/07:04:48

Date: Tue, 29 Aug 2000 13:00:48 +0200
From: Marc Lehmann <pcg AT goof DOT com>
To: pgcc AT delorie DOT com
Cc: mathewt AT lucent DOT com
Subject: Re: Possible bug ?
Message-ID: <20000829130048.D1002@cerebro.laendle>
Mail-Followup-To: pgcc AT delorie DOT com, mathewt AT lucent DOT com
References: <200008282104 DOT RAA01976 AT acrm250 DOT wh DOT lucent DOT com>
Mime-Version: 1.0
In-Reply-To: <200008282104.RAA01976@acrm250.wh.lucent.com>; from mathewt@lucent.com on Mon, Aug 28, 2000 at 05:04:27PM -0400
X-Operating-System: Linux version 2.2.16 (root AT cerebro) (gcc driver version pgcc-2.95.2 19991024 (release) executing gcc version 2.7.2.3)
Reply-To: pgcc AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019