[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/16921] New: incremental link test failure with gcc 4.9.0
From: |
ncahill_alt at yahoo dot com |
Subject: |
[Bug gold/16921] New: incremental link test failure with gcc 4.9.0 |
Date: |
Wed, 07 May 2014 19:37:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=16921
Bug ID: 16921
Summary: incremental link test failure with gcc 4.9.0
Product: binutils
Version: 2.24
Status: NEW
Severity: normal
Priority: P2
Component: gold
Assignee: ian at airs dot com
Reporter: ncahill_alt at yahoo dot com
CC: ccoutant at google dot com
GCC 4.9.0 has trouble with binutils-2.24/gold's incremental-test.sh, it fails
with this message:
gcctestdir/ld: fatal error: incremental linking is not compatible with --plugin
A possible explanation is that gcc now supports so-called slim object files
when building LTO, but it seems that these new object files are handled
transparently, one can link to them without supplying the -flto option. My
only guess is that this is being achieved by always emitting --plugin.
This is the command to gcc, reduced significantly:
i686-pc-linux-gnu-gcc -O2 -o incremental_test -Wl,--incremental-full
incremental_test_1.o incremental_test_2.o
This is using gcc 4.9.0 on 32-bit i686 and building binutils-2.24.
I'll file a bug report on gcc's bugzilla too and reply here with the PR id.
Thank you.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/16921] New: incremental link test failure with gcc 4.9.0,
ncahill_alt at yahoo dot com <=