[Bug lto/94138] [gcc10] unresolvable R_X86_64_TPOFF32 relocation against symbol when LTO activated

laurent.stacul at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 11 10:26:04 GMT 2020


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

--- Comment #5 from Laurent Stacul <laurent.stacul at gmail dot com> ---
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


More information about the Gcc-bugs mailing list