Date: Sun, 18 Apr 1999 11:22:44 +0900 From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> To: gallatin@cs.duke.edu Cc: tlambert@primenet.com, alpha@FreeBSD.ORG Subject: Re: egcs ready for alpha? Message-ID: <14105.16884.141648.64658E@achat.sat.t.u-tokyo.ac.jp> In-Reply-To: In your message of "Sat, 17 Apr 1999 20:55:27 -0400 (EDT)" <14105.8549.100121.12762@grasshopper.cs.duke.edu> References: <199904172332.QAA23509@usr08.primenet.com> <14105.4357.904716.780151@grasshopper.cs.duke.edu> <14105.8549.100121.12762@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 17 Apr 1999 20:55:27 -0400 (EDT), Andrew Gallatin <gallatin@cs.duke.edu> wrote: > Given that there are multiple sysctl's defining the behaviour, I'm not > sure what what you mean by zero and one, but I assume you mean you > want it to default to machdep.unaligned_sigbus=1? > > Well, currently it defaults to: > > machdep.unaligned_print: 1 > machdep.unaligned_fix: 1 > machdep.unaligned_sigbus: 0 > > This amounts to what I call 'whiny fixup', which is the behaviour > people have come to expect when running on this platform. At least > this is what Digital UNIX, NetBSD and Linux default to. > > All Hidetoshi Shimokawa's commit did was to give you the ability to > easily change this default via a sysctl. > Thank you for your explanation. This is exactly what I did. In my local tree, I replaced uprintf's with printf's for printing unaligned access so that they will be logged by syslogd. I have also 'machdep.unaligned_sigbus=1' in my rc.local to prevent too much warnnings. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14105.16884.141648.64658E>