Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2016 23:48:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211742] lang/gcc49: fails to build on 11.0-BETA4
Message-ID:  <bug-211742-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211742

            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@FreeBSD.org
          Reporter: iron@mail.ua
          Assignee: gerald@FreeBSD.org
             Flags: maintainer-feedback?(gerald@FreeBSD.org)

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

c++ -c   -g -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tab=
les
-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=20
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../libcpp/include -DLIBICONV_PLU=
G \
        -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/i38=
6.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-tab=
les
-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=20
-I/usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/../libcpp/include -DLIBICONV_PLU=
G \
        -o build/genpreds.o /usr/ports/lang/gcc49/work/gcc-4.9.4/gcc/genpre=
ds.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:2=
6:
In file included from ./tm.h:16:
./options.h:4558:3: error: redefinition of enumerator 'OPT_C'
  OPT_C =3D 129,                               /* -C */
  ^
./options.h:4555:3: note: previous definition is here
  OPT_C =3D 126,                               /* -C */
  ^
./options.h:4566:3: error: redefinition of enumerator 'OPT_d'
  OPT_d =3D 137,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d =3D 135,                               /* -d */
  ^
./options.h:4567:3: error: redefinition of enumerator 'OPT_D'
  OPT_D =3D 138,                               /* -D */
  ^
./options.h:4565:3: note: previous definition is here
  OPT_D =3D 136,                               /* -D */
  ^
./options.h:4570:3: error: redefinition of enumerator 'OPT_d'
  OPT_d =3D 141,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d =3D 135,                               /* -d */
  ^
./options.h:4571:3: error: redefinition of enumerator 'OPT_D'
  OPT_D =3D 142,                               /* -D */
  ^
./options.h:4565:3: note: previous definition is here
  OPT_D =3D 136,                               /* -D */
  ^
./options.h:4572:3: error: redefinition of enumerator 'OPT_d'
  OPT_d =3D 143,                               /* -d */
  ^
./options.h:4564:3: note: previous definition is here
  OPT_d =3D 135,                               /* -d */
  ^
./options.h:4580:3: error: redefinition of enumerator 'OPT_E'
  OPT_E =3D 151,                               /* -E */
  ^
./options.h:4578:3: note: previous definition is here
  OPT_E =3D 149,                               /* -E */
  ^
./options.h:5200:3: error: redefinition of enumerator 'OPT_H'
  OPT_H =3D 771,                               /* -H */
  ^
./options.h:5198:3: note: previous definition is here
  OPT_H =3D 769,                               /* -H */
  ^
./options.h:5203:3: error: redefinition of enumerator 'OPT_I'
  OPT_I =3D 774,                               /* -I */
  ^
./options.h:5201:3: note: previous definition is here
  OPT_I =3D 772,                               /* -I */
  ^
./options.h:5267:3: error: redefinition of enumerator 'OPT_MF'
  OPT_MF =3D 838,                              /* -MF */
  ^
./options.h:5265:3: note: previous definition is here
  OPT_MF =3D 836,                              /* -MF */
  ^
./options.h:5271:3: error: redefinition of enumerator 'OPT_M'
  OPT_M =3D 842,                               /* -M */
  ^
./options.h:5253:3: note: previous definition is here
  OPT_M =3D 824,                               /* -M */
  ^
./options.h:5285:3: error: redefinition of enumerator 'OPT_M'
  OPT_M =3D 856,                               /* -M */
  ^
./options.h:5253:3: note: previous definition is here
  OPT_M =3D 824,                               /* -M */
  ^
./options.h:5297:3: error: redefinition of enumerator 'OPT_MM'
  OPT_MM =3D 868,                              /* -MM */
  ^
./options.h:5292:3: note: previous definition is here
  OPT_MM =3D 863,                              /* -MM */
  ^
./options.h:5313:3: error: redefinition of enumerator 'OPT_MP'
  OPT_MP =3D 884,                              /* -MP */
  ^
./options.h:5308:3: note: previous definition is here
  OPT_MP =3D 879,                              /* -MP */
  ^
./options.h:5373:3: error: redefinition of enumerator 'OPT_o'
  OPT_o =3D 944,                               /* -o */
  ^
./options.h:5370:3: note: previous definition is here
  OPT_o =3D 941,                               /* -o */
  ^
./options.h:5375:3: error: redefinition of enumerator 'OPT_o'
  OPT_o =3D 946,                               /* -o */
  ^
./options.h:5370:3: note: previous definition is here
  OPT_o =3D 941,                               /* -o */
  ^
./options.h:5382:3: error: redefinition of enumerator 'OPT_P'
  OPT_P =3D 953,                               /* -P */
  ^
./options.h:5378:3: note: previous definition is here
  OPT_P =3D 949,                               /* -P */
  ^
./options.h:5484:3: error: redefinition of enumerator 'OPT_U'
  OPT_U =3D 1055,                              /* -U */
  ^
./options.h:5482:3: note: previous definition is here
  OPT_U =3D 1053,                              /* -U */
  ^
./options.h:5488:3: error: redefinition of enumerator 'OPT_v'
  OPT_v =3D 1059,                              /* -v */
  ^
./options.h:5486:3: note: previous definition is here
  OPT_v =3D 1057,                              /* -v */
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
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

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



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