Fedora-Fr - Communauté francophone Fedora - Linux

Communauté francophone des utilisateurs de la distribution Linux Fedora.

  

Dernière news : Venez essayer Fedora 29 en version finale

#1 12/11/2017 12:48:08

gaia
Membre
Inscription : 01/04/2007
Messages : 294
Site Web

gcc 7.2 pour arduino?

Salut
Je suis embêté avec arduino sous Fedora 26. Quand j'utilise dans mon programme arduino la synthaxe Serial.begin(9600) la compilation ne se fait plus:

Arduino : 1.8.4 (Linux), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

/usr/share/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -built-in-libraries /usr/share/arduino/libraries -libraries /home/gaiac/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10804 -build-path /tmp/arduino_build_30044 -warnings=all -build-cache /tmp/arduino_cache_775525 -prefs=build.warn_data_percentage=75 -verbose /home/gaiac/appli/gaail/louis/avance/avance.ino
/usr/share/arduino/arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -tools /usr/share/arduino/tools-builder -built-in-libraries /usr/share/arduino/libraries -libraries /home/gaiac/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -ide-version=10804 -build-path /tmp/arduino_build_30044 -warnings=all -build-cache /tmp/arduino_cache_775525 -prefs=build.warn_data_percentage=75 -verbose /home/gaiac/appli/gaail/louis/avance/avance.ino
Using board 'mega' from platform in folder: /usr/share/arduino/hardware/arduino/avr
Using core 'arduino' from platform in folder: /usr/share/arduino/hardware/arduino/avr
Detecting libraries used...
"/usr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/tmp/arduino_build_30044/sketch/avance.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/usr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/tmp/arduino_build_30044/sketch/avance.ino.cpp" -o "/tmp/arduino_build_30044/preproc/ctags_target_for_gcc_minus_e.cpp"
"/usr/bin/arduino-ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_30044/preproc/ctags_target_for_gcc_minus_e.cpp"
Compilation du croquis...
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/tmp/arduino_build_30044/sketch/avance.ino.cpp" -o "/tmp/arduino_build_30044/sketch/avance.ino.cpp.o"
Compiling libraries...
Compiling core...
"/usr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.S" -o "/tmp/arduino_build_30044/core/wiring_pulse.S.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/WInterrupts.c" -o "/tmp/arduino_build_30044/core/WInterrupts.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/hooks.c" -o "/tmp/arduino_build_30044/core/hooks.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring.c" -o "/tmp/arduino_build_30044/core/wiring.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_analog.c" -o "/tmp/arduino_build_30044/core/wiring_analog.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_digital.c" -o "/tmp/arduino_build_30044/core/wiring_digital.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.c" -o "/tmp/arduino_build_30044/core/wiring_pulse.c.o"
"/usr/bin/avr-gcc" -c -g -Os -Wall -Wextra -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_shift.c" -o "/tmp/arduino_build_30044/core/wiring_shift.c.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/CDC.cpp" -o "/tmp/arduino_build_30044/core/CDC.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial.cpp" -o "/tmp/arduino_build_30044/core/HardwareSerial.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial0.cpp" -o "/tmp/arduino_build_30044/core/HardwareSerial0.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial1.cpp" -o "/tmp/arduino_build_30044/core/HardwareSerial1.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial2.cpp" -o "/tmp/arduino_build_30044/core/HardwareSerial2.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/HardwareSerial3.cpp" -o "/tmp/arduino_build_30044/core/HardwareSerial3.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/IPAddress.cpp" -o "/tmp/arduino_build_30044/core/IPAddress.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/PluggableUSB.cpp" -o "/tmp/arduino_build_30044/core/PluggableUSB.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/Print.cpp" -o "/tmp/arduino_build_30044/core/Print.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/Stream.cpp" -o "/tmp/arduino_build_30044/core/Stream.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/Tone.cpp" -o "/tmp/arduino_build_30044/core/Tone.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/USBCore.cpp" -o "/tmp/arduino_build_30044/core/USBCore.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/WMath.cpp" -o "/tmp/arduino_build_30044/core/WMath.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/WString.cpp" -o "/tmp/arduino_build_30044/core/WString.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/abi.cpp" -o "/tmp/arduino_build_30044/core/abi.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/main.cpp" -o "/tmp/arduino_build_30044/core/main.cpp.o"
"/usr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10804 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-I/usr/share/arduino/hardware/arduino/avr/cores/arduino" "-I/usr/share/arduino/hardware/arduino/avr/variants/mega" "/usr/share/arduino/hardware/arduino/avr/cores/arduino/new.cpp" -o "/tmp/arduino_build_30044/core/new.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring_pulse.S.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/WInterrupts.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/hooks.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring_analog.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring_digital.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring_pulse.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/wiring_shift.c.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/CDC.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/HardwareSerial.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/HardwareSerial0.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/HardwareSerial1.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/HardwareSerial2.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/HardwareSerial3.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/IPAddress.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/PluggableUSB.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/Print.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/Stream.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/Tone.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/USBCore.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/WMath.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/WString.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/abi.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/main.cpp.o"
"/usr/bin/avr-gcc-ar" rcs  "/tmp/arduino_build_30044/core/core.a" "/tmp/arduino_build_30044/core/new.cpp.o"
Archiving built core (caching) in: /tmp/arduino_cache_775525/core/core_arduino_avr_mega_cpu_atmega2560_1621df717313d057c92202babd71649a.a
Linking everything together...
"/usr/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560  -o "/tmp/arduino_build_30044/avance.ino.elf" "/tmp/arduino_build_30044/sketch/avance.ino.cpp.o" "/tmp/arduino_build_30044/core/core.a" "-L/tmp/arduino_build_30044" -lm
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
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

à prioris soucis avec la bibliothèque avr-gcc

J'ai essayé de la mettre à jour, mais il n'y a pas mieux que la version actuel de proposé. Le Bug est connu:
https://github.com/sudar/Arduino-Makefile/issues/486

Mais je n'arrive pas à comprendre ce qu'il faut faire. Je n'ai même pas compris si une résolution du bug a été trouvée.

J'ai essayé ce qui est prévu pour fedora 22 and later:
https://playground.arduino.cc/Linux/Fedora

J'ai essayé de downgradé gcc à 5.4 pour utiliser une version antérieur de avr-gcc mais trop compliqué, il faudrait aussi que je retrograde binutils... et surement d'autre après.
Sous mageia 6, gcc est resté à la version 5.4 et avr-gcc à la version 4.6 est la compilation se passe bien. Est ce qu'un update Fedora est dans les tuyaux pour résoudre ce soucis?
L'un de vous connait-il une solution?

merci

Dernière modification par gaia (12/11/2017 12:48:59)

Hors ligne

Pied de page des forums