This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiler version for kernel compilation


On 2000-Feb-28 06:37:46 +1100, Bernhard Naegele <Bernhard.Naegele@t-online.de> wrote:
>a friend told me, that the newer versions of gcc (> 2.7.x) are not able to
>compile kernels.

For what its worth, Theo DeRaadt (sp?) of OpenBSD was recounting some war
stories about getting the newer egcs derived versions of gcc to build
functional kernels in OpenBSD land. As I remember it had highlighted some
shortcomings of the ANSI spec which when slavishly followed were causing
some non-determinism in the object code at run time.

The resolution for OpenBSD was to change the code to avoid constructs where
the compiler was causing trouble but I believe he was also feeding back info
to the compiler guys. Not sure what their position on it was though.

Contact Theo directly if you need the hard facts I'd say though, as this was 
more than 6 months ago, it was at a speakers cocktail reception at a
conference and there may have been alcohol in the drinks! ;)


Enno.


-------
Enno Davids                  Metva P/L, P.O.Box 2669,    Phone: +61 3 9583 5474
enno.davids@metva.com.au    Cheltenham 3192, Australia  Mobile: +61 40 999 2981 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]