https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81612
Bug ID: 81612 Summary: lto1: internal compiler error: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: vctrex at mailfence dot com CC: marxin at gcc dot gnu.org Target Milestone: --- With avr-gcc-6.3.0_1 compiling anything with Serial.begin() results an error. Arduino:1.8.3 (Linux) lto1: internal compiler error: Segmentation fault 0x8b64df crash_signal ../../gcc/toplev.c:333 0x7f4f10c34a8f ??? /builddir/glibc-2.25/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x7428b6 maybe_record_node ../../gcc/ipa-devirt.c:2468 0x747245 possible_polymorphic_call_targets(tree_node*, long, ipa_polymorphic_call_context, bool*, void**, bool) ../../gcc/ipa-devirt.c:3186 0x747d0e possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool) ../../gcc/ipa-utils.h:115 0x747d0e ipa_devirt ../../gcc/ipa-devirt.c:3597 0x747d0e execute ../../gcc/ipa-devirt.c:3913 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: fatal error: /usr/bin/avr-gcc returned 1 exit status compilation terminated. /usr/bin/avr-ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status exit status 1