Compile libstdc++ with hash style SYSV

后端 未结 1 1005
清酒与你
清酒与你 2021-01-13 10:57

Is there any way to compile GCC\'s libstdc++ with hash style SYSV instead of GNU/Linux? I have a toolchain (via crosstool-ng) that I use to compile our company library to wo

相关标签:
1条回答
  • 2021-01-13 11:21

    Try to rebuild your GCC with --disable-gnu-unique-object configure option. According to documentation on GCC configure options:

    --enable-gnu-unique-object

    --disable-gnu-unique-object

    Tells GCC to use the gnu_unique_object relocation for C++ template static data members and inline function local statics. Enabled by default for a toolchain with an assembler that accepts it and GLIBC 2.11 or above, otherwise disabled.

    Using gnu_unique_object may lead to GNU ABI in your final executable, which is not supported in old Red Hat.

    0 讨论(0)
提交回复
热议问题