Date: Thu, 15 Mar 2018 17:47:55 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226636] devel/arm-none-eabi-gcc fails to build unless LANG=C and LC_ALL=C Message-ID: <bug-226636-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226636 Bug ID: 226636 Summary: devel/arm-none-eabi-gcc fails to build unless LANG=3DC and LC_ALL=3DC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kan@FreeBSD.org Reporter: tech-lists@zyxst.net Assignee: kan@FreeBSD.org Flags: maintainer-feedback?(kan@FreeBSD.org) context: Working Copy Root Path: /usr/ports URL: https://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 464450 $ uname -KU 1101509 1101509 /etc/make.conf contains USE_LOCALE=3Den_GB.UTF-8 devel/arm-none-eabi-gcc fails to build: gmake[2]: Entering directory '/usr/ports/devel/arm-none-eabi-gcc/work/.build/gcc' c++ -c -fbracket-depth=3D512 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/build -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/../include -I/usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/../libcpp/include -DLIBICONV_PLUG \ -o build/genpreds.o /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c:25: /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from /usr/ports/devel/arm-none-eabi-gcc/work/gcc-6.3.0/gcc/genpreds.c:26: In file included from ./tm.h:17: ./options.h:5327:3: error: redefinition of enumerator 'OPT_C' OPT_C =3D 127, /* -C */ ^ ./options.h:5324:3: note: previous definition is here OPT_C =3D 124, /* -C */ ^ ./options.h:5335:3: error: redefinition of enumerator 'OPT_d' OPT_d =3D 135, /* -d */ ^ ./options.h:5333:3: note: previous definition is here OPT_d =3D 133, /* -d */ ^ ./options.h:5336:3: error: redefinition of enumerator 'OPT_D' OPT_D =3D 136, /* -D */ ^ ./options.h:5334:3: note: previous definition is here OPT_D =3D 134, /* -D */ ^ ./options.h:5337:3: error: redefinition of enumerator 'OPT_d' OPT_d =3D 137, /* -d */ ^ ./options.h:5333:3: note: previous definition is here OPT_d =3D 133, /* -d */ ^ ./options.h:5338:3: error: redefinition of enumerator 'OPT_D' OPT_D =3D 138, /* -D */ ^ ./options.h:5334:3: note: previous definition is here OPT_D =3D 134, /* -D */ ^ ./options.h:5339:3: error: redefinition of enumerator 'OPT_d' OPT_d =3D 139, /* -d */ ^ ./options.h:5333:3: note: previous definition is here OPT_d =3D 133, /* -d */ ^ ./options.h:5347:3: error: redefinition of enumerator 'OPT_E' OPT_E =3D 147, /* -E */ ^ ./options.h:5345:3: note: previous definition is here OPT_E =3D 145, /* -E */ ^ ./options.h:6029:3: error: redefinition of enumerator 'OPT_H' OPT_H =3D 829, /* -H */ ^ ./options.h:6027:3: note: previous definition is here OPT_H =3D 827, /* -H */ ^ ./options.h:6032:3: error: redefinition of enumerator 'OPT_I' OPT_I =3D 832, /* -I */ ^ ./options.h:6030:3: note: previous definition is here OPT_I =3D 830, /* -I */ ^ ./options.h:6068:3: error: redefinition of enumerator 'OPT_MF' OPT_MF =3D 868, /* -MF */ ^ ./options.h:6066:3: note: previous definition is here OPT_MF =3D 866, /* -MF */ ^ ./options.h:6071:3: error: redefinition of enumerator 'OPT_M' OPT_M =3D 871, /* -M */ ^ ./options.h:6060:3: note: previous definition is here OPT_M =3D 860, /* -M */ ^ ./options.h:6076:3: error: redefinition of enumerator 'OPT_M' OPT_M =3D 876, /* -M */ ^ ./options.h:6060:3: note: previous definition is here OPT_M =3D 860, /* -M */ ^ ./options.h:6082:3: error: redefinition of enumerator 'OPT_MM' OPT_MM =3D 882, /* -MM */ ^ ./options.h:6079:3: note: previous definition is here OPT_MM =3D 879, /* -MM */ ^ ./options.h:6089:3: error: redefinition of enumerator 'OPT_MP' OPT_MP =3D 889, /* -MP */ ^ ./options.h:6086:3: note: previous definition is here OPT_MP =3D 886, /* -MP */ ^ ./options.h:6102:3: error: redefinition of enumerator 'OPT_MT' OPT_MT =3D 902, /* -MT */ ^ ./options.h:6099:3: note: previous definition is here OPT_MT =3D 899, /* -MT */ ^ ./options.h:6126:3: error: redefinition of enumerator 'OPT_o' OPT_o =3D 926, /* -o */ ^ ./options.h:6123:3: note: previous definition is here OPT_o =3D 923, /* -o */ ^ ./options.h:6128:3: error: redefinition of enumerator 'OPT_o' OPT_o =3D 928, /* -o */ ^ ./options.h:6123:3: note: previous definition is here OPT_o =3D 923, /* -o */ ^ ./options.h:6135:3: error: redefinition of enumerator 'OPT_P' OPT_P =3D 935, /* -P */ ^ ./options.h:6131:3: note: previous definition is here OPT_P =3D 931, /* -P */ ^ ./options.h:6233:3: error: redefinition of enumerator 'OPT_U' OPT_U =3D 1033, /* -U */ ^ ./options.h:6231:3: note: previous definition is here OPT_U =3D 1031, /* -U */ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 1 warning and 20 errors generated. gmake[2]: *** [Makefile:2495: build/genpreds.o] Error 1 gmake[2]: Leaving directory '/usr/ports/devel/arm-none-eabi-gcc/work/.build/gcc' gmake[1]: *** [Makefile:4109: all-gcc] Error 2 gmake[1]: Leaving directory '/usr/ports/devel/arm-none-eabi-gcc/work/.build' *** Error code 1 Stop. make: stopped in /usr/ports/devel/arm-none-eabi-gcc --=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-226636-13>