[Bug lto/95928] LTO through ar breaks weak function resolution
andi-gcc at firstfloor dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 27 15:09:40 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95928
--- Comment #12 from Andi Kleen <andi-gcc at firstfloor dot org> ---
Okay. I only compared gcc-7 (working) vs gcc-9 (broken), but always with LTO.
Looking at the kernel link it also uses --whole-archive. Perhaps that makes a
difference?
I'll redo the test case with --whole-archive (will need some fixes)
More information about the Gcc-bugs
mailing list