Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compiling my kernel(gentoo 2.6.9) gives Error 139
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fredu
n00b
n00b


Joined: 23 Jul 2003
Posts: 62
Location: Turku, Finland

PostPosted: Tue Dec 14, 2004 10:24 pm    Post subject: Compiling my kernel(gentoo 2.6.9) gives Error 139 Reply with quote

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
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Wed Dec 15, 2004 1:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
TarChul
n00b
n00b


Joined: 30 Dec 2004
Posts: 20

PostPosted: Thu Dec 30, 2004 6:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Dec 30, 2004 6:32 pm    Post subject: Reply with quote

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. :-D

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
View user's profile Send private message
TarChul
n00b
n00b


Joined: 30 Dec 2004
Posts: 20

PostPosted: Thu Dec 30, 2004 6:42 pm    Post subject: Reply with quote

hehe, alright :D

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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