[COMMITTED, PATCH] lto: Compile PR ld/23818 test with -fPIC
H.J. Lu
hjl.tools@gmail.com
Sun Nov 30 08:10:15 GMT 2025
Compile PR ld/23818 test with -fPIC to fix
testsuite/ld-plugin/pr23818b.c:6:(.text+0x34): relocation R_MIPS_26
against `a local symbol' cannot be used when making a shared object;
recompile with -fPIC
FAIL: Build libpr23818.so
for mips.
PR ld/23818
* testsuite/ld-plugin/lto.exp: Compile PR ld/23818 test with
-fPIC.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lto-Compile-PR-ld-23818-test-with-fPIC.patch
Type: text/x-patch
Size: 1279 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20251130/f44d6358/attachment-0001.bin>
More information about the Binutils
mailing list