Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel segmentation fault
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
dracony2
n00b
n00b


Joined: 11 Jan 2006
Posts: 23

PostPosted: Fri Feb 10, 2006 5:56 pm    Post subject: kernel segmentation fault Reply with quote

i compile 2.6.14 kernel i recieve seg faults when trying to ld all buil-in files (right after creation .tmp-vmlinux)
anyone can help?
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Fri Feb 10, 2006 6:39 pm    Post subject: Reply with quote

So not your kernel segfaults but when compiling a new one? Whats the error output? Have you recently upgraded your gcc, glibc or binutils? Have you overclocked your CPU? Is yur RAM faulty?
More information is needed or else nobody is able to help you.
Regards,

Sino
Back to top
View user's profile Send private message
dracony2
n00b
n00b


Joined: 11 Jan 2006
Posts: 23

PostPosted: Fri Feb 10, 2006 6:56 pm    Post subject: Reply with quote

the error occurs when binding:
ld -m kernel/built-in other /built-ins --end-group
segmentation fault
i just rebootstraped my system (for the 3 time this month) (but i didnt emerge system yet)
memory is well, and other compilations dont give errors
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Fri Feb 10, 2006 7:59 pm    Post subject: Reply with quote

dracony2 wrote:

[...]
memory is well, and other compilations dont give errors

So I assume you've checked it using "memtest86" or similiar (NOTE that new RAM can also be faulty). What's about your system, have overclocked it? That's also a thing which often causes problems.
Oh, and what's your CFLAGS? If they are to strong, they could also cause problems (Even if they get ignored when building the kernel, I think a glibc build with them could cause such things).
Regards,

Sino
Back to top
View user's profile Send private message
dracony2
n00b
n00b


Joined: 11 Jan 2006
Posts: 23

PostPosted: Sat Feb 11, 2006 12:05 am    Post subject: Reply with quote

i use a march=i686 -pipe -O3 -msse2 -mmmx flags
i rebootstraped it again, now all works fine, but i still get those errors. Please can someone guide me how to rebuild my gcc and glibc so my ld will work in compilation, please help.
i have done this before, and it worked, but i did emerge some packages after that. please tell me what to emerge
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