Kernel Compile slow on 5.x series?

Kris Kennaway kris at obsecurity.org
Sat Oct 2 17:02:06 PDT 2004


On Sun, Oct 03, 2004 at 03:27:02AM +0530, Subhro wrote:
> On Sat, 2 Oct 2004 15:45:31 +0200, Simon Barner <barner at gmx.de> wrote:
> > Markie wrote:
> > > Has anyone else noticed that the 5.x series kernel compile times take much
> > > longer than that of the 4.x series? My friends 233MHz machine running 4.x
> > > finished a kernel compile before my 500MHz machine running 5.x a while
> > > back. It seems to take forever? Is there a reason for this, or is it just
> > > me seeing this problem?
> 
> The reason why it takes longer to compile a 5.* kernel is the
> difference in the architecture. The 5.* kernels handle the hardware
> differently than the 4.* kernels.

No, the previous poster was correct.  It's mostly just gcc 3 being
slower to compile code than gcc 2.

> > FreeBSD 5 uses GCC 3.x as system compiler, whereas 4 is based on GCC
> > 2.y.
> 
> Negative, the gcc 3.* compiler is used only in FreeBSD versions onwards 5.3. 

No, gcc 3.x was imported into FreeBSD 5.x a few years ago (you could
check cvsweb if you want the exact date).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041002/8fe8e36c/attachment.bin


More information about the freebsd-questions mailing list