https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69408

--- Comment #15 from night_ghost at ykoctpa dot ru ---

steps to repeat:

Arduino recent version should be installed

GCC created by the above script should be in PATH and in Arduino's
/usr/share/arduino/hardware/tools/avr


un-tar testcase, cd to it.

in mk/board_avr.mk one should set path to liblto_plugin.so

then

cd ArduCopter
make

after lots of compilation you'll get

%% ArduCopter.elf
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
make: *** [/tmp/ArduCopter.build/ArduCopter.elf] Ошибка 1
make: *** Удаляется файл `/tmp/ArduCopter.build/ArduCopter.elf'


PS. I can't upload testcase because of size limit 1mb. Is there another way to
send it?

Reply via email to