Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 12:18:54 -0500
From:      Nathan Whitehorn <nathanw@uchicago.edu>
To:        freebsd-sparc64@freebsd.org
Subject:   GCC 4.2 broken on sparc64?
Message-ID:  <464F317E.90508@uchicago.edu>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464F317E.90508>