lkml.org 
[lkml]   [1996]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem in compiling kernel
> I was trying to compile kernel 2.0.7, but it stopped with segmentation 
> faulth at kernel.o
> Today, I tried with 1.3.28 and the same thing happened.
>
> I'm using 1.2.13, gcc 2.6.3, I face no problem in compiling 1.2.13 or
> 1.2.1 (the kernels I use).
>
> I've reinstalled gcc, but nothing improved. Why is this happening?

I thought you had to use gcc 2.7.2 to compile the 1.3.x kernels and beyond
(at least as of some particular 1.3.x release). This was about the time the
dev teams "abandoned" a.out for ELF in the "official" releases. I don't
remember the reasons why, but an optimization bug in gcc would seem to be the
most likely reason (either the optimizer seg faults like you are reporting,
or it would generate non-working code).
kc


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.016 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site