Bug ID 1026915
Summary gcc6 avr lto broken
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Development
Assignee bnc-team-screening@forge.provo.novell.com
Reporter msuchanek@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 715457 [details]
test application

$ make
avr-g++ -mmcu=atmega168 -g -O2 -Os -Wall -flto -I../include
-DBOOTCODE_ADDRESS=0x3800 -fno-exceptions -fno-rtti   -c -o application-main.o
application-main.cpp
avr-g++ -mmcu=atmega168 -g -O2 -Os -Wall -flto -I../include
-DBOOTCODE_ADDRESS=0x3800 -fno-exceptions -fno-rtti   -c -o gate.o gate.cpp
avr-g++ -mmcu=atmega168 -g -O2 -Os -Wall -flto -I../include
-DBOOTCODE_ADDRESS=0x3800 -fno-exceptions -fno-rtti   -c -o gate_debounce.o
gate_debounce.cpp
avr-g++ -mmcu=atmega168 -g -O2 -Os -Wall -flto -I../include
-DBOOTCODE_ADDRESS=0x3800 -fno-exceptions -fno-rtti   -c -o memory.o memory.cpp
avr-g++ -g -O2 -Os -Wall -flto -mmcu=atmega168
-Wl,--defsym=_codesize=_exit-__vectors+4 -o application.elf application-main.o
gate.o gate_debounce.o memory.o
/usr/lib64/gcc/avr/6/../../../../avr/bin/ld: warning: -z relro ignored.
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
lto-wrapper: fatal error: avr-g++ returned 1 exit status
compilation terminated.
/usr/lib64/gcc/avr/6/../../../../avr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Makefile:44: recipe for target 'application.elf' failed
make: *** [application.elf] Error 1


You are receiving this mail because: