[Bug lto/54628] New: Problem using -flto and -static with Gold linker
rob.ross at ymail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 19 16:08:00 GMT 2012
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
More information about the Gcc-bugs
mailing list