public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/43372] New: lto ICE in strip_extension with linker plugin
@ 2010-03-15 0:28 astrange at ithinksw dot com
2010-03-15 11:14 ` [Bug lto/43372] " rguenth at gcc dot gnu dot org
2010-06-03 15:29 ` rguenth at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: astrange at ithinksw dot com @ 2010-03-15 0:28 UTC (permalink / raw)
To: gcc-bugs
Source:
a.c:
int a()
{
return 0;
}
b.c:
extern int a();
int b()
{
a();
}
> gcc -fwhopr -c a.c b.c
> ar r liba.a a.o
> gcc -fwhopr -fuse-linker-plugin -shared -o libb.so b.o liba.a
lto1: internal compiler error: in strip_extension, at lto/lto.c:910
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /usr/local/gcc45/bin/gcc returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: ld returned 1 exit status
It fails trying to strip ".o" from "liba.a". (I added an extra line to print
that, so the ICE line number is off by 1.)
Using gcc 20100314 and gold from Ubuntu binutils-gold 2.20-0ubuntu2.
--
Summary: lto ICE in strip_extension with linker plugin
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: astrange at ithinksw dot com
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43372
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug lto/43372] lto ICE in strip_extension with linker plugin
2010-03-15 0:28 [Bug lto/43372] New: lto ICE in strip_extension with linker plugin astrange at ithinksw dot com
@ 2010-03-15 11:14 ` rguenth at gcc dot gnu dot org
2010-06-03 15:29 ` rguenth at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-15 11:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-03-15 11:14 -------
Confirmed. -fwhopr seems to be broken with respect to ar archive support.
I don't see any reason to strip extensions at all. Which then get's us to
lto1: internal compiler error: compressed stream: data error
Please submit a full bug report,
with preprocessed source if appropriate.
likely again because of lack of archive support somewhere.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |lto
Last reconfirmed|0000-00-00 00:00:00 |2010-03-15 11:14:00
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43372
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug lto/43372] lto ICE in strip_extension with linker plugin
2010-03-15 0:28 [Bug lto/43372] New: lto ICE in strip_extension with linker plugin astrange at ithinksw dot com
2010-03-15 11:14 ` [Bug lto/43372] " rguenth at gcc dot gnu dot org
@ 2010-06-03 15:29 ` 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 15:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-06-03 15:28 -------
Fixed for 4.6.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43372
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-03 15:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 0:28 [Bug lto/43372] New: lto ICE in strip_extension with linker plugin astrange at ithinksw dot com
2010-03-15 11:14 ` [Bug lto/43372] " rguenth at gcc dot gnu dot org
2010-06-03 15:29 ` 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).