public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/3293: error in gcc/include/stdio.h parsing??
@ 2002-11-25 5:56 bangerth
0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2002-11-25 5:56 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, s_fuhrm
Synopsis: error in gcc/include/stdio.h parsing??
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Nov 18 16:08:21 2002
State-Changed-Why:
This old bootstrap problem must have been fixed, since I
built the final version just lately.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3293
^ permalink raw reply [flat|nested] 2+ messages in thread
* bootstrap/3293: error in gcc/include/stdio.h parsing??
@ 2001-06-20 8:16 s_fuhrm
0 siblings, 0 replies; 2+ messages in thread
From: s_fuhrm @ 2001-06-20 8:16 UTC (permalink / raw)
To: gcc-gnats
>Number: 3293
>Category: bootstrap
>Synopsis: error in gcc/include/stdio.h parsing??
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 20 08:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Stephan Fuhrmann
>Release: gcc-3.0 ??
>Organization:
>Environment:
Suse Linux 6.4, gcc 2.95.3 (same with 2.95.2),
glibc 2.2.2, binutils 2.9.5 (same with 2.11)
>Description:
Build problem: After a normal configure in a separate
directory and "make bootstrap" gcc 3.0 stops with
./xgcc -B./ -B/opt/gcc3/i586-pc-linux-gnu/bin/ -isystem /opt/gcc3/i586-pc-linux-gnu/include -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include -g0 \
-finhibit-size-directive -fno-inline-functions \
-fno-exceptions -fno-omit-frame-pointer \
-c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
In file included from ../../gcc/tsystem.h:63,
from ../../gcc/crtstuff.c:60:
include/stdio.h:187: parse error before "__attribute_malloc__"
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/fury/tt/gcc-3.0/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/fury/tt/gcc-3.0/objdir/gcc'
Problem are these lines in include file "gcc/include/stdio.h":
extern char *tempnam (__const char *__dir, __const char *__pfx)
__THROW __attribute_malloc__;
if I delete the blank line and write this as one single
line everything works perfectly!!!!
>How-To-Repeat:
configure
make bootstrap ;-))
don't know on which tool this depends
>Fix:
Substitute
extern char *tempnam (__const char *__dir, __const char *__pfx)
__THROW __attribute_malloc__;
with
extern char *tempnam (__const char *__dir, __const char *__pfx) __THROW __attribute_malloc__;
(delete the newline)
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-19 0:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-25 5:56 bootstrap/3293: error in gcc/include/stdio.h parsing?? bangerth
-- strict thread matches above, loose matches on Subject: below --
2001-06-20 8:16 s_fuhrm
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).