[Mono-bugs] [Bug 75114][Maj] New - Bug in libgc for ARM
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 02:09:27 EDT 2005
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 tomba at bat.org.
http://bugzilla.ximian.com/show_bug.cgi?id=75114
--- shadow/75114 2005-06-02 02:09:27.000000000 -0400
+++ shadow/75114.tmp.6075 2005-06-02 02:09:27.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 75114
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: ARM Linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: GC
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: tomba at bat.org
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Bug in libgc for ARM
+
+Description of Problem:
+
+The inline assembler code in libgc/include/private/gc_locks.h around
+line 226 seems to produce faulty code. With no optimizations my
+arm gcc (I've tried 4 different 3.x versions) produces an instruction in
+the form of swp r3,r2,[r3] which is illegal according to ARM reference manual.
+
+I'm not an expert on inline assembler, but I think it can be fixed by
+changing
+
+: "=r"(oldval)
+
+to
+
+: "=&r"(oldval)
More information about the mono-bugs
mailing list