genkernel fails at the following point on a fresh bootstrapped system using the gentoo-dev kernel: gcc -isystem include -pipe -nostdinc -Os -fomit-frame-pointer -falign-functions=1 -falign-jumps=1 -f align-loops=1 -mpreferred-stack-boundary=2 -Wall -W -Wchar-subscripts -Wmissing-prototypes -Wmissing -declarations -Wno-switch -Wno-unused -Wredundant-decls -nostdlib -o bin-i386/diet bin-i386/start.o bin-i386/dyn_start.o diet.c bin-i386/dietlibc.a bin-i386/dyn_stop.o -DDIETHOME=\"/var/tmp/genkernel/ dietlibc-0.27\" -DVERSION=\"dietlibc-0.27\" -lgcc bin-i386/dietlibc.a(errno_location.o)(.text+0x11): In function `__errno_location': : undefined reference to `__guard' bin-i386/dietlibc.a(errno_location.o)(.text+0x32): In function `__errno_location': : undefined reference to `__stack_smash_handler' bin-i386/dietlibc.a(execvp.o)(.text+0x17): In function `execvp': : undefined reference to `__guard' bin-i386/dietlibc.a(execvp.o)(.text+0x1c7): In function `execvp': : undefined reference to `__guard' bin-i386/dietlibc.a(execvp.o)(.text+0x1e5): In function `execvp': : undefined reference to `__stack_smash_handler' bin-i386/dietlibc.a(memmove.o)(.text+0x18): In function `memmove': : undefined reference to `__guard' bin-i386/dietlibc.a(memmove.o)(.text+0x7c): In function `memmove': : undefined reference to `__stack_smash_handler' bin-i386/dietlibc.a(strstr.o)(.text+0x20): In function `strstr': : undefined reference to `__guard' bin-i386/dietlibc.a(strstr.o)(.text+0x9e): In function `strstr': : undefined reference to `__stack_smash_handler' bin-i386/dietlibc.a(exec_lib.o)(.text+0x1b): In function `__exec_shell': : undefined reference to `__guard' bin-i386/dietlibc.a(exec_lib.o)(.text+0x74): In function `__exec_shell': : undefined reference to `__guard' bin-i386/dietlibc.a(exec_lib.o)(.text+0x8d): In function `__exec_shell': : undefined reference to `__stack_smash_handler' collect2: ld returned 1 exit status make.conf USE includes: hardened I ran emerge dietlibc flawlessly after the first failure installing v 0.25 Reproducible: Always Steps to Reproduce: 1. run genkernel 2. 3. Actual Results: genkernel fails to complete Expected Results: correct completion on genkernel portage-20041208.tar.bz2 stage1-x86-2004.3.tar.bz2 CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}"
Not a hardened bug
*** This bug has been marked as a duplicate of 73112 ***