[Mono-bugs] [Bug 30048][Nor] New - FreeBSD style registers are the same in other BSDs
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
9 Sep 2002 14:20:34 -0000
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jmmv@hispabsd.org.
http://bugzilla.ximian.com/show_bug.cgi?id=30048
--- shadow/30048 Mon Sep 9 10:20:34 2002
+++ shadow/30048.tmp.31318 Mon Sep 9 10:20:34 2002
@@ -0,0 +1,43 @@
+Bug#: 30048
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: NetBSD 1.6H (current)
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jmmv@hispabsd.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: FreeBSD style registers are the same in other BSDs
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+The file mono/jit/exception.c access several register names directly, like
+'eax'. In NetBSD, those need to be accessed like in FreeBSD, using 'sc_eax'
+and similar names. Not doing so results in a compilation failure.
+
+Currently, the file uses an #ifdef check to determine if we are in FreeBSD
+or not. This check can be easily extended to also allow __NetBSD__ and
+__OpenBSD__, which effectively fixes the problem
+
+Steps to reproduce the problem:
+1. Get a NetBSD (or OpenBSD, should be just the same) system and try to
+compile exception.c
+
+Actual Results:
+Failure to compile exception.c.
+
+Expected Results:
+
+
+How often does this happen?
+
+
+Additional Information: