The system is brand new, i've just installed it yesterday using a fresh stage3 from gentoo dowload page. As such, gcc is 4.8.4. I've synced the portage tree and update "@world". I tried several time to be sure, but it always fail. I don't know if that matters, but the system is a x86, not amd64. Another (maybe) important notice, is that i'm using the the hardened profile, which has the "hardened" USE flag (which was not set in the stage3 I think). The relevant part is : i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/csu/ -Wl,--version-script=/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -nostdlib -nostartfiles -e __libc_main -Wl,-z,now -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/math -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/dlfcn -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nss -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nis -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/rt -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/resolv -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/crypt -L/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nptl -Wl,-rpath-link=/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/math:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/dlfcn:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nss:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nis:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/rt:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/resolv:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/crypt:/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/nptl -o /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc.so -T /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/shlib.lds /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/csu/abi-note.o /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf/soinit.os /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf/sofini.os /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf/interp.os /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/elf/ld.so -lgcc /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: warning: relocation against `_dl_sysinfo' in readonly section `.text.compat'. /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: In function `__GI_kill': (.text+0x13ef1): undefined reference to `_dl_sysinfo' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: In function `__sigaltstack': (.text+0x14461): undefined reference to `_dl_sysinfo' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: In function `__getcontext': (.text+0x25081): undefined reference to `_dl_sysinfo' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: In function `setcontext': (.text+0x250c6): undefined reference to `_dl_sysinfo' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os: In function `swapcontext': (.text+0x251e4): undefined reference to `_dl_sysinfo' /var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc_pic.os:(.text+0x44681): more undefined references to `_dl_sysinfo' follow /usr/lib/gcc/i686-pc-linux-gnu/4.8.4/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. collect2: error: ld returned 1 exit status ../Makerules:601: recipe for target '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc.so' failed make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.20-r2/work/build-x86-i686-pc-linux-gnu-nptl/libc.so] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20/elf' Makefile:214: recipe for target 'elf/subdir_lib' failed make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20' Makefile:9: recipe for target 'all' failed make: *** [all] Error 2 Reproducible: Always
Created attachment 402322 [details] build.log
if you want to use a hardened profile, please use a hardened stage3 to start with