-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issue on Ubuntu 20.04 - 5.8.0-59-generic #236
Comments
You should have no problems with the latest and greatest GCC and GLIBC, since the issue has been fixed quite a while ago. Have you tried updating and upgrading all packages? Also, instead of modifying how GLIBC is built, perhaps you'd better add the compiler flag |
Thanks for the response. I had done apt update and apt upgrade as per the instructions, my Ubuntu 20.04 is right up to date. Since then I have rebooted if that would make any difference. I still get the same error if try to build without using --enable-cet . I am not expert in this but I changed CFLAGS="$CFLAGS" to CFLAGS="-fcf-protection=none" in the above 04_build_glibc.sh as echo $CFLAGS returned an empty string in my terminal, not sure if that is how was supposed to do it, but that resulted in the same build error. |
Take a look at the very end of the .config file. Try to add the flag there, rebuild MLL and let me know if this resolves the issue. |
Sorry for the late response. Added -fcf-protection=none to the last line of .config and with --enable-cet commented out, get the same build error. Feel free to close this if I am the only one hitting this issue, i.e. it is not readily reproducible. |
Having the same issue.
|
I had add --enable-cet to this section in 04_build_glibc.sh to get it to build.
echo "Configuring glibc."
$GLIBC_SRC/configure
--prefix=
--with-headers=$KERNEL_INSTALLED/include
--without-gd
--without-selinux
--disable-werror
--enable-cet
CFLAGS="$CFLAGS"
Otherwise got "undefined reference to `_dl_cet_check'" and follow on errors. Appears to be same issue as was discussed here.
https://stackoverflow.com/questions/58995065/undefined-reference-to-dl-cet-check-while-building-glibc
The text was updated successfully, but these errors were encountered: