bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/14746] ld: internal error in address, at gold/output.h:72 whil


From: ccoutant at google dot com
Subject: [Bug gold/14746] ld: internal error in address, at gold/output.h:72 while building Linux kvm tool
Date: Mon, 27 Jan 2014 23:03:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=14746

Cary Coutant <ccoutant at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED

--- Comment #6 from Cary Coutant <ccoutant at google dot com> ---
For the repro in commend #1, you need to move the .bss section out of the
DISCARD clause. When you compile with LTO, the compiler adds a COMMON symbol,
__gnu_lto_v1, to the symbol table, which the linker tries to allocate in .bss.
Without that section declared in the script, gold hits an internal error.

The original problem report is probably the same issue.

Of course, this shouldn't be an internal error -- we should provide a
reasonable diagnostic for this case. I'll work on that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]