[Mono-list] Mono 2.0 and Pathscale compiler problem

Andreas Färber andreas.faerber at web.de
Sun Oct 26 13:53:16 EDT 2008


Hello,

Am 22.10.2008 um 16:25 schrieb kambei:

> I've tried to compile Mono with Pathscale compiler
> (http://www.pathscale.com/) on Fredora 8

Mono officially requires GCC for compiling, I believe. If you just  
want to compile Mono, use Fedora's gcc instead.

If however for some reason you need to work with that specific  
compiler, ...

> and got such errror:
>  ### Assertion failure at line 1712 of ../../be/cg/cgemit.cxx:
>  ### Compiler Error in file ../../../mono/metadata/metadata.c during
> Assembly phase:
>  ### literal for operand 1 is not in range
>  Error: Signal Aborted in phase Assembly -- processing aborted
>
> The reason is "guint mono_metadata_generic_context_hash (const
> MonoGenericContext *context)" function from
> mono-2.0/mono/metadata/metadata.c file.
>
> I've commented the body of that function and mono compiled  
> successfully,

... you will have to bisect the function body to find out what it  
doesn't like, since it doesn't say so above. :)

You should probably contact the compiler vendor, as such an assertion  
failure shouldn't happen.

Andreas



More information about the Mono-list mailing list