[Bug lto/95928] LTO through ar breaks weak function resolution

andi-gcc at firstfloor dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 27 12:58:50 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95928

--- Comment #8 from Andi Kleen <andi-gcc at firstfloor dot org> ---
It works fine without LTO.

Otherwise the Linux kernel wouldn't work. It relies on this behavior for its
syscalls.

The test case is extracted from there.


More information about the Gcc-bugs mailing list