[Bug gold/11985] GOLD seg-faults if it cannot create needed output sections

2010-09-06 Thread nickc at redhat dot com
--- 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

[Bug gold/11988] New: plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
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

[Bug gold/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
--- 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. --

bug report

2010-09-06 Thread Bin Zeng
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

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread ian at airs dot com
-- What|Removed |Added AssignedTo|ian at airs dot com |unassigned at sources dot ||redhat dot com

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread ian at airs 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

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread andi-bz at firstfloor dot org
--- 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

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-06 Thread ccoutant at google dot com
--- 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 --