【发布时间】:2016-09-30 02:01:40
【问题描述】:
我在 GNU 网页 (http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html) 上读到,使用选项“--without-tls”可以在不支持 TLS 的情况下编译 glibc。所以我做到了,使用以下命令:
../configure --prefix=/home/me/glibc-2.19/build/ --without-tls
然后
make
但鉴于我仍然可以使用 readelf 查看 libc.so.6 对象中的 .tdata 和 .tbss 部分,显然这样的标志并没有达到预期的效果。为什么会这样?是否只是忽略了该选项?
【问题讨论】: