I edited the platform.txt file and I re-installed 6.20 board manager but I stil get:
Arduino:1.8.4 (Linux), Scheda:"Arduino/Genuino Uno"
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugzilla.redhat.com/> for instructions.
lto-wrapper: fatal error: /usr/bin/avr-gcc returned 1 exit status
compilation terminated.
/usr/lib/gcc/avr/6.3.0/../../../../avr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Uno.
Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugzilla.redhat.com/> for instructions.
lto-wrapper: fatal error: /usr/bin/avr-gcc returned 1 exit status
compilation terminated.
/usr/lib/gcc/avr/6.3.0/../../.
collect2: error: ld returned 1 exit status
exit status 1
Errore durante la compilazione per la scheda Arduino/Genuino Uno.
Questo report potrebbe essere più ricco di informazioni abilitando l'opzione
"Mostra un output dettagliato durante la compilazione"
in "File -> Impostazioni"
========================================================================================
# ctags
# ------------------------------
tools.ctags.path=/usr/bin
tools.ctags.cmd.path={path}/arduino-ctags
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
# additional entries
tools.avrdude.path=/usr/bin
preproc.macros.flags=-w -x c++ -E -CC
compiler.cpp.flags=-fno-devirtualize
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
#recipe.preproc.macros="{compiler.path}{compiler.cpp.cmd}" {compiler.cpreprocessor.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_flags} {includes} "{source_file}" -o "{preprocessed_file_path}"
# ctags
# ------------------------------
tools.ctags.path=/usr/bin
tools.ctags.cmd.path={path}/
tools.ctags.pattern="{cmd.
# additional entries
tools.avrdude.path=/usr/bin
preproc.macros.flags=-w -x c++ -E -CC
compiler.cpp.flags=-fno-
#preproc.macros.compatibility_
#recipe.preproc.macros="{
Antonio Montagnani
Linux Fedora 27(Workstation)
da/from Gmail
Linux Fedora 27(Workstation)
da/from Gmail
2018-01-20 23:52 GMT+01:00 Antonio M <antonio.montagnani@xxxxxxxxx>:
yes, i downgraded to 6.19 board manager and it works. But in my platform.txt I don't see any -flto option. Any idea??
# ctags
# ------------------------------
tools.ctags.path=/usr/bin
tools.ctags.cmd.path={path}/arduino-ctags
tools.ctags.pattern="{cmd.path}" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "{source_file}"
# additional entries
tools.avrdude.path=/usr/bin
preproc.macros.flags=-w -x c++ -E -CC
#preproc.macros.compatibility_flags={build.mbed_api_include} {build.nRF51822_api_include} {build.ble_api_include} {compiler.libsam.c.flags} {compiler.arm.cmsis.path} {build.variant_system_include}
#recipe.preproc.macros="{compiler.path}{compiler.cpp. cmd}" {compiler.cpreprocessor.flags} {compiler.cpp.flags} {preproc.macros.flags} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide. version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.cpp.extra_flags} {build.extra_flags} {preproc.macros.compatibility_ flags} {includes} "{source_file}" -o "{preprocessed_file_path}" Antonio Montagnani
Linux Fedora 27(Workstation)
da/from Gmail2018-01-20 23:46 GMT+01:00 Alessio Ciregia <alciregi@xxxxxxxxx>:2018-01-20 23:33 GMT+01:00 Antonio M <antonio.montagnani@xxxxxxxxx>: BTW, if you read the comments, you can find a "workaround".
> yes and similar bugs. I have downgraded the board manager to 1.6.19 and
> sketck compiles now...
Ciao
A.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@lists.fedoraproject.org
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx