lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:158
0x58b14d add_symbol_to_partition_1
../../gcc-5.3.0/gcc/lto/lto-partition.c:157
0x58aeb2 add_symbol_to_partition_1
../../gcc-5.3.0/gcc/lto/lto-partition.c:202
0x58c10c lto_balanced_map(int)
../../gcc-5.3.0/gcc/lto/lto-partition.c:550
0x58640d do_whole_program_analysis
../../gcc-5.3.0/gcc/lto/lto.c:3324
0x58640d lto_main()
../../gcc-5.3.0/gcc/lto/lto.c:3485
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: fatal error: arm-none-eabi-gcc returned 1 exit status
compilation terminated.
/files/work/acr/wip_elibos/elibos_toolchains/gcc-arm/gcc-arm-none-eabi-5.3.0-a/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
../../../os/common/ports/ARMCMx/compilers/GCC/rules.mk:238: recipe for target 'build/ch.elf' failed
make: *** [build/ch.elf] Error 1
lto1: internal compiler error: in add_symbol_ to_partition_ 1, at lto/lto- partition. c:158 to_partition_ 1 gcc-5.3. 0/gcc/lto/ lto-partition. c:157 to_partition_ 1 gcc-5.3. 0/gcc/lto/ lto-partition. c:202 map(int) gcc-5.3. 0/gcc/lto/ lto-partition. c:550 program_ analysis gcc-5.3. 0/gcc/lto/ lto.c:3324 gcc-5.3. 0/gcc/lto/ lto.c:3485 gcc.gnu. org/bugs. html> for instructions. work/acr/ wip_elibos/ elibos_ toolchains/ gcc-arm/ gcc-arm- none-eabi- 5.3.0-a/ bin/../ lib/gcc/ arm-none- eabi/5. 3.0/../ ../../. ./arm-none- eabi/bin/ ld: error: lto-wrapper failed ./os/common/ ports/ARMCMx/ compilers/ GCC/rules. mk:238: recipe for target 'build/ch.elf' failed
0x58b14d add_symbol_
../../
0x58aeb2 add_symbol_
../../
0x58c10c lto_balanced_
../../
0x58640d do_whole_
../../
0x58640d lto_main()
../../
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://
lto-wrapper: fatal error: arm-none-eabi-gcc returned 1 exit status
compilation terminated.
/files/
collect2: error: ld returned 1 exit status
../../.
make: *** [build/ch.elf] Error 1
buildind ChibiOS_ 16.1.3/ demos/STM32/ RT-STM32F401RE- NUCLEO
https:/ /sourceforge. net/projects/ chibios/ files/
./arm-none-eabi-gcc -v GCC=./arm- none-eabi- gcc LTO_WRAPPER= /files/ work/acr/ wip_elibos/ elibos_ toolchains/ gcc-arm/ gcc-arm- none-eabi- 5.3.0-a/ bin/../ libexec/ gcc/arm- none-eabi/ 5.3.0/lto- wrapper 5.3.0/configure --prefix= /opt/arm_ cross --target= arm-none- eabi --enable- languages= c,c++ --disable-multilib --with-newlib
Using built-in specs.
COLLECT_
COLLECT_
Target: arm-none-eabi
Configured with: ../gcc-
Thread model: single
gcc version 5.3.0 (GCC)