-
Notifications
You must be signed in to change notification settings - Fork 52
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
GCC compiler error when trying to compile the example sketch 'PassThru' #18
Comments
This problem only occurs with the avr-gcc 5.4.0-atmel3.6.1-arduino2 used by Arduino AVR Boards 1.6.22 and newer. The relevant bug report is here: An easier, though less desirable, workaround is to roll back Arduino AVR Boards to 1.6.21:
Due to a bug, you can not do this with Arduino IDE 1.8.6 but you can with any other Arduino IDE version. If you have File > Check for updates on startup enabled, the Arduino IDE will periodically prompt you to update Arduino AVR Boards. You must refrain from doing so, otherwise the error will come back. |
So I had a thread about this issue here: https://forum.arduino.cc/index.php?topic=566280.0 internalBegin() causes the issue here `// The usual initialization sequence ` ` // The usual initialization sequence const FlashString b = F("AT&D0\r"); Hope this helps. |
Outstanding analysis @stkeane1. Sorry for the abysmally slow reply. I'll incorporate a variant of this in a forthcoming update. Thanks again. |
Please try new release 2.0.0 and see if this is resolved. Thanks again @stkeane1 |
Arduino: 1.8.6 (Windows 10), TD: 1.44, Board: "Arduino/Genuino Uno"
lto1.exe: internal compiler error: in lto_output_varpool_node, at lto-cgraph.c:624
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:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-gcc returned 1 exit status
compilation terminated.
c:/program files (x86)/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.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: