public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41782] lto/gold: -flto -user-linker-plugin dies with internal error in gold
[not found] <bug-41782-4@http.gcc.gnu.org/bugzilla/>
@ 2011-01-08 19:46 ` hubicka at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-08 19:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41782
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |hubicka at gcc dot gnu.org
Resolution| |WORKSFORME
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-08 19:44:30 UTC ---
Works for me
evans:/abuild/jh/trunk-3/build-inst2/gcc/:[0]# /abuild/jh/trunk-install/bin/ld
--version
GNU gold (GNU Binutils; SUSE Linux Enterprise 11 2.20.0.20100122-0.7.9) 1.9
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
evans:/abuild/jh/trunk-3/build-inst2/gcc/:[0]# /abuild/jh/trunk-install/bin/g++
--version
g++ (GCC) 4.6.0 20110108 (experimental)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
So I guess the problem is fixed at 4.6 branch - there was a lot of improvments
for plugin symtabs there.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug lto/41782] New: lto/gold: -flto -user-linker-plugin dies with internal error in gold
@ 2009-10-21 11:21 edwintorok at gmail dot com
2009-10-21 11:22 ` [Bug lto/41782] " edwintorok at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: edwintorok at gmail dot com @ 2009-10-21 11:21 UTC (permalink / raw)
To: gcc-bugs
When trying to compile and link the attached not.i with lto the linker dies
with this error:
/usr/bin/ld: internal error in set_linkonce_size, at ../../gold/layout.h:250
This only occurs if I use -use-linker-plugin, so I think this may be a bug in
gcc's gold plugin, so I'm filing this as a gcc bug (but it may also be a bug
in gold triggered by lto).
To reproduce:
$ /home/edwin/inst/bin/g++ -flto -c not.i -o not.o
$ /home/edwin/inst/bin/g++ -shared -flto -use-linker-plugin not.o
/usr/bin/ld: internal error in set_linkonce_size, at ../../gold/layout.h:250
collect2: ld returned 1 exit status
$ /home/edwin/inst/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/home/edwin/inst/bin/g++
COLLECT_LTO_WRAPPER=/home/edwin/inst/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --enable-lto --enable-languages=c,c++
--enable-gold : (reconfigured) ../gcc/configure --enable-lto
--enable-languages=c,c++ --enable-gold
Thread model: posix
gcc version 4.5.0 20091020 (experimental) (GCC)
$ ld -v
GNU gold (GNU Binutils for Debian 2.20) 1.9
--
Summary: lto/gold: -flto -user-linker-plugin dies with internal
error in gold
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: edwintorok at gmail dot com
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=41782
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-08 19:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-41782-4@http.gcc.gnu.org/bugzilla/>
2011-01-08 19:46 ` [Bug lto/41782] lto/gold: -flto -user-linker-plugin dies with internal error in gold hubicka at gcc dot gnu.org
2009-10-21 11:21 [Bug lto/41782] New: " edwintorok at gmail dot com
2009-10-21 11:22 ` [Bug lto/41782] " edwintorok at gmail dot com
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).