[Mono-bugs] [Bug 75214][Maj] Changed - assembly load failure on 64bit with bundle

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jun 17 16:11:19 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 vargaz at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75214

--- shadow/75214	2005-06-14 13:12:44.000000000 -0400
+++ shadow/75214.tmp.15219	2005-06-17 16:11:19.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 75214
 Product: Mono: Runtime
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Major
 Component: JIT
 AssignedTo: lupus at ximian.com                            
 ReportedBy: james at ximian.com               
 QAContact: mono-bugs at ximian.com
@@ -159,6 +159,44 @@
 Since we are supporting the bundling stuff, could we make it part of
 `make check'?
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-14 13:12 -------
 I've added such a test on HEAD. It does a `hello world', statically
 linked with libmono
+
+------- Additional Comments From vargaz at gmail.com  2005-06-17 16:11 -------
+This is a bug in gcc-3.3. It miscompiles the following testcase:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+static __thread void *ptr;
+
+void foo (void *p1, void *p2)
+{
+	printf ("A: %p %p\n", p1, p2);
+}
+
+void bar ()
+{
+	void *p2 = &ptr;
+
+	foo (p2, p2 + sizeof (&ptr));
+}
+
+
+void main ()
+{
+	bar ();
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+$ gcc-3.3 -O2 --save-temps -fPIC uj.c; 
+$ ./a.out 
+
+produces the following output:
+A: 0x2a958ab658 0x5007a0
+
+I checked in a workaround to libgc/pthread_support.c:
+
+http://lists.ximian.com/archives/public/mono-patches/2005-June/060164.html
+
+
+


More information about the mono-bugs mailing list