[Mono-bugs] [Bug 63716][Maj] New - MCS compile fails to produce *.exe on Debian Mono, works on Microsoft

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 23 Aug 2004 16:19:20 -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 ajack@apache.org.

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

--- shadow/63716	2004-08-23 16:19:20.000000000 -0400
+++ shadow/63716.tmp.24212	2004-08-23 16:19:20.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 63716
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: Debian
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ajack@apache.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS compile fails to produce *.exe on Debian Mono, works on Microsoft
+
+Description of Problem:
+
+I believe this could be described as a compiler problem, although it
+appears to be between the compile phase and the next step, the 'link' phase
+(if that is the right name).
+
+Steps to reproduce the problem:
+
+1. Download sample from:    http://brutus.apache.org/~gump/mcs.tar
+2. Attempt to compile/link on Mono (from Debian RPM) using the commandline
+provided in the script (in the tar)
+
+Actual Results:
+
+> Compilation succeeded
+> Unhandled Exception: System.NullReferenceException: Object 
+reference not set to an instance of an object
+> ** ERROR **: file critical-sections.c: line 89 
+(DeleteCriticalSection): assertion failed: (ret == 0)
+> aborting...
+
+When running mcs with -v I see a different message:
+
+  Compilation succeeded
+
+** (/usr/share/dotnet/bin/mcs/mcs.exe:1112): WARNING **: implement me 0xc0
+
+
+** ERROR **: file class.c: line 2100 (mono_class_from_mono_type): should
+not be 
+reached
+aborting...
+mcs.sh: line 1:  1109 Aborted                 mcs -v /nologo /debug+
+/optimize- 
+/out:/usr/local/gump/test/workspace/ant/src/etc/testcases/taskdefs/optional/dotnet/build/ExampleCsc.exe
+
+/target:exe /nostdlib- /warn:3 /fullpaths /incremental- 
+/usr/local/gump/test/workspace/ant/src/etc/testcases/taskdefs/optional/dotnet/example2.cs
+
+/usr/local/gump/test/workspace/ant/src/etc/testcases/taskdefs/optional
+
+
+Expected Results:
+
+This compiles on Microsoft platform/compiler.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+
+Apache are wishing to set up a Gump (see http://gump.apache.org) for NAnt
+on Mono, but are currently unable to get started due to this problem.