http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61102

            Bug ID: 61102
           Summary: ld --plugin causes binutils gold incremental_test to
                    fail
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ncahill_alt at yahoo dot com

This is a heads-up more than anything.  I've been trying out gcc 4.9.0 and one
of binutils-2.24/gold's testcases fails because --plugin is being emitted to
ld.

My only guess is that the new slim LTO object files are handled transparently
in the sense that one can link with them without supplying the -flto option,
and perhaps this requires always emitting --plugin.

I haven't tried building gcc's version of gold but I find it more convenient to
build it with binutils.  So there is some incompatibility between the two
packages it seems.

This is the command: i686-pc-linux-gnu-gcc -O2 -o incremental_test
-Wl,--incremental-full incremental_test_1.o incremental_test_2.o

This is gcc 4.9.0 on 32-bit i686.  I've filed a bug report on binutils'
bugzilla as well, the PR id is 16921. 

Thank you.

Reply via email to