[Mono-bugs] [Bug 45302][Maj] New - mcs return incorrect exit code when compiling with debug on
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 23 Jun 2003 13:35:42 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=45302
--- shadow/45302 Mon Jun 23 13:35:40 2003
+++ shadow/45302.tmp.28078 Mon Jun 23 13:35:42 2003
@@ -0,0 +1,36 @@
+Bug#: 45302
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details: Gentoo 1.4 RC4
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs return incorrect exit code when compiling with debug on
+
+When I compile rather large assemblies with debug on, compilation succeeds
+but mcs returns exit code 259 instead of exit code 0.
+
+I've attached an archive containing a small testcase and the log4net
+sources, that will allow you to reproduce this issue.
+
+To reproduce it, first compile McsTest.cs to an executable.
+
+Next, execute McsTest.exe with the location of the Mono bin directory (in
+which mcs.exe resides) as argument.
+
+eg. mono McsTest.exe /home/gert/mono/install/bin
+
+This assembly will compile the sources in the log4net subdirectory to an
+assembly named log4net.dll with debug symbols and will write the exit code
+to the console.
+
+You'll see that it will always return exit code 259.