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

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