Closed fxcoudert closed 1 year ago
I have read in other reports that this is a gcc-13 regression, can you confirm?
I have read in other reports that this is a gcc-13 regression, can you confirm?
answering ; no it's not a gcc-13 regression - but it is a gcc-12 regression. from a quick look the problem was always there (aarch64 port is trying to use ELF sections on Mach-O because it's overriding what's set in the target header). I guess there was some 11 = > 12 code-gen change that favours use of a relocated literal in this case.
[I think] we just need to make sure to use the mach-o section selector.
so, fixed on trunk - but needs back porting.
Works with clang but not GCC on ARM darwin: