Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel Version 3.0.2f problems compiling latest kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Tue Sep 14, 2004 5:00 pm    Post subject: Genkernel Version 3.0.2f problems compiling latest kernel Reply with quote

I am having serious problems compiling gentoo-dev-sources 2.6.8r3 or r4 with genkernel. The problem is the udev compile fails. I do not use udev and for some reason it is being compiled after the modules. Here is the last page of the log result:

Code:
syscalls/swapoff.o(.text+0x55): In function `swapoff':
: undefined reference to `__stack_smash_handler'
syscalls/swapon.o(.text+0x17): In function `swapon':
: undefined reference to `__guard'
syscalls/swapon.o(.text+0x58): In function `swapon':
: undefined reference to `__stack_smash_handler'
syscalls/symlink.o(.text+0x17): In function `symlink':
: undefined reference to `__guard'
syscalls/symlink.o(.text+0x58): In function `symlink':
: undefined reference to `__stack_smash_handler'
syscalls/sync.o(.text+0x15): In function `sync':
: undefined reference to `__guard'
syscalls/sync.o(.text+0x4c): In function `sync':
: undefined reference to `__stack_smash_handler'
syscalls/sysinfo.o(.text+0x16): In function `sysinfo':
: undefined reference to `__guard'
syscalls/sysinfo.o(.text+0x55): In function `sysinfo':
: undefined reference to `__stack_smash_handler'
syscalls/times.o(.text+0x16): In function `times':
: undefined reference to `__guard'
syscalls/times.o(.text+0x55): In function `times':
: undefined reference to `__stack_smash_handler'
syscalls/umask.o(.text+0x16): In function `umask':
: undefined reference to `__guard'
syscalls/umask.o(.text+0x57): In function `umask':
: undefined reference to `__stack_smash_handler'
syscalls/umount2.o(.text+0x17): In function `umount2':
: undefined reference to `__guard'
syscalls/umount2.o(.text+0x58): In function `umount2':
: undefined reference to `__stack_smash_handler'
syscalls/uname.o(.text+0x16): In function `uname':
: undefined reference to `__guard'
syscalls/uname.o(.text+0x55): In function `uname':
: undefined reference to `__stack_smash_handler'
syscalls/unlink.o(.text+0x16): In function `unlink':
: undefined reference to `__guard'
syscalls/unlink.o(.text+0x55): In function `unlink':
: undefined reference to `__stack_smash_handler'
syscalls/vfork.o(.text+0x15): In function `vfork':
: undefined reference to `__guard'
syscalls/vfork.o(.text+0x4c): In function `vfork':
: undefined reference to `__stack_smash_handler'
syscalls/vm86.o(.text+0x16): In function `vm86':
: undefined reference to `__guard'
syscalls/vm86.o(.text+0x55): In function `vm86':
: undefined reference to `__stack_smash_handler'
syscalls/wait4.o(.text+0x1a): In function `wait4':
: undefined reference to `__guard'
syscalls/wait4.o(.text+0x6d): In function `wait4':
: undefined reference to `__stack_smash_handler'
syscalls/write.o(.text+0x1a): In function `write':
: undefined reference to `__guard'
syscalls/write.o(.text+0x68): In function `write':
: undefined reference to `__stack_smash_handler'
syscalls/writev.o(.text+0x1a): In function `writev':
: undefined reference to `__guard'
syscalls/writev.o(.text+0x68): In function `writev':
: undefined reference to `__stack_smash_handler'
make[2]: *** [libc.so] Error 1
make[2]: Leaving directory `/var/tmp/genkernel/udev-030/klibc/klibc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/genkernel/udev-030/klibc'
make: *** [/var/tmp/genkernel/udev-030/klibc/klibc/crt0.o] Error 2
* Gentoo Linux Genkernel; Version 3.0.2f

* ERROR: Failed to compile the "KERNEL_DIR=/usr/src/linux USE_KLIBC=true USE_LOG=false DEBUG=false udevdir=/dev all etc/udev/udev.conf" 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!
*


Any ideas. I am currently running kernel gentoo-dev-sources-2.6.7r14 and gcc 3.4 on a dell centrino laptop. My cflags is
Code:
CFLAGS="-march=pentium3 -O2 -msse2 -fomit-frame-pointer -pipe"


And please do not tell me not to use genkernel and compile the kernel myself...
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Fri Oct 08, 2004 2:03 pm    Post subject: Reply with quote

This was a problem with gcc and my cflags. After I changed the cflags to
Code:
CFLAGS="-march=pentium-m -O2 -fomit-frame-pointer -pipe"


And recompiled gcc. Then did an emerge -e world (which took forever) all is well.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum