1、undefined reference to `__stack_chk_guard' http://www.linuxquestions.org/questions/linux-from-scratch-13/install-glibc-2-17-error-help-me-4175460557/ GCC doesn't detect stack protection correctly, which causes problems for the build of Glibc-2.18, so fix that by issuing the following command Fixed by this sed in the gcc source before the first pass of gcc: > > sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure 2、ubuntu 确保使用 bash shell 使用如下命令查看使用的SHELL是什么, $readlink -f /bin/sh /bin/bash 如果是dash 而不是 bash 需要将符号链接改为bash $ sudo rm /bin/sh $ sudo ln -s /bin/bash /bin sh 重新编译Glibc
glibc 编译错误
最新推荐文章于 2024-12-14 14:29:45 发布