public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/3388: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
@ 2001-12-05 13:11 dj
0 siblings, 0 replies; 3+ messages in thread
From: dj @ 2001-12-05 13:11 UTC (permalink / raw)
To: chastain, gcc-bugs, gcc-gnats, gcc-prs, nobody
Synopsis: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
State-Changed-From-To: open->closed
State-Changed-By: dj
State-Changed-When: Wed Dec 5 13:11:06 2001
State-Changed-Why:
Applied suggested patch
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3388&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bootstrap/3388: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
@ 2001-12-05 13:16 dj
0 siblings, 0 replies; 3+ messages in thread
From: dj @ 2001-12-05 13:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/3388; it has been noted by GNATS.
From: dj@gcc.gnu.org
To: chastain@redhat.com, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:
Subject: Re: bootstrap/3388: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
Date: 5 Dec 2001 21:11:08 -0000
Synopsis: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
State-Changed-From-To: open->closed
State-Changed-By: dj
State-Changed-When: Wed Dec 5 13:11:06 2001
State-Changed-Why:
Applied suggested patch
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3388&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* bootstrap/3388: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
@ 2001-06-22 22:36 chastain
0 siblings, 0 replies; 3+ messages in thread
From: chastain @ 2001-06-22 22:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3388
>Category: bootstrap
>Synopsis: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 22 22:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael Chastain
>Release: 3.0
>Organization:
>Environment:
native sparc-sun-solaris2.5
vendor compiler: SC3.0.1 13 Jul 1994
>Description:
gcc 3.0 fails to bootstrap with vendor compiler.
vendor compiler is /opt/SUNWspro/bin/cc.
"cc -V" says: "cc: SC3.0.1 13 Jul 1994".
I configured with:
/horton/chastain/baseline/gcc-3.0/configure \
--prefix=/horton/chastain/localdisk/makita/baseline/gcc-3.0/native/install \
--disable-shared \
--with-gnu-as --with-as=/horton/chastain/localdisk/makita/baseline/binutils-2.11/native/install/bin/as \
--with-gnu-ld --with-ld=/horton/chastain/localdisk/makita/baseline/binutils-2.11/native/install/bin/ld
I built with "make bootstrap".
The error is:
cc -c -DIN_GCC -DHAVE_CONFIG_H -g -I. -I/horton/chastain/baseline/gcc-3.0/gcc/fixinc -I/horton/chastain/baseline/gcc-3.0/gcc/fixinc/.. -I/horton/chastain/baseline/gcc-3.0/gcc/fixinc/../config -I/horton/chastain/baseline/gcc-3.0/gcc/fixinc/../../include /horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c
"/horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c", line 226: warning: macro replacement within a string literal
"/horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c", line 226: warning: macro replacement within a string literal
"/horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c", line 227: newline in string literal
"/horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c", line 228: syntax error before or at: undef
"/horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c", line 533: cannot recover from previous errors
cc: acomp failed for /horton/chastain/baseline/gcc-3.0/gcc/fixinc/fixincl.c
make[3]: *** [fixincl.o] Error 2
The source code here is:
void
initialize ( argc, argv )
int argc;
char** argv;
{
static const char var_not_found[] =
"fixincl ERROR: %s environment variable not defined\n"
#ifdef __STDC__
"each of these must be defined:\n"
#define _ENV_(v,m,n,t) "\t" n " - " t "\n"
ENV_TABLE
#undef _ENV_
#endif
;
>How-To-Repeat:
bootstrap native sparc-solaris-2.5.1 using vendor compiler SC3.0.1 13 Jul 1994
>Fix:
Change the macro definition so that it doesn't blow up the vendor preprocessor:
#define _ENV_(vv,mm,nn,tt) "\t" nn " - " tt "\n"
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-05 21:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-05 13:11 bootstrap/3388: 3.0 bootstrap failure, native sparc-sun-solaris2.5.1, fixinc/fixincl.c dj
-- strict thread matches above, loose matches on Subject: below --
2001-12-05 13:16 dj
2001-06-22 22:36 chastain
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).