I got a weird error that says makeinfo is null during glibc building: MAKEINFO: /dev/null checking for makeinfo... /dev/null checking version of /dev/null... v. ?.??, bad This is a desktop mixed hardened, with some LLVM/Clang. sys-libs/glibc-2.36-r5 works fine. Reproducible: Always
Created attachment 858037 [details] glibc log
Created attachment 858039 [details] portage --info
That's not the actual error. This is: checking linker support for INSERT in linker script... no checking for broken __attribute__((alias()))... yes configure: error: working alias attribute support required * ERROR: sys-libs/glibc-2.36-r7::gentoo failed (configure phase): * failed to configure glibc
OK, my bad. I found what happened: configure:5849: checking for broken __attribute__((alias())) configure:5864: gcc -m32 -mfpmath=sse -mstackrealign -fPIC -D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection=full -O2 -Werror -S conftest.c -o conftest.s 1>&5 <command-line>: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>: note: this is the location of the previous definition cc1: all warnings being treated as errors configure:5867: $? = 1 configure:5877: result: yes configure:5880: error: working alias attribute support required
>CFLAGS="-march=znver3 -O2 -pipe -fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2" You can drop -D_FORTIFY_SOURCE (and -fstack-protector*, -fPIC) from make.conf now, as we do it for clang as well via /etc/clang.
Then I run into #901363 lol. I cannot close this one.
(In reply to Sheng Yu from comment #6) > Then I run into #901363 lol. I cannot close this one. All OK now?