[Mono-bugs] [Bug 65657][Nor] New - AOT mcs produces buggy mcs.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 9 Sep 2004 18:25:04 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=65657
--- shadow/65657 2004-09-09 18:25:04.000000000 -0400
+++ shadow/65657.tmp.30201 2004-09-09 18:25:04.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 65657
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: miguel@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AOT mcs produces buggy mcs.
+
+Ahead-of-Time compiling mcs.exe will produce an mcs that crashes:
+
+(tried both with -O=all and without it):
+
+mono$ mono --aot mcs.exe
+Mono Ahead of Time compiler - compiling assembly /cvs/mcs/mcs/mcs.exe
+Executing the native assembler: as /tmp/mono_aot_jXFh5p -o
+/tmp/mono_aot_jXFh5p.o
+Executing the native linker: ld -shared -o /cvs/mcs/mcs/mcs.exe.so
+/tmp/mono_aot_jXFh5p.o
+Compiled 2283 out of 2509 methods (90%)
+0 methods contain absolute addresses (0%)
+226 methods contain wrapper references (9%)
+0 methods contain lmf pointers (0%)
+0 methods have other problems (0%)
+AOT RESULT 0
+mono$ time mono mcs.exe -d:NET_1_1 -d:ONLY_1_1 /target:exe /out:mcs2.exe
+cs-parser.cs @mcs.exe.sources
+UNHANDLED IN 416e8b30
+
+Unhandled Exception: System.ArrayTypeMismatchException: Source array type
+cannot be assigned to destination array type.
+in <0x001f5> Mono.CSharp.Invocation:OverloadResolve
+(Mono.CSharp.EmitContext,Mono.CSharp.MethodGroupExpr,System.Collections.ArrayList,bool,Mono.CSharp.Location)
+in <0x00ceb> Mono.CSharp.Attribute:Resolve (Mono.CSharp.EmitContext)
+in <0x0003f> Mono.CSharp.Attribute:Emit
+(Mono.CSharp.EmitContext,Mono.CSharp.Attributable,System.Collections.Specialized.ListDictionary)in
+<0x000c9> Mono.CSharp.Attributes:Emit
+(Mono.CSharp.EmitContext,Mono.CSharp.Attributable)
+in <0x00078> Mono.CSharp.CommonAssemblyModulClass:Emit
+(Mono.CSharp.TypeContainer)
+in <0x00248> Mono.CSharp.RootContext:EmitCode ()
+in <0x00cfd> Mono.CSharp.Driver:MainDriver (string[])
+in <0x0000f> Mono.CSharp.Driver:Main (string[])