Skip to content

ATMega2560 compilation bug #8544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
OlivierCROISET opened this issue Feb 15, 2019 · 1 comment
Closed

ATMega2560 compilation bug #8544

OlivierCROISET opened this issue Feb 15, 2019 · 1 comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Compilation Related to compilation of Arduino sketches Type: Duplicate Another item already exists for this topic

Comments

@OlivierCROISET
Copy link

See below the error message.
The error message appears as I compile a software using a ATMega2560 and an ISD1700 ( https://github.com/Velleman/KA02/tree/master/ISD1700 ), very often but not always. My software is about 32 ko.

Compiler error message :
. . . . .
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: C:\Users\papa\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/users/papa/appdata/local/arduino15/packages/arduino/tools/avr-gcc/5.4.0-atmel3.6.1-arduino2/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 Mega or Mega 2560.

@per1234 per1234 added Component: Compilation Related to compilation of Arduino sketches Type: Duplicate Another item already exists for this topic Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels Feb 16, 2019
@per1234
Copy link
Collaborator

per1234 commented Feb 16, 2019

Closing as duplicate of #7949

@per1234 per1234 closed this as completed Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Compilation Related to compilation of Arduino sketches Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants