[Mono-bugs] [Bug 76322][Blo] New - aot generates bad code for as

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 3 04:10:17 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 viraptor at kni.prz.rzeszow.pl.

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

--- shadow/76322	2005-10-03 04:10:17.000000000 -0400
+++ shadow/76322.tmp.837	2005-10-03 04:10:17.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 76322
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: W2K prof.
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: viraptor at kni.prz.rzeszow.pl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: aot generates bad code for as
+
+code:
+
+using System;  
+class Hello  
+{  
+   static void Main() {  
+      Console.WriteLine("hello, world");  
+   }  
+}  
+
+mcs and gmcs compile it correctly. When I try 'mono --aot prog.exe' it
+stops on assembling phase:
+Mono Ahead of Time compiler - compiling assembly C:\projects\c#\first\prog.exe
+Code: 57 Info: 14 Ex Info: 8 Class Info: 28 GOT: 12
+Executing the native assembler: as c:\temp\mono_aot_S63IYS -o
+c:\temp\mono_aot_S63IYS.o
+c:\temp\mono_aot_S63IYS: Assembler messages:
+c:\temp\mono_aot_S63IYS:130: Error: expected symbol name
+AOT RESULT 1
+
+I tried different versions of as, but none of them works.
+
+Happens every time.
+
+line 130 is: .bss 1


More information about the mono-bugs mailing list