[Mono-dev] Mono 2.2 build problem on ARM9 ..

clva5x clva5x at yahoo.com
Sat Jan 31 15:50:54 EST 2009

Hello All.. I am trying to build mono 2.2 on an ARM9 Linux Debian platform
and I am getting the exception below.  I have previously built versions
2.0 and 2.0.1 just fine on this board.

I have found some references to this problem and I checked the
proposed patches.. they seem to be in the mono 2.2 code base.
Those patches have to do with the floating point code generator.

I tried "./configure --with-fpu=NONE" but it did not make any

Thank you for any info..


Here is the exception (and a bit of "make" context..)

make[7]: Entering directory `/tmp/mono-2.2/mcs/class/System.XML'
make all-local
make[8]: Entering directory `/tmp/mono-2.2/mcs/class/System.XML'
../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay
../../jay/jay: 21 rules never reduced
../../jay/jay: 1 shift/reduce conflict, 42 reduce/reduce conflicts.
echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternParser.cs
../../jay/jay -ct Mono.Xml.Xsl/PatternParser.jay < ../../jay/skeleton.cs
../../jay/jay: 3 rules never reduced
../../jay/jay: 1 shift/reduce conflict, 46 reduce/reduce conflicts.
echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternTokenizer.cs
cat System.Xml.XPath/Tokenizer.cs >>Mono.Xml.Xsl/PatternTokenizer.cs
MCS     [basic] System.Xml.dll

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for Mono.CSharp.Location --->
System.ArgumentException: Size is too big
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor,
IHashCodeProvider hcp, IComparer comparer) [0x00000] 
  at System.Collections.Hashtable..ctor (Int32 capacity, Single loadFactor)
  at System.Collections.Hashtable..ctor () [0x00000] 
  at Mono.CSharp.Location..cctor () [0x00000] 
  --- End of inner exception stack trace ---
make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 1
make[8]: Leaving directory `/tmp/mono-2.2/mcs/class/System.XML'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory `/tmp/mono-2.2/mcs/class/System.XML'

View this message in context: http://www.nabble.com/Mono-2.2-build-problem-on-ARM9-..-tp21768123p21768123.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list