[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 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25355
--- 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
libtool.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, (continued)
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, nickc at redhat dot com, 2020/01/08
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, nbowler at draconx dot ca, 2020/01/08
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, calvin.walton at kepstin dot ca, 2020/01/08
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, marxin.liska at gmail dot com, 2020/01/09
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, marxin.liska at gmail dot com, 2020/01/09
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, nbowler at draconx dot ca, 2020/01/09
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, nickc at redhat dot com, 2020/01/09
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, nbowler at draconx dot ca, 2020/01/09
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, amodra at gmail dot com, 2020/01/10
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common, marxin.liska at gmail dot com, 2020/01/20
- [Bug binutils/25355] nm reports a variable as "T" with -flto and -fno-common,
nbowler at draconx dot ca <=