Re: Arduino and Serial.print

2018-01-20 Thread Alessio Ciregia
On Jan 21, 2018 08:31, "Antonio M" wrote: sorry for the noise: I made a mistake because the file to edit is /usr/share/arduino/hardware/arduino/avr/platform.txt. I inserted Yes. As stated in the bug comments the file is /usr/share/arduino/hardware/ arduino/avr/platform.txt Nice to know that no

Re: Arduino and Serial.print

2018-01-20 Thread Antonio M
sorry for the noise: I made a mistake because the file to edit is /usr/share/arduino/hardware/arduino/avr/platform.txt. I inserted -fno-devirtualize as option in this line: compiler.cpp.flags=-c -g -Os {compiler.warning_flags} -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-se

Re: Arduino and Serial.print

2018-01-20 Thread Antonio M
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 f

Re: Arduino and Serial.print

2018-01-20 Thread Antonio M
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++-kin

Re: Arduino and Serial.print

2018-01-20 Thread Alessio Ciregia
2018-01-20 23:33 GMT+01:00 Antonio M : > yes and similar bugs. I have downgraded the board manager to 1.6.19 and > sketck compiles now... BTW, if you read the comments, you can find a "workaround". Ciao A. ___ users mailing list -- users@lists.fedorapro

Re: Arduino and Serial.print

2018-01-20 Thread Antonio M
yes and similar bugs. I have downgraded the board manager to 1.6.19 and sketck compiles now... Antonio Montagnani Linux Fedora 27(Workstation) da/from Gmail 2018-01-20 23:24 GMT+01:00 Alessio Ciregia : > 2018-01-20 20:08 GMT+01:00 Antonio M : > >> If you use the Serial.print instruction, no ske

Re: Arduino and Serial.print

2018-01-20 Thread Alessio Ciregia
2018-01-20 20:08 GMT+01:00 Antonio M : > If you use the Serial.print instruction, no sketch can be compiled so > there is no way to have the serial monior. It seems that the bug is some > month old but no solution under way > Antonio Montagnani > > Linux Fedora 27(Workstation) > Are you referring