[Mono-bugs] [Bug 75579][Wis] New - Win32 Build Fails using MS csc.exe

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 18 20:42:02 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 danielmorgan at verizon.net.

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

--- shadow/75579	2005-07-18 20:42:02.000000000 -0400
+++ shadow/75579.tmp.17502	2005-07-18 20:42:02.000000000 -0400
@@ -0,0 +1,101 @@
+Bug#: 75579
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: danielmorgan at verizon.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Win32 Build Fails using MS csc.exe
+
+Description of Problem:
+
+Building the mcs module from svn fails on Windows using Microsoft's csc.exe
+compiler.
+
+Steps to reproduce the problem:
+1. I check out from svn both mono and mcs to $HOME/monosvn on Cygwin
+2. make sure PKG_CONFIG_PATH and other environment variables are set
+3. ./autogen.sh
+4. make
+
+The make automatically builds mcs after bulding mono...
+
+Actual Results:
+
+...
+make[3]: Entering directory `/home/Administrator/monosvn/mcs/class/System'
+** Warning: System.dll built without parts that depend on: System.Xml.dll
+Creating ../../build/deps/default_System.dll.response ...
+csc.exe  /nologo /optimize -d:NET_1_1 -d:ONLY_1_1 /debug+ /debug:full /noconfig
+ /target:library /out:System.dll  @../../build/deps/default_System.dll.response
+System.ComponentModel\TypeDescriptor.cs(282,6): warning CS0168: The
+variable 'e'
+        is declared but never used
+System.ComponentModel\TypeDescriptor.cs(384,6): warning CS0168: The
+variable 'e'
+        is declared but never used
+error CS0583: Internal Compiler Error (0xc0000005 at address 791CF96D): likely
+        culprit is 'COMPILE'.
+        An internal error has occurred in the compiler. To work around this
+        problem, try simplifying or changing the program near the locations
+        listed below. Locations at the top of the list are closer to the point
+        at which the internal error occurred.
+        System.ComponentModel\Win32Exception.cs(44,4): error CS0584: Internal
+        Compiler Error: stage 'COMPILE' symbol
+        'System.ComponentModel.Win32Exception.Win32Exception()'
+System.ComponentModel\Win32Exception.cs(44,4): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol
+        'System.ComponentModel.Win32Exception.Win32Exception()'
+System.ComponentModel\Win32Exception.cs(44,4): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol
+        'System.ComponentModel.Win32Exception.Win32Exception()'
+System.ComponentModel\Win32Exception.cs(40,15): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol 'System.ComponentModel.Win32Exception'
+System.ComponentModel\Win32Exception.cs(37,11): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol 'System.ComponentModel'
+System.ComponentModel\Win32Exception.cs(37,11): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol 'System'
+System.ComponentModel\Win32Exception.cs(30,1): error CS0584: Internal Compiler
+        Error: stage 'COMPILE' symbol ''
+System.ComponentModel\Win32Exception.cs: error CS0586: Internal Compiler Error:
+        stage 'COMPILE'
+error CS0587: Internal Compiler Error: stage 'COMPILE'
+error CS0587: Internal Compiler Error: stage 'BEGIN'
+make[3]: *** [../../class/lib/default/System.dll] Error 5
+make[3]: Leaving directory `/home/Administrator/monosvn/mcs/class/System'
+make[2]: *** [do-all] Error 2
+make[2]: Leaving directory `/home/Administrator/monosvn/mcs/class/System'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/Administrator/monosvn/mcs/class'
+
+
+Expected Results:
+
+Successfully build mono/mcs from svn on Cygwin
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+Because csc.exe can not build mcs on Windows, but an installed mcs can, I 
+wanted to change the EXTERNAL_MCS from mcs to csc.exe in win32.make that is
+found in mcs/build/platforms.  However, Miguel asked me to file this bug
+instead.
+
+Note: I did build mcs using Mono 1.1.8 using the Windows Installer.
+I have Windows XP Pro SP2.  I have both .NET 1.0 and .NET 1.1 installed;
+however, I only have .NET 1.1 in my PATH when building mcs via csc.exe.
+
+Otherwise, if I am buliding mcs with an installed mcs, I do not have .NET
+in my PATH.


More information about the mono-bugs mailing list