This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/16547] New: Tru64 UNIX bootstrap failure: warning compiling mips-tdump.c
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jul 2004 17:57:01 -0000
- Subject: [Bug bootstrap/16547] New: Tru64 UNIX bootstrap failure: warning compiling mips-tdump.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Between 20040618 and 20040709, mainline started to fail bootstrap on Tru64
UNIX (both alpha-dec-osf4.0f and alpha-dec-osf5.1b) due to a warning
compiling mips-tdump.c in stage2:
$ stage1/xgcc -Bstage1/ -B/vol/gcc/share/alpha-dec-osf4.0f/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I/vol/gnu/src/gcc/gcc-dist/gcc -I/vol/gnu/src/gcc/gcc-dist/gcc/. -I/vol/gnu/src/gcc/gcc-dist/gcc/../include -I/vol/gnu/src/gcc/gcc-dist/gcc/../libcpp/include -I/vol/gnu/src/gcc/gcc-dist/gcc/../libbanshee/libcompat -I/vol/gnu/src/gcc/gcc-dist/gcc/../libbanshee -I/vol/gnu/src/gcc/gcc-dist/gcc/../libbanshee/points-to /vol/gnu/src/gcc/gcc-dist/gcc/mips-tdump.c -o mips-tdump.o
/vol/gnu/src/gcc/gcc-dist/gcc/mips-tdump.c: In function `print_symbol':
/vol/gnu/src/gcc/gcc-dist/gcc/mips-tdump.c:371: warning: case label value 64 exceeds maximum value for type
/vol/gnu/src/gcc/gcc-dist/gcc/mips-tdump.c:334: warning: case label value 32 exceeds maximum value for type
make[2]: *** [mips-tdump.o] Error 1
Environment:
System: OSF1 rimsky V4.0 1229 alpha
Machine: alpha
host: alpha-dec-osf4.0f
build: alpha-dec-osf4.0f
target: alpha-dec-osf4.0f
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf4.0f --build alpha-dec-osf4.0f --target alpha-dec-osf4.0f --disable-libmudflap
How-To-Repeat:
Bootstrap mainline as described above.
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-07-14 17:56 -------
Fix:
I can get the bootstrap to finish if I add
mips-tdump.o-warn = -Wno-error
to gcc/Makefile. Testsuite results
(http://gcc.gnu.org/ml/gcc-testresults/2004-07/msg00673.html) look
reasonable compared to those of 20040618.
--
Summary: Tru64 UNIX bootstrap failure: warning compiling mips-
tdump.c
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alpha-dec-osf4.0f
GCC host triplet: alpha-dec-osf4.0f
GCC target triplet: alpha-dec-osf4.0f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16547