public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
@ 2003-06-25 8:42 ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` [Bug bootstrap/11317] " ralf dot hildebrandt at charite dot de
` (23 more replies)
0 siblings, 24 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-25 8:42 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
Summary: make bootstrap-lean fails with #error Unrecognized value
in TARGET_CPU_DEFAULT
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ralf dot hildebrandt at charite dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
On a SunOS hyperman 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-5_10
with gcc-3.0.3 I try to build 3.3 with the SAME ../configure options:
../configure --enable-shared --enable-version-specific-runtime-libs
--with-gnu-as --with-gnu-ld
followed by make bootstrap-lean results in:
./xgcc -B./ -B/usr/local/sparc-sun-solaris2.8/bin/ -isystem
/usr/local/sparc-sun-solaris2.8/include -isystem
/usr/local/sparc-sun-solaris2.8/sys-include -c -DGCRT1 -o gcrt1.o -x
assembler-with-cpp ../../gcc/config/sparc/sol2-c1.asm
./xgcc -B./ -B/usr/local/sparc-sun-solaris2.8/bin/ -isystem
/usr/local/sparc-sun-solaris2.8/include -isystem
/usr/local/sparc-sun-solaris2.8/sys-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 \
-c ../../gcc/config/sparc/gmon-sol2.c -o gmon.o
In file included from config.h:19,
from ../../gcc/config/sparc/gmon-sol2.c:35:
../../gcc/config/sparc/sparc.h:190:3: #error Unrecognized value in
TARGET_CPU_DEFAULT.
make[2]: *** [gmon.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-3.3/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.3/objdir/gcc'
make: *** [bootstrap-lean] Error 2
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` [Bug bootstrap/11317] " ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` ralf dot hildebrandt at charite dot de
@ 2003-06-25 13:49 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:29 ` ebotcazou at gcc dot gnu dot org
` (20 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-06-25 13:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-06-25 12:43 -------
Could you post the contents of the $(objdir)/gcc/config.h file? Did you set
CONFIG_SHELL as prescribed in the documentation? Do you use GNU make?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` [Bug bootstrap/11317] " ralf dot hildebrandt at charite dot de
@ 2003-06-25 13:49 ` ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` ebotcazou at gcc dot gnu dot org
` (21 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-25 13:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-25 13:00 -------
I did no set CONFIG_SHELL, but I was using bash as a shell.
$(objdir)/gcc/config.h:
#define TARGET_CPU_DEFAULT (TARGET_CPU_sparc)
#include "auto-host.h"
#ifdef IN_GCC
/* Provide three core typedefs used by everything, if we are compiling
GCC. These used to be found in rtl.h and tree.h, but this is no
longer practical. Providing these here rather that system.h allows
the typedefs to be used everywhere within GCC. */
struct rtx_def;
typedef struct rtx_def *rtx;
struct rtvec_def;
typedef struct rtvec_def *rtvec;
union tree_node;
typedef union tree_node *tree;
#endif
#define GTY(x)
#ifdef IN_GCC
# include "ansidecl.h"
# include "sparc/biarch64.h"
# include "sparc/sparc.h"
# include "dbxelf.h"
# include "elfos.h"
# include "svr4.h"
# include "sparc/sysv4.h"
# include "sol2.h"
# include "sparc/sol2.h"
# include "sparc/sol2-gld.h"
# include "sparc/sol2-bi.h"
# include "sparc/sol2-gld-bi.h"
# include "sparc/sol2-gas-bi.h"
# include "defaults.h"
#endif
#ifndef POSIX
# define POSIX
#endif
#ifndef GENERATOR_FILE
# include "insn-constants.h"
# include "insn-flags.h"
#endif
# make -v
GNU Make version 3.79, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to <bug-make@gnu.org>.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
@ 2003-06-25 13:49 ` ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` ralf dot hildebrandt at charite dot de
` (22 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-25 13:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-25 13:11 -------
I had a try with:
% export CONFIG_SHELL=/bin/ksh
% make distclean && ../configure --enable-shared
--enable-version-specific-runtime-libs --with-as=/opt/local/bin/as
--with-gnu-as --with-gnu-ld && make bootstrap-lean
but I still get:
#error Unrecognized value in TARGET_CPU_DEFAULT.
Both with gcc-3.3 and gcc-20030623
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (2 preceding siblings ...)
2003-06-25 13:49 ` ebotcazou at gcc dot gnu dot org
@ 2003-06-26 11:29 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:30 ` ebotcazou at gcc dot gnu dot org
` (19 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-06-26 11:29 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-06-26 11:29 -------
This is pretty weird, since TARGET_CPU_DEFAULT is correctly defined in your
config.h file and the line number pointed to by the error message seems to
indicate that the right config.h file is picked up.
I think that, if the problem were in the header files themselves, it would have
been flagged at the beginning of stage1 by the bootstrap compiler, not at the
end by the stage1 compiler. This leads to the conclusion that the stage1
compiler is miscompiled by the bootstrap compiler.
Can you try to bootstrap with another compiler than GCC 3.0.3?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (3 preceding siblings ...)
2003-06-26 11:29 ` ebotcazou at gcc dot gnu dot org
@ 2003-06-26 11:30 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:57 ` ralf dot hildebrandt at charite dot de
` (18 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-06-26 11:30 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|WAITING |NEW
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (4 preceding siblings ...)
2003-06-26 11:30 ` ebotcazou at gcc dot gnu dot org
@ 2003-06-26 11:57 ` ralf dot hildebrandt at charite dot de
2003-06-26 14:22 ` ebotcazou at gcc dot gnu dot org
` (17 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-26 11:57 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-26 11:57 -------
No, I only have 3.0.3 here.
I could try building gcc without optimization. How?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (5 preceding siblings ...)
2003-06-26 11:57 ` ralf dot hildebrandt at charite dot de
@ 2003-06-26 14:22 ` ebotcazou at gcc dot gnu dot org
2003-06-26 15:43 ` ralf dot hildebrandt at charite dot de
` (16 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-06-26 14:22 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-06-26 14:22 -------
Unfortunately, unless you set CFLAGS when bootstrapping, the bootstrap compiler
is already invoked with no optimization (-g). Nevertheless, GCC performs some
optimizations at -g like constants folding, which are known to have bugs.
I'd suggest to try to bootstrap GCC 3.2.3 as an intermediate stage.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (6 preceding siblings ...)
2003-06-26 14:22 ` ebotcazou at gcc dot gnu dot org
@ 2003-06-26 15:43 ` ralf dot hildebrandt at charite dot de
2003-06-27 7:25 ` ralf dot hildebrandt at charite dot de
` (15 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-26 15:43 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-26 15:43 -------
I'm bootstrapping GCC 3.2.3 as an intermediate stage as we speak. It look MUCH
better so far. Right now it's already using
stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.8/bin/ -DIN_GCC ...
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (7 preceding siblings ...)
2003-06-26 15:43 ` ralf dot hildebrandt at charite dot de
@ 2003-06-27 7:25 ` ralf dot hildebrandt at charite dot de
2003-06-27 14:01 ` ralf dot hildebrandt at charite dot de
` (14 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-27 7:25 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-27 07:25 -------
gcc-3.2.3 has been installed successfully. I had some problems though, but
this time I only built c,c++ to save time. Now on to 3.3!
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (8 preceding siblings ...)
2003-06-27 7:25 ` ralf dot hildebrandt at charite dot de
@ 2003-06-27 14:01 ` ralf dot hildebrandt at charite dot de
2003-06-27 14:20 ` ebotcazou at gcc dot gnu dot org
` (13 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ralf dot hildebrandt at charite dot de @ 2003-06-27 14:01 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
ralf dot hildebrandt at charite dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From ralf dot hildebrandt at charite dot de 2003-06-27 14:01 -------
I was able to build gcc-3.2.3 and bootstrap gcc-3.3 with it.
It seems to work now.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (9 preceding siblings ...)
2003-06-27 14:01 ` ralf dot hildebrandt at charite dot de
@ 2003-06-27 14:20 ` ebotcazou at gcc dot gnu dot org
2003-07-01 16:41 ` pme at gcc dot gnu dot org
` (12 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-06-27 14:20 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-06-27 14:20 -------
Thanks for the quick feedback. This confirm that GCC 3.0.3 is not able to
bootstrap GCC 3.3 on SPARC/Solaris.
I'd suggest to keep GCC 3.2.3 around for a while because I think it is currently
the most stable GCC 3.x release on SPARC/Solaris.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (10 preceding siblings ...)
2003-06-27 14:20 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-01 16:41 ` pme at gcc dot gnu dot org
2003-07-01 17:08 ` ebotcazou at gcc dot gnu dot org
` (11 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pme at gcc dot gnu dot org @ 2003-07-01 16:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From pme at gcc dot gnu dot org 2003-07-01 16:41 -------
I just ran into the same problem, bootstrapping 3.3 using 3.0.2. It also fails
with the same error when 2.95.2 is used to bootstrap.
Comment #6 strikes me as odd; I would not have expected constant folding to touch
the preprocessor.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (11 preceding siblings ...)
2003-07-01 16:41 ` pme at gcc dot gnu dot org
@ 2003-07-01 17:08 ` ebotcazou at gcc dot gnu dot org
2003-07-01 18:32 ` pme at gcc dot gnu dot org
` (10 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-01 17:08 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-07-01 17:08 -------
Why? Is the preprocessor code somewhat special?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (12 preceding siblings ...)
2003-07-01 17:08 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-01 18:32 ` pme at gcc dot gnu dot org
2003-07-01 19:03 ` ebotcazou at gcc dot gnu dot org
` (9 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pme at gcc dot gnu dot org @ 2003-07-01 18:32 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From pme at gcc dot gnu dot org 2003-07-01 18:32 -------
I just installed a precompiled package of 3.3, and used it to bootstrap 3.3
from source. It failed with the same error. This is making less and less
sense to me the more information I gather.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (13 preceding siblings ...)
2003-07-01 18:32 ` pme at gcc dot gnu dot org
@ 2003-07-01 19:03 ` ebotcazou at gcc dot gnu dot org
2003-07-02 15:52 ` pme at gcc dot gnu dot org
` (8 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-01 19:03 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-07-01 19:03 -------
The 3.3 codebase probably triggers a bug deeply rooted in the constant folder
(maybe the one I tried to fix on mainline). It would be nice to extract a
testcase. But GCC 3.2.3 appears to be able to bootstrap GCC 3.3.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (14 preceding siblings ...)
2003-07-01 19:03 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-02 15:52 ` pme at gcc dot gnu dot org
2003-07-02 16:23 ` ebotcazou at gcc dot gnu dot org
` (7 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pme at gcc dot gnu dot org @ 2003-07-02 15:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From pme at gcc dot gnu dot org 2003-07-02 15:52 -------
I finally got a successful bootstrap, after installing an old native Sun
compiler, and configuring with CC=cc. (Now if only "make install" worked.)
No wonder this triplet never gets tested. :-(
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (15 preceding siblings ...)
2003-07-02 15:52 ` pme at gcc dot gnu dot org
@ 2003-07-02 16:23 ` ebotcazou at gcc dot gnu dot org
2003-07-03 7:16 ` ebotcazou at gcc dot gnu dot org
` (6 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-02 16:23 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-07-02 16:23 -------
What's the problem with 'make install'?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (16 preceding siblings ...)
2003-07-02 16:23 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-03 7:16 ` ebotcazou at gcc dot gnu dot org
2003-07-15 22:08 ` neroden at gcc dot gnu dot org
` (5 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-03 7:16 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-07-03 07:16 -------
Are you sure that you properly re-configured? Because GCC 3.3 is able to
bootstrap the current 3.3 branch on the Solaris box I use.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (17 preceding siblings ...)
2003-07-03 7:16 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-15 22:08 ` neroden at gcc dot gnu dot org
2003-07-15 22:34 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-07-15 22:08 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From neroden at gcc dot gnu dot org 2003-07-15 22:08 -------
Solaris bugs seem to be *very* version-specific lately. Eric, are you using solaris 2.*8* specifically? How about you, Phil?
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (18 preceding siblings ...)
2003-07-15 22:08 ` neroden at gcc dot gnu dot org
@ 2003-07-15 22:34 ` ebotcazou at gcc dot gnu dot org
2003-07-15 22:55 ` pme at gcc dot gnu dot org
` (3 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-07-15 22:34 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-07-15 22:34 -------
I use Solaris 2.5.1, 2.6, 7, 8 and 9.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (19 preceding siblings ...)
2003-07-15 22:34 ` ebotcazou at gcc dot gnu dot org
@ 2003-07-15 22:55 ` pme at gcc dot gnu dot org
2004-05-04 12:40 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
23 siblings, 0 replies; 25+ messages in thread
From: pme at gcc dot gnu dot org @ 2003-07-15 22:55 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
------- Additional Comments From pme at gcc dot gnu dot org 2003-07-15 22:55 -------
I have only Solaris 8, with Sun's recommended patches.
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (20 preceding siblings ...)
2003-07-15 22:55 ` pme at gcc dot gnu dot org
@ 2004-05-04 12:40 ` pinskia at gcc dot gnu dot org
2004-05-04 15:58 ` giovannibajo at libero dot it
2004-05-04 17:18 ` ebotcazou at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-04 12:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-04 12:40 -------
*** Bug 15278 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |engel at huji dot ac dot il
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (21 preceding siblings ...)
2004-05-04 12:40 ` pinskia at gcc dot gnu dot org
@ 2004-05-04 15:58 ` giovannibajo at libero dot it
2004-05-04 17:18 ` ebotcazou at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: giovannibajo at libero dot it @ 2004-05-04 15:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-05-04 15:58 -------
Eric, maybe you want to add a note to install.texi about this?
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
^ permalink raw reply [flat|nested] 25+ messages in thread
* [Bug bootstrap/11317] make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
` (22 preceding siblings ...)
2004-05-04 15:58 ` giovannibajo at libero dot it
@ 2004-05-04 17:18 ` ebotcazou at gcc dot gnu dot org
23 siblings, 0 replies; 25+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-05-04 17:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-05-04 17:18 -------
> Eric, maybe you want to add a note to install.texi about this?
Good idea. What about the following wording?
Index: install.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/install.texi,v
retrieving revision 1.278
diff -u -p -r1.278 install.texi
--- install.texi 19 Apr 2004 21:11:47 -0000 1.278
+++ install.texi 4 May 2004 17:14:17 -0000
@@ -3459,6 +3459,13 @@ that supports only 32-bit binaries, one
@option{--disable-multilib}, since we will not be able to build the
64-bit target libraries.
+GCC 3.3 and GCC 3.4 trigger code generation bugs in earlier versions of
+the GNU compiler (especially GCC 3.0.x versions), which leads to the
+miscompilation of the stage1 compiler and the subsequent failure of the
+bootstrap process. A workaround is to use GCC 3.2.3 as an intermediary
+stage, i.e. to bootstrap that compiler with the base compiler and then
+use it to bootstrap the final compiler.
+
GCC 3.4 triggers a code generation bug in versions 5.4 (Sun ONE Studio 7)
and 5.5 (Sun ONE Studio 8) of the Sun compiler, which causes a bootstrap
failure in form of a miscompilation of the stage1 compiler by the Sun
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11317
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2004-05-04 17:18 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25 8:42 [Bug bootstrap/11317] New: make bootstrap-lean fails with #error Unrecognized value in TARGET_CPU_DEFAULT ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` [Bug bootstrap/11317] " ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` ralf dot hildebrandt at charite dot de
2003-06-25 13:49 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:29 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:30 ` ebotcazou at gcc dot gnu dot org
2003-06-26 11:57 ` ralf dot hildebrandt at charite dot de
2003-06-26 14:22 ` ebotcazou at gcc dot gnu dot org
2003-06-26 15:43 ` ralf dot hildebrandt at charite dot de
2003-06-27 7:25 ` ralf dot hildebrandt at charite dot de
2003-06-27 14:01 ` ralf dot hildebrandt at charite dot de
2003-06-27 14:20 ` ebotcazou at gcc dot gnu dot org
2003-07-01 16:41 ` pme at gcc dot gnu dot org
2003-07-01 17:08 ` ebotcazou at gcc dot gnu dot org
2003-07-01 18:32 ` pme at gcc dot gnu dot org
2003-07-01 19:03 ` ebotcazou at gcc dot gnu dot org
2003-07-02 15:52 ` pme at gcc dot gnu dot org
2003-07-02 16:23 ` ebotcazou at gcc dot gnu dot org
2003-07-03 7:16 ` ebotcazou at gcc dot gnu dot org
2003-07-15 22:08 ` neroden at gcc dot gnu dot org
2003-07-15 22:34 ` ebotcazou at gcc dot gnu dot org
2003-07-15 22:55 ` pme at gcc dot gnu dot org
2004-05-04 12:40 ` pinskia at gcc dot gnu dot org
2004-05-04 15:58 ` giovannibajo at libero dot it
2004-05-04 17:18 ` ebotcazou at gcc dot gnu dot org
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).