Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2015 08:15:41 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   lang/gcc: on CURRENT build fails with ./options.h:4301:3: error: redefinition of enumerator 'OPT_d'
Message-ID:  <20151201081541.38f0aaba@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | raw e-mail | index | archive | help
Can not update/build lang/gcc on CURRENT, see error message below.

Tried with and without bootstrap and also delete packages related to lang/gcc
to ensure no disturbing remnants are left over.


[...]

echo timestamp > s-options
/usr/bin/awk -f .././../gcc-4.8.5/gcc/opt-functions.awk
-f .././../gcc-4.8.5/gcc/opt-read.awk \ -f .././../gcc-4.8.5/gcc/opth-gen.awk \
       < optionlist > tmp-options.h
/usr/bin/awk -f .././../gcc-4.8.5/gcc/opt-functions.awk
-f .././../gcc-4.8.5/gcc/opt-read.awk \
-f .././../gcc-4.8.5/gcc/optc-save-gen.awk \ -v header_name="config.h system.h
coretypes.h tm.h" < optionlist > options-save.c /usr/bin/awk
-f .././../gcc-4.8.5/gcc/opt-functions.awk
-f .././../gcc-4.8.5/gcc/opt-read.awk \ -f .././../gcc-4.8.5/gcc/optc-gen.awk \
-v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist >
options.c /bin/sh .././../gcc-4.8.5/gcc/../move-if-change tmp-options.h
options.h echo timestamp > s-options-h build/gengtype  \
                    -S .././../gcc-4.8.5/gcc -I gtyp-input.list -w
tmp-gtype.state c++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I.././../gcc-4.8.5/gcc
-I.././../gcc-4.8.5/gcc/build -I.././../gcc-4.8.5/gcc/../include
-I.././../gcc-4.8.5/gcc/../libcpp/include -DLIBICONV_PLUG \ -o
build/gencheck.o .././../gcc-4.8.5/gcc/gencheck.c c++: warning: treating 'c'
input as 'c++' when in C++ mode, this behavior is deprecated In file included
from .././../gcc-4.8.5/gcc/gencheck.c:23: In file included
from ./tm.h:16: ./options.h:4293:3: error: redefinition of enumerator 'OPT_C'
OPT_C = 129,                               /* -C */ ^ ./options.h:4290:3: note:
previous definition is here OPT_C = 126,                               /* -C */
^ ./options.h:4301:3: error: redefinition of enumerator 'OPT_d' OPT_d =
137,                               /* -d */ ^ ./options.h:4299:3: note:
previous definition is here OPT_d = 135,                               /* -d */
  ^
./options.h:4302:3: error: redefinition of enumerator 'OPT_D'
  OPT_D = 138,                               /* -D */
  ^
./options.h:4300:3: note: previous definition is here
  OPT_D = 136,                               /* -D */
  ^
./options.h:4305:3: error: redefinition of enumerator 'OPT_d'
  OPT_d = 141,                               /* -d */



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