public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44398] lto1: internal compiler error: Segmentation fault
  2010-06-03 10:44 [Bug lto/44398] New: lto1: internal compiler error: Segmentation fault bero at arklinux dot org
@ 2010-06-03 10:44 ` bero at arklinux dot org
  2010-06-03 11:28 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: bero at arklinux dot org @ 2010-06-03 10:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bero at arklinux dot org  2010-06-03 10:44 -------
Created an attachment (id=20816)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20816&action=view)
ltrace output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44398


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/44398]  New: lto1: internal compiler error: Segmentation fault
@ 2010-06-03 10:44 bero at arklinux dot org
  2010-06-03 10:44 ` [Bug lto/44398] " bero at arklinux dot org
  2010-06-03 11:28 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bero at arklinux dot org @ 2010-06-03 10:44 UTC (permalink / raw)
  To: gcc-bugs

Probably introduced by the fix for bug 44385, given it happens in the same
place and removing -fuse-linker-plugin "fixes" it again: With gcc 4.5.1 rev
160157, linking Qt's moc with -flto -fuse-linker-plugin results in

g++ -Wl,-rpath-link,/usr/src/ark/BUILD/qt/lib -m64 -O2 -fomit-frame-pointer
-fweb -frename-registers
-Wl,-O2,-z,combreloc,-z,relro,--enable-new-dtags,--hash-style=gnu -g -flto
-fuse-linker-plugin -Wl,-rpath,/usr/lib64/qt4-embedded/lib
-Wl,-rpath,/usr/lib64/qt4-embedded/lib -flto -fuse-linker-plugin
-fwhole-program -o ../../../bin/moc release-static/moc.o
release-static/preprocessor.o release-static/generator.o
release-static/parser.o release-static/token.o release-static/main.o   
-L/usr/src/ark/BUILD/qt/src/tools/bootstrap -lbootstrap -lz 
lto1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: ld returned 1 exit status


I couldn't get gdb to produce relevant output for this, so I'm attaching what
ltrace -f has to say just before the crash.


-- 
           Summary: lto1: internal compiler error: Segmentation fault
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44398


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug lto/44398] lto1: internal compiler error: Segmentation fault
  2010-06-03 10:44 [Bug lto/44398] New: lto1: internal compiler error: Segmentation fault bero at arklinux dot org
  2010-06-03 10:44 ` [Bug lto/44398] " bero at arklinux dot org
@ 2010-06-03 11:28 ` rguenth at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-06-03 11:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-06-03 11:28 -------
That isn't very helpful ;)  Can you try to reproduce this with current trunk?
What version of gold are you using?

Can you produce a testcase?  Try doing an incremental link (-r), and strip
libraries and object files as much as possible while the issue still
reproduces.  Then attach preprocessed source of the remaining bits.  You
probably need to remove -fwhole-program for this to work (where the issue
then hopefully still reproduces).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44398


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-03 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-03 10:44 [Bug lto/44398] New: lto1: internal compiler error: Segmentation fault bero at arklinux dot org
2010-06-03 10:44 ` [Bug lto/44398] " bero at arklinux dot org
2010-06-03 11:28 ` rguenth at gcc dot gnu dot org

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).