我们一直在尝试在 12.04 64 位上构建 LFS 系统。在 的配置阶段glibc,我收到错误
配置:错误:需要带有 -z relro 支持的链接器
如何启用 RELRO 支持?
/media/lfs/sources/glibc-build$ ../glibc-2.15/configure \
> --prefix=/tools \
> --host=$LFS_TGT \
> --build=$(../glibc-2.15/scripts/config.guess) \
> --disable-profile \
> --enable-add-ons \
> --enable-kernel=2.6.25 \
> --with-headers=/tools/include \
> libc_cv_forced_unwind=yes \
> libc_cv_ctors_header=yes \
> libc_cv_c_cleanup=yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-lfs-linux-gnu
checking for x86_64-lfs-linux-gnu-gcc... x86_64-lfs-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking …Run Code Online (Sandbox Code Playgroud)