Compile libstdc++ with hash style SYSV

烂漫一生 提交于 2019-12-01 05:46:25

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.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!