This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over amonth


The following reply was made to PR preprocessor/5130; it has been noted by GNATS.

From: Andreas Jaeger <aj@suse.de>
To: sefer@hotmail.com
Cc: gcc-gnats@gcc.gnu.org, hans_boehm@hp.com
Subject: Re: preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over a
 month
Date: Sun, 16 Dec 2001 18:53:00 +0100

 sefer@hotmail.com writes:
 
 >>Number:         5130
 >>Category:       preprocessor
 
 [...]
 >>Synopsis:       gcc 3.1 bootstrap on x86 fails for over a month
 > linux x86 (Mandrake 8.1)
 
 
 >>Description:
 > Hi!
 >
 > I've been following the gcc-3.1 cvs head development and for the past month the bootstrapping had failed with the following preprocessor error (past stage2 compilation):
 >
 > /home/zvi/t/abc/gcc/xgcc -B/home/zvi/t/abc/gcc/ -B/opt/gcc-3.1/i686-pc-linux-gnu/bin/ -B/opt/gcc-3.1/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-3.1/i686-pc-linux-gnu/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. -I../../../egcs/boehm-gc -I../../../egcs/boehm-gc/include -fexceptions -I././targ-include -I./../../../egcs/boehm-gc/./libc/includ e -g -O2 -c ../../../egcs/boehm-gc/obj_map.c -o obj_map.o >/dev/null 2>&1
 > /bin/sh ./libtool --mode=compile /home/zvi/t/abc/gcc/xgcc -B/home/zvi/t/abc/gcc/ -B/opt/gcc-3.1/i686-pc-linux-gnu/bin/ -B/opt/gcc-3.1/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-3.1/i686-pc-linux-gnu/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1  -I. -I../../../egcs/boehm-gc  -I../../../egcs/boehm-gc/include   -fexceptions -I././targ-include -I. /../../../egcs/boehm-gc/./libc/include -g -O2 -c ../../../egcs/boehm-gc/os_dep.c
 > /home/zvi/t/abc/gcc/xgcc -B/home/zvi/t/abc/gcc/ -B/opt/gcc-3.1/i686-pc-linux-gnu/bin/ -B/opt/gcc-3.1/i686-pc-linux-gnu/lib/ -isystem /opt/gcc-3.1/i686-pc-linux-gnu/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. -I../../../egcs/boehm-gc -I../../../egcs/boehm-gc/include -fexceptions -I././targ-include -I./../../../egcs/boehm-gc/./libc/includ e -g -O2 -c ../../../egcs/boehm-gc/os_dep.c  -fPIC -DPIC -o .libs/os_dep.o
 > ../../../egcs/boehm-gc/os_dep.c:21:9: string constants are not valid in #if
 > ../../../egcs/boehm-gc/os_dep.c:1854:9: string constants are not valid in #if
 
 This does not fail on other i686 systems.  What is different on your
 system to the rest of the world? 
 
 Line 21 is:
 #   if (LINUX_VERSION_CODE <= 0x10400)
 
 and line 1854:
 #   if (LINUX_VERSION_CODE >= 0x20100) && !defined(M68K) || defined(ALPHA) || defined(IA64)
 
 Please tell us the contents of LINUX_VERSION_CODE for your system.
 
 Hans, this kind of a hack should be replaced with something better.
 
 glibc 2.2 gives you with the inclusion of <signal.h> struct sigcontext
 - even on older kernels.
 
 Andreas
 -- 
  Andreas Jaeger
   SuSE Labs aj@suse.de
    private aj@arthur.inka.de
     http://www.suse.de/~aj


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