On Fri, Dec 30 2022, Miod Vallat <[email protected]> wrote:
>> I'm not sure which way to go: either sprinkle some -fno-common between
>> crunchgen and distrib/special/Makefile.inc, or drop -dc on lld archs
>> only. What would you folks prefer?
>
> I'd rather have the same behaviour for all platforms, but I need to test
> a few more gcc platforms first.
How do your tests fare so far? We still need a way to handle the
removal of -dc in lld 15*.
Theo expressed concern over a possible size increase. My not-so-strong
understanding of the issue at hand tells me that the "ld -dc" -> "-fno-common"
switch shouldn't lead to a huge size increase (or no increase at all).
Do you have numbers on eg hppa, mips64 or sparc64?
* I'm going to keep the ${LINKER_VERSION} workaround in my next
iterations[0], unless we agree to use -fno-common.
[0] https://github.com/jcourreges/openbsd-src/tree/llvm15-6
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE