public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44385]  New: ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed.
@ 2010-06-02 15:14 bero at arklinux dot org
  2010-06-02 15:24 ` [Bug lto/44385] " rguenth at gcc dot gnu dot org
  2010-06-02 15:24 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bero at arklinux dot org @ 2010-06-02 15:14 UTC (permalink / raw)
  To: gcc-bugs

Trying to build Qt with -flto and -fuse-linker-plugin, using -fwhole-program
for the helper apps 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 -fwhole-program
-fuse-linker-plugin -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 
collect2: ld terminated with signal 6 [Aborted]
ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms'
failed.

Removing -fuse-linker-plugin "solves" the problem.
gcc 4.5.0, gold from binutils 2.20.51.0.9


-- 
           Summary: ld: ../../lto-plugin/lto-plugin.c:325: write_resolution:
                    Assertion `syms' failed.
           Product: gcc
           Version: 4.5.0
            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=44385


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

* [Bug lto/44385] ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed.
  2010-06-02 15:14 [Bug lto/44385] New: ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed bero at arklinux dot org
  2010-06-02 15:24 ` [Bug lto/44385] " rguenth at gcc dot gnu dot org
@ 2010-06-02 15:24 ` 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-02 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-06-02 15:23 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to fail|                            |4.5.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.1


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


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

* [Bug lto/44385] ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed.
  2010-06-02 15:14 [Bug lto/44385] New: ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed bero at arklinux dot org
@ 2010-06-02 15:24 ` rguenth at gcc dot gnu dot org
  2010-06-02 15:24 ` 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-02 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-06-02 15:23 -------
Subject: Bug 44385

Author: rguenth
Date: Wed Jun  2 15:23:34 2010
New Revision: 160157

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160157
Log:
2010-06-02  Richard Guenther  <rguenther@suse.de>

        PR lto/44385
        Backport from mainline
        2010-05-21  Richard Guenther  <rguenther@suse.de>

        * lto-plugin.c (write_resolution): Do not assert syms is non-NULL.

Modified:
    branches/gcc-4_5-branch/lto-plugin/ChangeLog
    branches/gcc-4_5-branch/lto-plugin/lto-plugin.c


-- 


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


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

end of thread, other threads:[~2010-06-02 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-02 15:14 [Bug lto/44385] New: ld: ../../lto-plugin/lto-plugin.c:325: write_resolution: Assertion `syms' failed bero at arklinux dot org
2010-06-02 15:24 ` [Bug lto/44385] " rguenth at gcc dot gnu dot org
2010-06-02 15:24 ` 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).