Skip to content

Arduino IDE 1.8.9 Compilation Error #8821

@yaronze

Description

@yaronze

Hi,
in IDE version 1.8.8 and 1.8.9 i am getting an unpredictable compilation error while trying to upload sketch to the Arduino Uno board.
I found out that i check the last lines as remark and compile - the error is gone' than i Unchecked the lines and they are back in the code - compile successfully.
The odd error are not consistent.

any suggestions?

the Error log looks like that:

In function 'global constructors keyed to 65535_0_Pulse_Counter_MQTT_Proto_v001.ino.cpp.o':

lto1.exe: internal compiler error: Segmentation fault

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.

lto-wrapper.exe: fatal error: D:\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

d:/arduino/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions