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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils