--- Additional Comments From nickc at redhat dot com 2010-09-06 08:56
---
I have just uploaded a small patch which adds debug information to gold for when
it tries and fails to create an output section. Enabled by running gold with
the --debug script option. I am not sure whether it
This only shows with the gcc lto plugin, but I believe it's a gold issue.
I did some experiments with gcc LTO object files that only contain LTO
information, but no additional normal symbol table and code.
This works fine with normal .o files. The gcc lto plugin reads the LTO
symbol table and
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-06
16:50 ---
Created an attachment (id=4966)
-- (http://sourceware.org/bugzilla/attachment.cgi?id=4966action=view)
test case
Run make. Needs gcc 4.5+ with linker plugin.
--
Hi,
I encountered a bug in the newest version of binutils.
1. I checked out the fresh source code from the cvs repository by
cvs -z 9 -d :pserver:anon...@sourceware.org:/cvs/src co binutils
So the binutils must be the newest version.
2. The installation was configured with
--
What|Removed |Added
AssignedTo|ian at airs dot com |unassigned at sources dot
||redhat dot com
--- Additional Comments From ian at airs dot com 2010-09-07 04:46 ---
An archive is expected to have a symbol map, which the linker uses to determine
which objects to include from the archive. If your objects don't have regular
symbols, then the ar program is not going to be build a
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-07
05:14 ---
I see. I didn't know that. I'll look into fixing ar then. Thanks.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11988
--- You are receiving this mail because: ---
You are on the CC list for
--- Additional Comments From ccoutant at google dot com 2010-09-07 05:22
---
I think Rafael Espindola added plugin support to bfd already, so it should be
possible to use the same
plugin when running ar. See:
http://sourceware.org/ml/binutils/2009-05/msg00199.html
--