[Bug c/108505] New: Arm: arm-none-eabi toolchain build failing with compiler error.
srinath.parvathaneni at arm dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 18:04:49 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108505
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-change
tmp-constants.h insn-constants.h
/bin/bash /media/sripar01/2tb_work/trunk_gcc_13/src/gcc/gcc/../move-if-change
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-change
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-strings
-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
-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-strings
-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-change
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-change
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 <srinath.parvathaneni@arm.com>
Date: Mon Jan 23 11:04:19 2023 +0000
arm: Add pacbti related multilib support for armv8.1-m.main.
More information about the Gcc-bugs
mailing list