GCC 4.2 broken on sparc64?

Nathan Whitehorn nathanw at uchicago.edu
Sat May 19 17:44:15 UTC 2007


Building with the new GCC 4.2 on -CURRENT, I get this:
usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libcpp/include 
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcclibs/libdecnumber 
-g -DGENERATOR_FILE -DHAVE_CONFIG_H 
-I/usr/obj/usr/src/tmp/legacy/usr/include -c 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c
In file included from ./tm.h:5,
                  from 
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengtype.c:24:
./options.h:515: error: redeclaration of enumerator `OPT_Werror'
./options.h:362: error: previous definition of 'OPT_Werror' was here
./options.h:534: error: redeclaration of enumerator `OPT_Wsystem_headers'
./options.h:417: error: previous definition of 'OPT_Wsystem_headers' was 
here
./options.h:549: error: redeclaration of enumerator `OPT_d'
./options.h:427: error: previous definition of 'OPT_d' was here
./options.h:820: error: redeclaration of enumerator `OPT_o'
./options.h:682: error: previous definition of 'OPT_o' was here
./options.h:822: error: redeclaration of enumerator `OPT_pedantic'
./options.h:683: error: previous definition of 'OPT_pedantic' was here
./options.h:823: error: redeclaration of enumerator `OPT_pedantic_errors'
./options.h:684: error: previous definition of 'OPT_pedantic_errors' was 
here
*** Error code 1

I can't figure out what generates this file, and am at a loss to fix it.
-Nathan


More information about the freebsd-sparc64 mailing list