and impossible to use udev + initrd on amd64 .. :( Reproducible: Always Steps to Reproduce: 1. 2. 3.
please include compilation error and output of emerge info.
I will do it at my home amd64 and post full debug later, and initrd/udev problems too
I also get this error. Here is the last line to be compiled. I'm using the gentoo-dev-sources (Linux Kernel 2.6.9-gentoo-r14 [for x86_64]) and 'genkernel --udev all'. gcc -isystem include -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387 -Wall -W -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused -Wredundant-decls -nostdlib -o bin-x86_64/diet bin-x86_64/start.o bin-x86_64/dyn_start.o diet.c bin-x86_64/dietlibc.a bin-x86_64/dyn_stop.o -DDIETHOME=\"/var/tmp/genkernel/dietlibc-0.27\" -DVERSION=\"dietlibc-0.27\" -lgcc bin-x86_64/dietlibc.a(errno_location.o)(.text+0x9): In function `__errno_location': : undefined reference to `__guard' bin-x86_64/dietlibc.a(errno_location.o)(.text+0x30): In function `__errno_location': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(execvp.o)(.text+0x24): In function `execvp': : undefined reference to `__guard' bin-x86_64/dietlibc.a(execvp.o)(.text+0x1d0): In function `execvp': : undefined reference to `__guard' bin-x86_64/dietlibc.a(execvp.o)(.text+0x1e9): In function `execvp': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(getenv.o)(.text+0x17): In function `getenv': : undefined reference to `__guard' bin-x86_64/dietlibc.a(getenv.o)(.text+0xc0): In function `getenv': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(memcmp.o)(.text+0xf): In function `memcmp': : undefined reference to `__guard' bin-x86_64/dietlibc.a(memcmp.o)(.text+0x4a): In function `memcmp': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(memmove.o)(.text+0xf): In function `memmove': : undefined reference to `__guard' bin-x86_64/dietlibc.a(memmove.o)(.text+0x76): In function `memmove': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(strcat.o)(.text+0x11): In function `strcat': : undefined reference to `__guard' bin-x86_64/dietlibc.a(strcat.o)(.text+0x51): In function `strcat': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(strchr.o)(.text+0xb): In function `strchr': : undefined reference to `__guard' bin-x86_64/dietlibc.a(strchr.o)(.text+0x3e): In function `strchr': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(strcmp.o)(.text+0x9): In function `strcmp': : undefined reference to `__guard' bin-x86_64/dietlibc.a(strcmp.o)(.text+0x44): In function `strcmp': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(strcpy.o)(.text+0xc): In function `strcpy': : undefined reference to `__guard' bin-x86_64/dietlibc.a(strcpy.o)(.text+0x3e): In function `strcpy': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(strstr.o)(.text+0x27): In function `strstr': : undefined reference to `__guard' bin-x86_64/dietlibc.a(strstr.o)(.text+0xa7): In function `strstr': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(write12.o)(.text+0x14): In function `__write1': : undefined reference to `__guard' bin-x86_64/dietlibc.a(write12.o)(.text+0x49): In function `__write1': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(write12.o)(.text+0x68): In function `__write2': : undefined reference to `__guard' bin-x86_64/dietlibc.a(write12.o)(.text+0x9d): In function `__write2': : undefined reference to `__stack_smash_handler' bin-x86_64/dietlibc.a(exec_lib.o)(.text+0x11): In function `__exec_shell': : undefined reference to `__guard' bin-x86_64/dietlibc.a(exec_lib.o)(.text+0x90): In function `__exec_shell': : undefined reference to `__guard' bin-x86_64/dietlibc.a(exec_lib.o)(.text+0xac): In function `__exec_shell': : undefined reference to `__stack_smash_handler' collect2: ld returned 1 exit status make: *** [bin-x86_64/diet] Error 1 * Gentoo Linux Genkernel; Version 3.1.0c[0m * ERROR: Failed to compile the "prefix=/var/tmp/genkernel/diet" target... * -- Grepping log... -- * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! *
Created attachment 48267 [details] Genkernel log file
It does not seem to matter if you are trying to compile with --udev or not.
Created attachment 48269 [details] genkernel log file without --udev option
The kernel compiles fine if you do not use genkernel.
please open one bugzilla bug per bug, this is horribly messy. @Joe Womack and Alexey Maximov: please provide `emerge info`. Alexey, where is the connection between the summary and genkernel and udev? According to the genkernel logfile, it looks like you were using -Os in CFLAGS, which is not supported. Please reopen if you tried it with sane CFLAGS