public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over a month
@ 2001-12-16 9:56 Andreas Jaeger
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Jaeger @ 2001-12-16 9:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over a month
@ 2001-12-16 9:53 neil
0 siblings, 0 replies; 3+ messages in thread
From: neil @ 2001-12-16 9:53 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, sefer
Synopsis: gcc 3.1 bootstrap on x86 fails for over a month
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Sun Dec 16 09:53:29 2001
State-Changed-Why:
Duplicate of 5131
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5130
^ permalink raw reply [flat|nested] 3+ messages in thread
* preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over a month
@ 2001-12-16 9:06 sefer
0 siblings, 0 replies; 3+ messages in thread
From: sefer @ 2001-12-16 9:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 5130
>Category: preprocessor
>Synopsis: gcc 3.1 bootstrap on x86 fails for over a month
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 16 09:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: sefer@hotmail.com
>Release: gcc-3.1
>Organization:
>Environment:
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/include -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/include -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
make[3]: *** [os_dep.lo] Error 1
make[3]: Leaving directory `/home/zvi/t/abc/i686-pc-linux-gnu/boehm-gc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zvi/t/abc/i686-pc-linux-gnu/boehm-gc'
make[1]: *** [all-target-boehm-gc] Error 2
make[1]: Leaving directory `/home/zvi/t/abc'
make: *** [bootstrap] Error 2
Thanks,
Sefer.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-16 17:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-16 9:56 preprocessor/5130: gcc 3.1 bootstrap on x86 fails for over a month Andreas Jaeger
-- strict thread matches above, loose matches on Subject: below --
2001-12-16 9:53 neil
2001-12-16 9:06 sefer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).