public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
@ 2002-03-19 1:07 neil
0 siblings, 0 replies; 4+ messages in thread
From: neil @ 2002-03-19 1:07 UTC (permalink / raw)
To: beebe, gcc-bugs, gcc-prs, nobody
Synopsis: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Tue Mar 19 01:07:54 2002
State-Changed-Why:
Not a bug. You have not followed the bootstrap instructions. The correct command is "make bootstrap".
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5869
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
@ 2002-03-07 9:46 Zack Weinberg
0 siblings, 0 replies; 4+ messages in thread
From: Zack Weinberg @ 2002-03-07 9:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/5869; it has been noted by GNATS.
From: Zack Weinberg <zack@codesourcery.com>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
Date: Thu, 7 Mar 2002 09:37:02 -0800
On Thu, Mar 07, 2002 at 09:54:03AM -0700, Nelson H. F. Beebe wrote:
> >> It should not have attempted to compile f/fini.c at all with the
> >> native compiler. Please mail me (personally) the complete build log.
>
> Here it is (but hostname obscured as XXXXXXXX):
Aha, I see the problem. f/fini is compiled to run during the build,
which means it is compiled with $(HOST_CC); but that should have been
forced equal to $(CC) by configure, since this is a native bootstrap,
and then overridden to use the just-built gcc by the bootstrap logic.
I suspect a Make bug. Can you try again with GNU make, please?
zw
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
@ 2002-03-07 8:56 Zack Weinberg
0 siblings, 0 replies; 4+ messages in thread
From: Zack Weinberg @ 2002-03-07 8:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/5869; it has been noted by GNATS.
From: Zack Weinberg <zack@codesourcery.com>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: gcc-gnats@gcc.gnu.org, sysstaff@math.utah.edu
Subject: Re: bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
Date: Thu, 7 Mar 2002 08:49:13 -0800
It should not have attempted to compile f/fini.c at all with the
native compiler. Please mail me (personally) the complete build log.
zw
^ permalink raw reply [flat|nested] 4+ messages in thread
* bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
@ 2002-03-07 8:06 Nelson H. F. Beebe
0 siblings, 0 replies; 4+ messages in thread
From: Nelson H. F. Beebe @ 2002-03-07 8:06 UTC (permalink / raw)
To: gcc-gnats; +Cc: beebe, sysstaff
>Number: 5869
>Category: bootstrap
>Synopsis: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 07 08:06:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Nelson H. F. Beebe
>Release: 3.1 20020304 (prerelease)
>Organization:
Department of Mathematics, University of Utah
>Environment:
DEC Alpha 4100-5/466 (4 CPUs, 466 MHz, 2GB RAM); OSF/1 4.0F
% uname -a
OSF1 XXXXXX.math.utah.edu V4.0 1229 alpha alpha
host: alphaev56-dec-osf4.0f
build: alphaev56-dec-osf4.0f
target: alphaev56-dec-osf4.0f
configured with: ../gcc-20020304/configure --prefix=/usr/local/test --enable-cpplib --enable-libgcj --enable-shared --enable-version-specific-runtime-libs --with-local-prefix=/usr/local --enable-threads
>Description:
cc -DIN_GCC -g -O2 -L/usr/local/lib -W -Wall -Wwrite-strings \
-Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H \
-DGENERATOR_FILE -I. -If -I../../gcc-20020304/gcc \
-I../../gcc-20020304/gcc/f -I../../gcc-20020304/gcc/config \
-I../../gcc-20020304/gcc/../include -c \
../../gcc-20020304/gcc/f/fini.c -o f/fini.o
cc: Error: Syntax error on -W switch: form is -Wpassname,switch
The options -W -Wall -Wwrite-strings are gcc specific, and they CANNOT
be used with other compilers! When a native compiler is available, I
never bootstrap a gcc build with an older version of gcc: doing so is
less of a validation test than with using an alternate compiler.
>How-To-Repeat:
env CC=cc ../gcc-20020304/configure \
--prefix=/usr/local/test \
--enable-cpplib \
--enable-libgcj \
--enable-shared \
--enable-version-specific-runtime-libs \
--with-local-prefix=/usr/local &&
make bootstrap
>Fix:
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- Center for Scientific Computing FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah Internet e-mail: beebe@math.utah.edu -
- Department of Mathematics, 110 LCB beebe@acm.org beebe@computer.org -
- 155 S 1400 E RM 233 beebe@ieee.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe -
-------------------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-19 9:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-19 1:07 bootstrap/5869: gcc-20020304 bootstrap fails on DEC Alpha OSF/1 4.0 because of gcc-specific compiler flags passed to native compiler neil
-- strict thread matches above, loose matches on Subject: below --
2002-03-07 9:46 Zack Weinberg
2002-03-07 8:56 Zack Weinberg
2002-03-07 8:06 Nelson H. F. Beebe
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).