lto1.exe: internal compiler error: in splice_child_die, at dwarf2out.c:4905
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Fix Released
|
Medium
|
Thomas Preud'homme |
Bug Description
trying to migrate from 2014 Mentor/CodeSourcery G++ Lite to 5.4_2016q3 or 6_2017-q1 but both fail with same
lto1.exe: internal compiler error: in splice_child_die, at dwarf2out.c:4905
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
lto-wrapper.exe: fatal error: arm-none-eabi-g++ returned 1 exit status
compilation terminated.
c:/progra~
I was able to isolate the issue to if -g is passed to linker or not: does not fail without -g, fails with -g or g3
compiling on windows 7 64 bit, issue is reproducible 100% of the time.
Changed in gcc-arm-embedded: | |
milestone: | none → 8-2018-q4-major |
milestone: | 8-2018-q4-major → none |
Changed in gcc-arm-embedded: | |
status: | Confirmed → Fix Released |
cs-make all stm32f4ems\ STM32F407xG_ CCM.ld" -Xlinker --gc-sections -Wl,-Map, "rusefi. map" -Wl,-Map, "rusefi. map" -o "rusefi.elf" ./util/ LocalVersionHol der.o ./util/ cli_registry. o ./util/crc.o ./util/ cyclic_ buffer. o ./util/ data_buffer. o ./util/ datalogging. o ./util/efilib.o ./util/efilib2.o ./util/histogram.o ./util/ listener_ array.o ./util/ loggingcentral. o ./util/rfiutil.o ./hw_layer/ stm32f4/ mpu_util. o ./hw_layer/ stm32f4/ stm32f4xx_ hal_flash. o ./hw_layer/ stm32f4/ stm32f4xx_ hal_flash_ ex.o ./hw_layer/ serial_ over_usb/ usbcfg. o ./hw_layer/ serial_ over_usb/ usbconsole. o ./hw_layer/ sensors/ CJ125.o ./hw_layer/ mass_storage/ usb_msd. o ./hw_layer/ mass_storage/ usb_msd_ cfg.o ./hw_layer/ lcd/lcd_ HD44780. o ./hw_layer/ HIP9011. o ./hw_layer/ accelerometer. o ./hw_layer/ adc_inputs. o ./hw_layer/ board_test. o ./hw_layer/can_hw.o ./hw_layer/ digital_ input_hw. o ./hw_layer/flash.o ./hw_layer/ gpio_helper. o ./hw_layer/ hardware. o ./hw_layer/ io_pins. o ./hw_layer/ joystick. o ./hw_layer/ max31855. o ./hw_layer/ mcp3208. o ./hw_layer/ microsecond_ timer.o ./hw_layer/ mmc_card. o ./hw_layer/neo6m.o ./hw_layer/ pin_repository. o ./hw_layer/ pwm_generator. o ./hw_layer/ rtc_helper. o ./hw_layer/servo.o ./hw_layer/ stepper. o ./hw_layer/ trigger_ input.o ./hw_layer/ vehicle_ speed.o ./development/ test/test. o ./development/ test/testbmk. o ./development/ hw_layer/ poten.o ./development/ engine_ emulator. o ./development/ engine_ sniffer. o ./development/ rfi_perftest. o ./development/ sensor_ chart.o ./development/ trigger_ emulator. o ./development/ wave_analyzer. o ./controllers/ trigger/ decoders/ trigger_ bmw.o ./controllers/ trigger/ decoders/ trigger_ chrysler. o ./controllers/ trigger/ decoders/ trigger_ gm.o ./controllers/ trigger/ decoders/ trigger_ honda.o ./controllers/ trigger/ decoders/ trigger_ mazda.o ./controllers/ trigger/ decoders/ trigger_ mitsubishi. o ./controllers/ trigger/ decoders/ trigger_ nissan. o ./controllers/ trigger/ decoders/ trigger_ rover.o ./controllers/ trigger/ decoders/ trigger_ subaru. o ./controllers/ trigger/ decoders/ trigger_ toyota. o ./controllers/ trigger/ decoders/ trigger_ universal. o ./controllers/ trigger/ main_trigger_ callback. o ./controllers/ trigger/ rpm_calculator. o ./controllers/ trigger/ spark_logic. o ./controllers/ trigger/ trigger_ central. o ./controllers/ trigger/ trigger_ decoder. o ./controllers/ trigger/ trigger_ emulator_ algo.o ./controllers/ trigger/ trigger_ simulator. o ./controllers/ trigger/ trigger_ structure. o ./controllers/ system/ SingleTimerExec utor.o ./controllers/ system/ efiGpio. o ./controllers/ system/ event_queue. o ./controllers/ system/ pwm_generator_ logic.o ./controllers/ system/ signal_ executor_ sleep.o ./controllers/ sensors/ allsensors. o ./controllers/ sensors/ ego.o ./controllers/ sensors/ hip9011_ lookup. o ./controllers/ sensors/ maf.o ./controllers/ sensors/ map.o ./controllers/ sensors/ thermistors. o ./controllers/ sensors/ tps.o ./controllers/ sensors/ voltage. o ./controllers/ math/biquad. o ./controllers/ math/engine_ math.o ./controllers/ math/pid. o ./controllers/ math/speed_ density. o ./controllers/ core/EfiWave. o ./cont...
Building target: rusefi.elf
Invoking: Cross ARM C++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -ffunction-sections -fdata-sections -g -T "..\config\