|
From: | amonakov at gmail dot com |
Subject: | [Bug gold/23411] Different behavior when linking common symbol statically or to shared object |
Date: | Mon, 16 Jul 2018 11:28:59 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23411 --- Comment #7 from Alexander Monakov <amonakov at gmail dot com> --- BFD's behavior becomes very problematic with LTO: archive index does not distinguish between normal and common definitions, and there's no explicit plugin API to check if a definition in IR is "common", so the linker has to round-trip via the plugin in a fairly convoluted way to emulate the non-LTO behavior :( I think it would be prudent to understand *why* ld.bfd wants to override common definitions by unpacking archive members with strong definitions. I don't expect it's for Fortran - is the real reason stated anywhere? -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |