[Mono-bugs] [Bug 74921][Nor] New - mono --aot doesn't work anymore

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 12 May 2005 06:41:05 -0400 (EDT)


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 goetz.waschk@gmail.com.

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

--- shadow/74921	2005-05-12 06:41:05.000000000 -0400
+++ shadow/74921.tmp.3132	2005-05-12 06:41:05.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 74921
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Mandriva Linux Cooker i586
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: goetz.waschk@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono --aot doesn't work anymore
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+mono --aot doesn't work anymore in mono 1.1.7 on i586, it was working fine
+in mono 1.1.6 and in mono 1.1.7 on x86_64
+
+Steps to reproduce the problem:
+1. cp /usr/lib/mono/1.0/mcs.exe ~
+2. mono --aot ~/mcs.exe
+3. 
+
+Actual Results:
+Mono Ahead of Time compiler - compiling assembly /home/goetz/mcs.exe
+ 
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+
+
+Expected Results:
+the same as with mono 1.1.7 on x86_64:
+
+[goetz@deborah ~]$ mono --aot mcs.exe
+Mono Ahead of Time compiler - compiling assembly /home/goetz/mcs.exe
+GOT SIZE: 243024
+Executing the native assembler: as --64 /tmp/mono_aot_WqrfKe -o
+/tmp/mono_aot_WqrfKe.o
+Executing the native linker: ld -shared -o /home/goetz/mcs.exe.so
+/tmp/mono_aot_WqrfKe.o
+Compiled 2825 out of 2826 methods (99%)
+0 methods contain absolute addresses (0%)
+1 methods contain wrapper references (0%)
+0 methods contain lmf pointers (0%)
+0 methods have other problems (0%)
+AOT RESULT 0
+
+
+How often does this happen? 
+always.
+
+Additional Information:
+mono 1.1.7 on i586 was compiled with gcc 4.0.0, on x86_64 it was built with
+gcc 3.4.3.