[Mono-bugs] [Bug 55987][Blo] Changed - MacOSX port throwing SIGILL ?

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 24 Mar 2004 11:34:41 -0500 (EST)


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 rshade@dvsconsulting.com.

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

--- shadow/55987	2004-03-24 06:16:51.000000000 -0500
+++ shadow/55987.tmp.27205	2004-03-24 11:34:41.000000000 -0500
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: unspecified
 OS: unknown
 OS Details: MacOSX 10.2.8 Build 6R73
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Blocker
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: gkodinov@openlinksw.co.uk               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -67,6 +67,22 @@
 
 Unhandled Exception: System.ExecutionEngineException: SIGILL
 make[3]: *** [../../../class/lib/I18N.dll] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1
+
+------- Additional Comments From rshade@dvsconsulting.com  2004-03-24 11:34 -------
+The problem is that at this phase of the buld the makefiles are using
+the internal mcs (the one it just built).  In order to do this, it
+calls it directly instead of using the mcs script:
+
+MONO_PATH="../../../class/lib:$MONO_PATH" mono  ../../../mcs/mcs.exe
+/r:mscorlib.dll  -d:NET_1_1 -d:ONLY_1_1 -g /noconfig  /target:library
+/out:../../../class/lib/I18N.dll @I18N.dll.sources
+
+Notice the call to mono.  It is getting this from build/rules.make at
+the line that says:
+
+INTERNAL_MCS = $(RUNTIME) $(topdir)/mcs/mcs.exe
+
+The real problem is that $(RUNTIME) should resolve to mint on OSX.