From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AD442394C076; Mon, 26 Apr 2021 13:59:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD442394C076 From: "jbglaw@lug-owl.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/100268] New: lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror] Date: Mon, 26 Apr 2021 13:59:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jbglaw@lug-owl.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 13:59:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100268 Bug ID: 100268 Summary: lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror] Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jbglaw@lug-owl.de Target Milestone: --- I'm revamping my testing efforts, building cross compilers based on targets listed in ./contrib/config-list.mk. With .../configure --target=3Dlm32-uclinux --enable-werror-always --enable-languages=3Dall --prefix=3D/tmp/gcc-lm32-uclinux (using g++ (Debian 20210320-1) 11.0.1 20210320 (experimental) [master revision 3279a9a5a9a:6526c452d22:5f256a70a05fcfc5a1caf56678ceb12b4f87f781] as the ho= st's compiler), build breaks (as of ed16241c6db23013d70b792a64f29080ad48a414) wi= th this (cf. http://toolchain.lug-owl.de:8080/jobs/gcc-lm32-uclinux/8): make all-gcc [...] [all 2021-04-26 10:11:40.136777] /usr/lib/gcc-snapshot/bin/g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=3Dformat-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -DGENERATOR_F= ILE -fno-PIE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../inc= lude -I../.././gcc/../libcpp/include \ [all 2021-04-26 10:11:40.136990] -o build/genpreds.o ../.././gcc/genpreds.c [all 2021-04-26 10:11:40.413151] In file included from ./tm.h:29, [all 2021-04-26 10:11:40.413344] from ../.././gcc/genpreds.c:26: [all 2021-04-26 10:11:40.413447] ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror] [all 2021-04-26 10:11:40.413548] 70 | #define LINK_GCC_C_SEQUENCE_SPEC \ [all 2021-04-26 10:11:40.413625] |=20 [all 2021-04-26 10:11:40.413708] In file included from ./tm.h:27, [all 2021-04-26 10:11:40.413779] from ../.././gcc/genpreds.c:26: [all 2021-04-26 10:11:40.413850] ../.././gcc/config/gnu-user.h:117: note: t= his is the location of the previous definition [all 2021-04-26 10:11:40.413922] 117 | #define LINK_GCC_C_SEQUENCE_SPEC GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC [all 2021-04-26 10:11:40.413994] |=20 [all 2021-04-26 10:11:45.105909] cc1plus: all warnings being treated as err= ors [all 2021-04-26 10:11:45.120330] make[1]: *** [Makefile:2815: build/genpred= s.o] Error 1 [all 2021-04-26 10:11:45.120546] make[1]: Leaving directory '/var/lib/laminar/run/gcc-lm32-uclinux/8/gcc/host-x86_64-pc-linux-gnu/gcc' [all 2021-04-26 10:11:45.139714] make: *** [Makefile:4428: all-gcc] Error 2 A simple undef will probably do? Thanks, Jan-Benedict=