View previous topic :: View next topic |
Author |
Message |
fredu n00b
Joined: 23 Jul 2003 Posts: 62 Location: Turku, Finland
|
Posted: Tue Dec 14, 2004 10:24 pm Post subject: Compiling my kernel(gentoo 2.6.9) gives Error 139 |
|
|
after doing make menuconfig and make I get this after a while:
(I get the same error on both gentoo 2.6.9 sources and the vanilla sources)
Code: | dnsdomainname: Host name lookup failure
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp/vmlinux1
make: *** [.tmp_vmlinux1] Error 139
|
Any idea what it could be? Something I should disable in the kernel instead? _________________ I saw this tag first! |
|
Back to top |
|
|
liutom n00b
Joined: 30 Sep 2004 Posts: 51
|
Posted: Wed Dec 15, 2004 1:20 pm Post subject: |
|
|
I had the same prob....
make sure u don´t compile your gcc with -O3 ....
Try to compile gcc with -O2 and afterwards try compile your kernel...
I think when gcc has too many performance optimizations then it produces bad code!!!
So i used to compile my whole system not with -O3 only a view packages (like Mplayer....)
I´d like to have a very stable system and if i know that gcc is "overoptimized" it could produce bad code on any program ...
Try O2 first for gcc
then compile your kernel again!
Bye
Liu |
|
Back to top |
|
|
TarChul n00b
Joined: 30 Dec 2004 Posts: 20
|
Posted: Thu Dec 30, 2004 6:24 pm Post subject: |
|
|
well, i _have_ the same problem. this is my very first gentoo install, i'm coming from debian.
i made a stage 1 install with
-O3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -msse2
(i have a brand new pentium-m, and some people suggested those settings)
i bootstrapped the system, made "emerge system". then i emerged "gentoo-dev-sources" and configured a rather minimal kernel. well, bootsplash included...
my error message looks exactly the same.
then i searched this forum, found some hints.
i changed my flags to
-O2 -march=pentium3 -pipe -fomit-frame-pointer
and made "emerge gcc". i hope this is a valid way to recompile gcc...
well, i remade the kernel, still the same problem.
anything wrong with my procedure? i'm quite sure i followed the manual.
thanks in advance
thorsten
/* note: i made "env-update && source /etc/profile && etc-update" after every step, not sure what it does in detail though */ |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Dec 30, 2004 6:32 pm Post subject: |
|
|
TarChul wrote: | /* note: i made "env-update && source /etc/profile && etc-update" after every step, not sure what it does in detail though */ |
env-update combines the small environment variable files within /etc/env.d/ to become one /etc/profile file. Then "source /etc/profile" will tell the system to load the new values of the environmental variables from /etc/profile. Coming from MEPIS (debian-based) I find this method of updating environmental variables much more reliable and friendlier than doing battle with a enormous /etc/profile.
Lastly, etc-update simply checks the directories protected under Gentoo's config file protection system (similar but friendlier than windows' file protection) for any new configuration files and asks you for action if there are . |
|
Back to top |
|
|
TarChul n00b
Joined: 30 Dec 2004 Posts: 20
|
Posted: Thu Dec 30, 2004 6:42 pm Post subject: |
|
|
hehe, alright
thx for the quick guide.
i just found this 2.6 nptl install guide, i'll give it a try.
*** update1 ***
not even genkernel wants to compile, same error 139 at the end
*** update2 ***
bootstrapping again, with USE="nptl"... |
|
Back to top |
|
|
|