*BSD News Article 26857


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!cs.utexas.edu!uunet!decwrl!decwrl!usenet.coe.montana.edu!bsd.coe.montana.edu!nate
From: nate@bsd.coe.montana.edu (Nate Williams)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Info regarding kernal compiles
Date: 4 Feb 1994 01:24:34 GMT
Organization: Montana State University - Bozeman MT
Lines: 29
Message-ID: <2is84i$q5t@pdq.coe.montana.edu>
References: <CKnMDu.7sy@usenet.ucs.indiana.edu>
NNTP-Posting-Host: bsd.coe.montana.edu

In article <CKnMDu.7sy@usenet.ucs.indiana.edu>,
Shawn Slavin <sdslavin@pegasus2.astro.indiana.edu> wrote:
>
>Hi there!  I posted a while back about trouble with panic trap messages on soft
>reboots of my FreeBSD-1.0 system (i486/50 DX2).  I had another problem with my
>keyboard, and both seemed to be fixed by switching to the SYSCONS
>configuration, rather than GENERICAH.
>
>Well, I tried to compile it again the other day, and back came the panic trap
>messages on soft reboots.  I then realized that I had used the -m486 -O2
>options with gcc, and not the default -O.  So, I recompiled it with the -m486
>-O2, and it works great.

Sounds like a bug in gcc2.4.5 (Naw, gcc doesn't have bugs, does it. :-)

>So, I don't see why the -O2 option has anything to do with this.  BUT, is there
>something in the kernal code that will be significantly affected by the -m486
>option?

It *shouldn't* introduce bugs since it shouldn't change the way the code runs.


Nate

-- 
nate@bsd.coe.montana.edu     |  FreeBSD core member and all around tech
nate@cs.montana.edu          |  weenie.
work #: (406) 994-4836       |  Graduating May '94 with a BS in EE 
home #: (406) 586-0579       |  - looking for work in CS/EE field.