Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62422 - dietlibc fails compile trying to execute genkernel --menuconfig all (while installing gentoo)
Summary: dietlibc fails compile trying to execute genkernel --menuconfig all (while in...
Status: RESOLVED DUPLICATE of bug 60862
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-31 13:30 UTC by Xeion
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full genkernel.log (genkernel.log,421.75 KB, text/plain)
2004-08-31 13:31 UTC, Xeion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xeion 2004-08-31 13:30:08 UTC
I'm trying to compile the kernel with genkernel (after grub keeps rebooting when I tryed a manual kernel compile..).
I have first emerged hardened-dev-sources and then I emerged genkernel and executed "genkernel --menuconfig all" made some adjustmets like architecture exited and it started to compile, both kernel and modules compiled fine but dietlibc fails every time, here is a part of log:

...
genkernl.log 2.6.8-gentoo-r3 bzImage...
Compiling genkernl.log 2.6.8-gentoo-r3 modules...
Compiling genkernl.log Copying config for successful build to /etc/kernels/kernel-config-x86-2.6.8-gentoo-r3
cat: /usr/share/genkernel/pkg/x86/dietlibc-0.24-x86-tempdir: No such file or directory
Compiling genkernl.log dietlibc: Bincache exists, but the current temporary directory
Compiling genkernl.log is different to the original. Rebuilding.
Compiling genkernl.log dietlibc:
...

I have also tried gentoo-dev-sources with same result.

Reproducible: Always
Steps to Reproduce:
1. Follow install guide to install gentoo using stage2 i686 up to "configure the kernel" emergeing system and so on...
2. emerge gentoo-dev-sources for example
3. emerge genkernel
4. execute genkernel --menuconfig all
5. exit and wait for dietlibc to fail compile

Actual Results:  
dietlibc fails compile

Expected Results:  
Successfull kernel install so I can boot my newly installed gentoo.

part of genkernel.log:

* dietlibc: Bincache exists, but the current temporary directory
*           is different to the original. Rebuilding.
* dietlibc: >> Compiling...
COMMAND: make -j2 prefix=/var/tmp/genkernel/diet
mkdir bin-i386
......
i386/pthread_sys_read.o bin-i386/pthread_sys_sigsuspend.o bin-
i386/pthread_sys_sleep.o bin-i386/pthread_sys_tcdrain.o bin-
i386/pthread_sys_waitpid.o bin-i386/pthread_sys_write.o bin-i386/__testandset.o
head: `-1' option is obsolete; use `-n 1' since this will be removed in the 
future
gcc -Iinclude -pipe -nostdinc -Os -fomit-frame-pointer -falign-functions=1 -
falign-jumps=1 -falign-loops=1 -mpreferred-stack-boundary=2 -Wall -W -Wchar-
subscripts -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wredundant-
decls -Wno-unused -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.24\" -DVERSION=\"dietlibc-0.24\" -lgcc
head: `-1' option is obsolete; use `-n 1' since this will be removed in the 
future
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+0x1bd): In function `execvp':
: undefined reference to `__guard'
bin-i386/dietlibc.a(execvp.o)(.text+0x1db): 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: *** [bin-i386/diet] Error 1
* 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!
*
Comment 1 Xeion 2004-08-31 13:31:52 UTC
Created attachment 38607 [details]
full genkernel.log
Comment 2 solar (RETIRED) gentoo-dev 2004-08-31 15:50:30 UTC

*** This bug has been marked as a duplicate of 60862 ***