[Mono-bugs] [Bug 76262][Nor] Changed - [GMCS] Mono runtime assert in Nemerle bootstrap

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 28 21:10:31 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 martin at ximian.com.

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

--- shadow/76262	2005-09-28 20:47:17.000000000 -0400
+++ shadow/76262.tmp.31125	2005-09-28 21:10:31.000000000 -0400
@@ -96,6 +96,99 @@
 running on my machine before committing such changes.  Our current
 gtest-*.cs test suite is good, but far from complete - so in the past
 it was always very difficult to make changes to the generics code
 without knowing whether I broke something or not.
 After several hours of debugging, I'm almost done with a fix which'll
 pass a full Nemerle bootstrap in addition to the full mono bootstrap :-)
+
+------- Additional Comments From martin at ximian.com  2005-09-28 21:10 -------
+Ok, just committed a patch which should fix this.  Nemerle's
+./configure works, but if I do a `make', it seems to be hanging:
+
+===
+martin at rohan:/work/gondor/nemerle> ./configure
+--prefix=/work/gondor/INSTALL --mono-from=/work/gondor/INSTALL/bin
+Checking for .NET environment... /work/gondor/INSTALL/bin/mono
+Checking if we are using Mono < 1.1.9... no
+Checking for presence of regtool in the system... not found
+Checking for .NET disassembler... /work/gondor/INSTALL/bin/monodis
+Checking for native image generator... disabled
+Checking if Nemerle compiler works... yes
+Checking for gacutil... found
+Checking if we are using mono gacutil... yes
+Checking for mono libdir... /work/gondor/INSTALL/lib
+Checking for PEVerify... not found
+Checking for ilasm... found
+Checking for C# compiler... found
+Checking for Python version... 2.3, ok
+Checking for antlr >= 2.7.5... not supported
+Checking for nant... no
+Checking for nunit-console for .NET 2.0... not found, some tests will
+be disabled
+Creating config.mak
+Creating nemerle.pc
+martin at rohan:/work/gondor/nemerle> make
+make[1]: Entering directory `/work/gondor/nemerle/ncc'
+make[2]: Entering directory `/work/gondor/nemerle/ncc'
+MKDIR out.stage1
+make[3]: Entering directory `/work/gondor/nemerle/ncc'
+COMPILE [stage1] Nemerle.dll
+____________________________________________________________
+------------- STATS ---------------
+  AllTypeBuilders:     170
+  FirstClassFunctions: 24
+  RealRunningTime:     9989ms
+------------- END STATS ---------------
+COMPILE [stage1] Nemerle.Compiler.dll
+________________________....................................
+typing/Macros.n:421:9:421:21: warning: this match clause is unused
+____________________________________________________________
+------------- STATS ---------------
+  AllTypeBuilders:     1219
+  FirstClassFunctions: 452
+  RealRunningTime:     97440ms
+------------- END STATS ---------------
+COMPILE [stage1] Nemerle.Macros.dll
+____________________________________________________________
+------------- STATS ---------------
+  AllTypeBuilders:     303
+  FirstClassFunctions: 157
+  RealRunningTime:     34635ms
+------------- END STATS ---------------
+COMPILE [stage1] ncc.exe
+____________________________________________________________
+------------- STATS ---------------
+  AllTypeBuilders:     5
+  FirstClassFunctions: 3
+  RealRunningTime:     7166ms
+------------- END STATS ---------------
+make[3]: Leaving directory `/work/gondor/nemerle/ncc'
+make[2]: Leaving directory `/work/gondor/nemerle/ncc'
+make[2]: Entering directory `/work/gondor/nemerle/ncc'
+MKDIR out.stage2
+make[3]: Entering directory `/work/gondor/nemerle/ncc'
+make[3]: Circular out.stage1/ncc.exe <- out.stage1/ncc.exe dependency
+dropped.
+make[3]: Circular out.stage1/Nemerle.Macros.dll <- out.stage1/ncc.exe
+dependency dropped.
+make[3]: Circular out.stage1/Nemerle.Macros.dll <-
+out.stage1/Nemerle.Macros.dll dependency dropped.
+COMPILE [stage2] Nemerle.dll
+____________________________________________________________
+------------- STATS ---------------
+  AllTypeBuilders:     170
+  FirstClassFunctions: 24
+  FunctionClosures:    25
+  RealRunningTime:     134125ms
+------------- END STATS ---------------
+COMPILE [stage2] Nemerle.Compiler.dll
+__________..................................................
+
+======
+
+I killed the process after running for about 20 minutes.
+When attached to it in gdb, I realized that it seems to be JITing
+the same method `Nemerle.Collections.Tree._N_insert8351' over
+and over again.  Is that normal ?
+
+Hmm, that's a generic method and it's always JITed with a different
+instantiation.  Maybe we really need shared code.


More information about the mono-bugs mailing list