View previous topic :: View next topic |
Author |
Message |
dracony2 n00b
Joined: 11 Jan 2006 Posts: 23
|
Posted: Fri Feb 10, 2006 5:56 pm Post subject: kernel segmentation fault |
|
|
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 |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Fri Feb 10, 2006 6:39 pm Post subject: |
|
|
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 |
|
|
dracony2 n00b
Joined: 11 Jan 2006 Posts: 23
|
Posted: Fri Feb 10, 2006 6:56 pm Post subject: |
|
|
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 |
|
|
SinoTech Advocate
Joined: 20 Mar 2004 Posts: 2579 Location: Neunkirchen / Saarland / Germany
|
Posted: Fri Feb 10, 2006 7:59 pm Post subject: |
|
|
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 |
|
|
dracony2 n00b
Joined: 11 Jan 2006 Posts: 23
|
Posted: Sat Feb 11, 2006 12:05 am Post subject: |
|
|
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 |
|
|
|