[Bug] DWARF-5 section names in PE/PEP and weak symbols

Achim Gratz Stromeko@nexgo.de
Sun Feb 13 20:17:38 GMT 2022


Nick Clifton via Binutils writes:
> So you are saying that because the linker script now includes specific
> references to DWARF-5 debug sections, the fputs symbol is being pulled
> in to the link from the cygwin1.dll and hence it is no longer undefined ?
> That seems to be most strange.

Looking further into this I'm beginning to think that the previous
behaviour was a bug that has since been fixed (and that probably has
nothing to do with the DWARF5 sections other than this change for some
reason interacted with the pre-existing bug to trip up a poorly written
autoconf test in gnulib).

In fact it appears that with 2.38 weak symbols are in fact working
correctly for the handful examples that I've come up with.  I'll have to
go back to the original example that produced buggy behaviour (grep-3.7
w/o patched gnulib threadlib.m4) and see if that's now working as well
(it may not, since the libraries have all been produced by earlier ld,
but it seems worth trying).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


More information about the Binutils mailing list