[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-co

From: nbowler at draconx dot ca
Subject: [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common
Date: Mon, 20 Jan 2020 18:47:21 +0000


--- Comment #10 from Nick Bowler <nbowler at draconx dot ca> ---
(In reply to Martin Liška from comment #9)
> > Amusingly, "nm" is also busted on objects using this trick with -flto,
> > showing a_____ as an undefined symbol which is not the case.  But that
> > shouldn't cause any issue for libtool's uses of nm.
> Hello Nick.
> Have you made a progress about the upstreaming of the workaround?

I did actually implement this trick but unfortunately it turns
out that symbol references in asm cause breakage w/ GCC's LTO when
linking against static libraries.  So this is not a workaround that
can be used in libtool, sadly.

I hope to investigate other options to work around this issue in

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]