This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/54628] New: Problem using -flto and -static with Gold linker


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]