*BSD News Article 2832


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!news.hawaii.edu!ames!elroy.jpl.nasa.gov!swrinde!news.dell.com!james
From: james@raid.dell.com (James Van Artsdalen)
Newsgroups: comp.unix.bsd
Subject: Re: 386BSD: Anyone using gcc-2.x on 0.1?
Message-ID: <1992Jul30.174031.26600@raid.dell.com>
Date: 30 Jul 92 17:40:31 GMT
References: <1992Jul29.155631.21213@thyme.jpl.nasa.gov>
Reply-To: james@raid.cactus.org (James Van Artsdalen)
Organization: Dell Computer Co
Lines: 27

In <1992Jul29.155631.21213@thyme.jpl.nasa.gov>, kaleb@thyme.jpl.nasa.gov (Kaleb Keithley) wrote:

> I'm highly interested in moving to the latest version of gcc-2.x,
> (currently 2.2.2) because:

> a) I'd like to take advantage of it's ability to emit 486 specific
>    code (instruction scheduling, primarily)

gcc 2 does no insn scheduling for the 386 / 486.  With -m486, it chooses
slightly different instruction sequences, and aggressively aligns loops
on cache line boundaries.

> b) Its ability to emit PIC (Position Independent Code) seems to be
>    a pre-requisite for shared libraries.

The PIC scheme it uses is intended for SysVr4, which I am told is
similar to the SunOS scheme.

> Has anyone else "bootstrapped" up to 2.2.2 yet?  Has anyone who
> has, rebuilt the kernel with it yet?

Compiling machdep.o with gcc2 causes the kernel to crash during
bootstrapping for some reason.  I hope to look into it this weekend.
-- 
-- 
James R. Van Artsdalen          james@bigtex.cactus.org   "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759         512-338-8789