** ERROR **: Invalid IL code at IL00c2 in Mono.Globalization.Unicode.MSCompatUnicodeTable:FillCJKCore (string,Mono.Globalization.Unicode.CodePointIndexer&,byte*&,byte*&,Mono.Globalization.Unicode.CodePointIndexer&,byte*&): IL_00c2: ret with subsequent abort of compilation.
the error - make all-local make[8]: Entering directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System' ** Warning: System.dll built without parts that depend on: System.Xml.dll mcs /codepage:28591 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -target:library -out:System.dll @System.dll.sources System.Configuration/ConfigurationSettings.cs(75) warning CS0169: The private method 'System.Configuration.ConfigurationSettings.ChangeConfigurationSystem( System.Configuration.IConfigurationSystem)' is never used System.Configuration/ConfigurationSettings.cs(190) warning CS0169: The private field 'System.Configuration.ConfigurationData.pending' is never used System.Configuration/ConfigurationSettings.cs(191) warning CS0169: The private field 'System.Configuration.ConfigurationData.fileName' is never used System.Configuration/ConfigurationSettings.cs(193) warning CS0169: The private field 'System.Configuration.ConfigurationData.groupMark' is never used System.Net/IPAddress.cs(50) warning CS0169: The private field 'System.Net.IPAddress.m_HashCode' is never used System.Net/WebClient.cs(145) warning CS0169: The private method 'System.Net.WebClient.DownloadData( System.Uri)' is never used Compilation succeeded - 6 warning(s) : System.dll ../../class/mono.snk mv System.dll ../../class/lib/basic/System.dll test ! -f System.dll.mdb || mv System.dll.mdb ../../class/lib/basic/System.dll.mdb test ! -f System.pdb || mv System.pdb ../../class/lib/basic/System.pdb make[8]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System' make[7]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System' make[7]: Entering directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' Creating ../../build/deps/basic_System.Xml.dll.makefrag ... make[7]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' make[7]: Entering directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' make all-local make[8]: Entering directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' ../../jay/jay -ct < ../../jay/skeleton.cs System.Xml.XPath/Parser.jay >System.Xml.XPath/Parser.cs ../../jay/jay: 21 rules never reduced ../../jay/jay: 1 shift/reduce conflict, 42 reduce/reduce conflicts. sed "s/\%start Expr/\%start Pattern/" System.Xml.XPath/Parser.jay >Mono.Xml.Xsl/PatternParser.jay echo "#define XSLT_PATTERN" > Mono.Xml.Xsl/PatternParser.cs ../../jay/jay -ct Mono.Xml.Xsl/PatternParser.jay < ../../jay/skeleton.cs >>Mono.Xml.Xsl/PatternParser.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 MONO_PATH="../../class/lib/basic:$MONO_PATH" /var/tmp/portage/mono-1.1.12/work/mono-1.1.12/runtime/mono-wrapper ../../class/lib/basic/mcs.exe /codepage:28591 -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB -debug /noconfig -r:mscorlib.dll -r:System.dll -nowarn:0162,0618,0612,0642,1595 -target:library -out:System.Xml.dll System.Xml.XPath/Parser.cs Mono.Xml.Xsl/PatternParser.cs Mono.Xml.Xsl/PatternTokenizer.cs @System.Xml.dll.sources ** ERROR **: Invalid IL code at IL00c2 in Mono.Globalization.Unicode.MSCompatUnicodeTable:FillCJKCore (string,Mono.Globalization.Unicode.CodePointIndexer&,byte*&,byte*&,Mono.Globalization.Unicode.CodePointIndexer&,byte*&): IL_00c2: ret aborting... make[8]: *** [../../class/lib/basic/System.Xml.dll] Aborted make[8]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' make[7]: *** [do-all] Error 2 make[7]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class/System.XML' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs/class' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs' make[4]: *** [profile-do--basic--all] Error 2 make[4]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs' make[3]: *** [profiles-do--all] Error 2 make[3]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/mcs' make[2]: *** [all-local] Error 2 make[2]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12/runtime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mono-1.1.12/work/mono-1.1.12' make: *** [all] Error 2 !!! ERROR: dev-lang/mono-1.1.12 failed. !!! Function src_compile, Line 74, Exitcode 2 !!! MONO compilation failure !!! If you need support, post the topmost build error, NOT this status message. emerge info Portage 2.1_pre1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13-gentoo-r5 i686) ================================================================= System uname: 2.6.13-gentoo-r5 i686 AMD Duron(tm) processor Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1, 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.seren.com/gentoo http://cudlug.cudenver.edu/gentoo/ http://chod.cwru.edu/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm audiofile avi berkdb bitmap-fonts browserplugin bzip2 crypt cups curl directfb eds emboss encode esd exif expat f2c f77 fam ffmpeg flac foomatic foomaticdb fortran gcj gd gdbm gif gimp-print glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 jack java jpeg junit kde kdeenablefinal kdexdeltas lcms libg++ libwww lua mad mhash mikmod mng mono motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcre pdflib perl png ppds python qt quicktime readline ruby samba scanner sdl slang snmp spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Do you have any previous versions of mono installed? Thanks.
(In reply to comment #2) > Do you have any previous versions of mono installed? Thanks. > Um, I don't think I did. I *had* had a previous version installed, and encountered this first during a systemwide update. To get the system updated, I unmerged all mono versions. Subsequently, I still got this error when compiling. I did eventually get it to compile by doing incremental updates: 1.1.8.3 - 1.1.9.1 - 1.1.10 - 1.1.12. After each one I tried a direct update, but it wouldn't compile until after 1.1.10 was installed. This leads me to suspect something missing from the package, but I couldn't tell you what it is.
Please see bug #118062, I've just found and fixed a bug where mono was building some things with the installed mcs instead of the bundled one. Marking this FIXED, as I'm confident this resolved the issue in this bug as well (see the fact that the line in question is "mcs /codepage:28591 -d:NET_1_1 -d:ONLY_1_1..." which points to the fact that the installed mcs is being used (and causing issues)). Feel free to re-open if you still have this issue with the newly fixed 1.1.12 or 1.1.13 ebuilds. Thanks.