[Bug 211742] lang/gcc49: fails to build on 11.0-BETA4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 10 23:48:17 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211742

            Bug ID: 211742
           Summary: lang/gcc49: fails to build on 11.0-BETA4
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gerald at FreeBSD.org
          Reporter: iron at mail.ua
          Assignee: gerald at FreeBSD.org
             Flags: maintainer-feedback?(gerald at FreeBSD.org)

I'm use 11.0-BETA4 r303897M which built from -STABLE. When I try to build gcc49
I get error:

c++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/build
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../include 
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../libcpp/include -DLIBICONV_PLUG \
        -o build/genconstants.o
/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/genconstants.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is
deprecated
c++   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W
-Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
build/genconstants \
    build/genconstants.o build/read-md.o build/errors.o
../build-x86_64-portbld-freebsd11.0/libiberty/libiberty.a
build/genconstants /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/config/i386/i386.md
\
   > tmp-constants.h
/bin/sh /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../move-if-change
tmp-constants.h insn-constants.h
echo timestamp > s-constants
c++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE -I.
-Ibuild -I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/build
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../include 
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../libcpp/include -DLIBICONV_PLUG \
        -o build/genpreds.o /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/genpreds.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is
deprecated
In file included from /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/genpreds.c:26:
In file included from ./tm.h:16:
./options.h:4558:3: error: redefinition of enumerator 'OPT_C'
  OPT_C = 129,                               /* -C */
  ^
./options.h:4555:3: note: previous definition is here
  OPT_C = 126,                               /* -C */
  ^
./options.h:4566:3: error: redefinition of enumerator 'OPT_d'
  OPT_d = 137,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d = 135,                               /* -d */
  ^
./options.h:4567:3: error: redefinition of enumerator 'OPT_D'
  OPT_D = 138,                               /* -D */
  ^
./options.h:4565:3: note: previous definition is here
  OPT_D = 136,                               /* -D */
  ^
./options.h:4570:3: error: redefinition of enumerator 'OPT_d'
  OPT_d = 141,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d = 135,                               /* -d */
  ^
./options.h:4571:3: error: redefinition of enumerator 'OPT_D'
  OPT_D = 142,                               /* -D */
  ^
./options.h:4565:3: note: previous definition is here
  OPT_D = 136,                               /* -D */
  ^
./options.h:4572:3: error: redefinition of enumerator 'OPT_d'
  OPT_d = 143,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d = 135,                               /* -d */
  ^
./options.h:4580:3: error: redefinition of enumerator 'OPT_E'
  OPT_E = 151,                               /* -E */
  ^
./options.h:4578:3: note: previous definition is here
  OPT_E = 149,                               /* -E */
  ^
./options.h:5200:3: error: redefinition of enumerator 'OPT_H'
  OPT_H = 771,                               /* -H */
  ^
./options.h:5198:3: note: previous definition is here
  OPT_H = 769,                               /* -H */
  ^
./options.h:5203:3: error: redefinition of enumerator 'OPT_I'
  OPT_I = 774,                               /* -I */
  ^
./options.h:5201:3: note: previous definition is here
  OPT_I = 772,                               /* -I */
  ^
./options.h:5267:3: error: redefinition of enumerator 'OPT_MF'
  OPT_MF = 838,                              /* -MF */
  ^
./options.h:5265:3: note: previous definition is here
  OPT_MF = 836,                              /* -MF */
  ^
./options.h:5271:3: error: redefinition of enumerator 'OPT_M'
  OPT_M = 842,                               /* -M */
  ^
./options.h:5253:3: note: previous definition is here
  OPT_M = 824,                               /* -M */
  ^
./options.h:5285:3: error: redefinition of enumerator 'OPT_M'
  OPT_M = 856,                               /* -M */
  ^
./options.h:5253:3: note: previous definition is here
  OPT_M = 824,                               /* -M */
  ^
./options.h:5297:3: error: redefinition of enumerator 'OPT_MM'
  OPT_MM = 868,                              /* -MM */
  ^
./options.h:5292:3: note: previous definition is here
  OPT_MM = 863,                              /* -MM */
  ^
./options.h:5313:3: error: redefinition of enumerator 'OPT_MP'
  OPT_MP = 884,                              /* -MP */
  ^
./options.h:5308:3: note: previous definition is here
  OPT_MP = 879,                              /* -MP */
  ^
./options.h:5373:3: error: redefinition of enumerator 'OPT_o'
  OPT_o = 944,                               /* -o */
  ^
./options.h:5370:3: note: previous definition is here
  OPT_o = 941,                               /* -o */
  ^
./options.h:5375:3: error: redefinition of enumerator 'OPT_o'
  OPT_o = 946,                               /* -o */
  ^
./options.h:5370:3: note: previous definition is here
  OPT_o = 941,                               /* -o */
  ^
./options.h:5382:3: error: redefinition of enumerator 'OPT_P'
  OPT_P = 953,                               /* -P */
  ^
./options.h:5378:3: note: previous definition is here
  OPT_P = 949,                               /* -P */
  ^
./options.h:5484:3: error: redefinition of enumerator 'OPT_U'
  OPT_U = 1055,                              /* -U */
  ^
./options.h:5482:3: note: previous definition is here
  OPT_U = 1053,                              /* -U */
  ^
./options.h:5488:3: error: redefinition of enumerator 'OPT_v'
  OPT_v = 1059,                              /* -v */
  ^
./options.h:5486:3: note: previous definition is here
  OPT_v = 1057,                              /* -v */
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[5]: *** [Makefile:2366: build/genpreds.o] Error 1
gmake[5]: Leaving directory '/usr/ports/lang/gcc49/work/.build/gcc'
gmake[4]: *** [Makefile:4219: all-stage1-gcc] Error 2
gmake[4]: Leaving directory '/usr/ports/lang/gcc49/work/.build'
gmake[3]: *** [Makefile:18870: stage1-bubble] Error 2
gmake[3]: Leaving directory '/usr/ports/lang/gcc49/work/.build'
gmake[2]: *** [Makefile:19202: bootstrap-lean] Error 2
gmake[2]: Leaving directory '/usr/ports/lang/gcc49/work/.build'
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list