This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/54628] New: Problem using -flto and -static with Gold linker
- From: "rob.ross at ymail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Sep 2012 16:08:04 +0000
- Subject: [Bug lto/54628] New: Problem using -flto and -static with Gold linker
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54628
Bug #: 54628
Summary: Problem using -flto and -static with Gold linker
Classification: Unclassified
Product: gcc
Version: 4.7.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rob.ross@ymail.com
Running "a.out" after "g++ -flto -static a.cpp" with "ld" pointing to "ld.gold"
produces "Aborted" (when file "a" does not exist). Pointing "ld" to "ld.bfd"
or removing any of the flags above produces the expected behavior.
gcc version 4.7.1 (Debian 4.7.1-7)
GNU ld (GNU Binutils for Debian) 2.22
GNU gold (GNU Binutils for Debian 2.22) 1.11