public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/67428] New: lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta Date: Tue, 01 Sep 2015 18:59:00 -0000 [thread overview] Message-ID: <bug-67428-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67428 Bug ID: 67428 Summary: lto1: fatal error: test.elf.ltrans0.o: section is missing with -flto -fipa-pta Product: gcc Version: 5.2.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: gjl at gcc dot gnu.org Target Milestone: --- Host: x86-linux-gnu Target: i386 Build: x86-linux-gnu Following error (sources will follow) occurs when compiling == Command Line == $ gcc Bug.c e.c i.c -flto -Os -fipa-pta -o test.elf -save-temps -v $ avr-gcc -mmcu=atmega328p Bug.c e.c i.c -flto -Os -fipa-pta -o test.elf -save-temps -v == Error Message == lto1: fatal error: test.elf.ltrans0.o: section Foo is missing compilation terminated. lto-wrapper: fatal error: /local/gnu/install/gcc-6/bin/avr-gcc returned 1 exit status Foo is declared in module e.c == GCC configures as == Target: i686-pc-linux-gnu Configured with: ../../gcc.gnu.org/gcc-5-branch/configure --prefix=/mnt/nfs/home/georg/gnu/install/gcc-native-5 --disable-nls --enable-checking=release --enable-languages=c,c++,lto Thread model: posix gcc version 5.2.1 20150721 (GCC) Target: avr Configured with: ../../gcc.gnu.org/trunk/configure --target=avr --prefix=/local/gnu/install/gcc-6 --disable-shared --disable-nls --with-dwarf2 --enable-target-optspace=yes --with-gnu-as --with-gnu-ld target_alias=avr --enable-languages=c,c++,lto --no-create --no-recursion Thread model: single gcc version 6.0.0 20150720 (experimental) (GCC) Target: avr Configured with: ../../gcc.gnu.org/gcc-5-branch/configure --target=avr --prefix=/local/gnu/install/gcc-5 --disable-nls --disable-shared --with-dwarf2 --with-gnu-ld --with-gnu-as target_alias=avr --enable-languages=c,c++,lto Thread model: single gcc version 5.2.1 20150816 (GCC)
next reply other threads:[~2015-09-01 18:59 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-09-01 18:59 gjl at gcc dot gnu.org [this message] 2015-09-01 19:01 ` [Bug ipa/67428] " gjl at gcc dot gnu.org 2015-09-01 19:02 ` gjl at gcc dot gnu.org 2015-09-01 19:02 ` gjl at gcc dot gnu.org 2015-09-01 19:07 ` gjl at gcc dot gnu.org 2015-09-01 19:08 ` gjl at gcc dot gnu.org 2015-09-02 9:27 ` rguenth at gcc dot gnu.org 2015-09-02 9:28 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-67428-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).