This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/48005] New: program using libgloss fails to link when built with -flto
- From: "green at moxielogic dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 6 Mar 2011 14:18:57 +0000
- Subject: [Bug lto/48005] New: program using libgloss fails to link when built with -flto
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48005
Summary: program using libgloss fails to link when built with
-flto
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: green@moxielogic.com
All of the -flto tests are failing for the moxie-elf port because the linker
fails to include the libgloss library (libsim.a, in this case). libsim.a is
forced into the link by a linker script we pass to gcc (-Tsim.ld).
It looks like it is probably identical or related to this:
http://sourceware.org/ml/binutils/2011-01/msg00108.html