[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.


--- 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 Details: Debian
+Status: NEW   
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ajack@apache.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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 
+mcs.sh: line 1:  1109 Aborted                 mcs -v /nologo /debug+
+/target:exe /nostdlib- /warn:3 /fullpaths /incremental- 
+Expected Results:
+This compiles on Microsoft platform/compiler.
+How often does this happen? 
+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.