From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA5983858D33; Mon, 23 Jan 2023 18:04:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA5983858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674497089; bh=2YRP3HSOwMtoAJxT3VBWfw80HJ1m95AwFidG06S7eSA=; h=From:To:Subject:Date:From; b=dCtvDVMP7QVrEhLYi/icAkBcoWx2iR8VX3G+FtEFpd8E6NLFzCOlrqmspk4Tq6aXT QPCvmyXJSty4HH09zYACrlSM88wmoGcMha1FjiNjCPKo+ePH0wS9C9jPzQArWPrZc9 Gi6O+Pcqu1ZqSnfH/W3/Im3L5fdytXK+ZbZ3HDW4= From: "srinath.parvathaneni at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error. Date: Mon, 23 Jan 2023 18:04:49 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: srinath.parvathaneni at arm dot com 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108505 Bug ID: 108505 Summary: Arm: arm-none-eabi toolchain build failing with compiler error. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: srinath.parvathaneni at arm dot com Target Milestone: --- The latest arm-none-eabi build for gcc-trunk failing with following error: /bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-chan= ge tmp-constants.h insn-constants.h /bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-chan= ge tmp-enums.cc insn-enums.cc echo timestamp > s-constants echo timestamp > s-enums /bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-chan= ge tmp-options.h options.h echo timestamp > s-options-h build/gengtype \ -S /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc -I gtyp-input.list -w tmp-gtype.state g++ -c -O0 -g3 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-stri= ngs -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc -I/media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/build -I/media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../include=20 -I/media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../libcpp/include \ -o build/gencheck.o /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/gencheck.cc gtyp-input.list:19: file /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/config/arm/arm-mlib.h specified more than once for language (all) g++ -O0 -g3 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-stri= ngs -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -static-libstdc++ -static-libgcc -o build/gencheck \ build/gencheck.o ../build-x86_64-pc-linux-gnu/libiberty/libiberty.a build/gencheck > tmp-check.h /bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-chan= ge tmp-check.h tree-check.h echo timestamp > s-check make[1]: *** [Makefile:2823: s-gtype] Error 1 make[1]: *** Waiting for unfinished jobs.... /bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-chan= ge tmp-mlib.h multilib.h echo timestamp > s-mlib rm gcov.pod gcov-dump.pod gpl.pod cpp.pod gfdl.pod fsf-funding.pod gcc.pod gcov-tool.pod lto-dump.pod make[1]: Leaving directory '/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/obj/gcc1/gcc' make: *** [Makefile:4600: all-gcc] Error 2 make: Leaving directory '/media/sripar01/2tb_work/trunk_gcc_13/build-arm-none-eabi/obj/gcc1' And this build failure is due to following patch: commit 3a0dd2cc28ee2833dc5bf1d4fb6d746a8c55ca4d Author: Srinath Parvathaneni Date: Mon Jan 23 11:04:19 2023 +0000 arm: Add pacbti related multilib support for armv8.1-m.main.=