[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 11 10:53:55 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94138
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Laurent Stacul from comment #5)
> I forgot to remove some arguments in the command:
>
> /opt/1A/toolchain/x86_64-v20/bin/g++ \
> -O3 -Wl,-flto -ffat-lto-objects -fuse-linker-plugin \
> CacheLocalityTest.cpp.o -o cache_locality_test -L. libfolly.so -pthread
Ok, so please provide pre-processed source file for CacheLocalityTest.cpp.o.
Just add -E option to command line.
More information about the Gcc-bugs
mailing list