[Mono-devel-list] corlib compilation failed

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Jan 27 04:07:39 EST 2004


El mar, 27-01-2004 a las 09:07, Jaroslaw Kowalski escribió:
> Hi guys!
> 
> I've setup a automated mono rebuild engine (cron-based - I rebuild from
> anoncvs 3 times a day). I usually have no problems beside resolving mutual
> dependencies between System.dll and System.XML.dll.
> 
> However, last compilation (at 06:00 GMT) failed with the following:
> 
> mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -d:ONLY_1_1 -g
> /noconfig /unsafe /nostdlib /target:library
> /out:../../class/lib/mscorlib.dll @../../build/deps/corlib.dll.response
> System.Security.Policy/CodeGroup.cs(130) error CS0121: Ambiguous call when
> selecting function due to implicit casts
> System.Security.Policy/CodeGroup.cs(130) error CS8006: Could not find any
> applicable function for this argument list
> System.Security.Policy/CodeGroup.cs(130) error CS0121: Ambiguous call when
> selecting function due to implicit casts
> System.Security.Policy/CodeGroup.cs(130) error CS8006: Could not find any
> applicable function for this argument list
> Compilation failed: 4 error(s), 0 warnings
> 
> Looking at the source code I found this in "CodeGroup.cs":
> 
> ====================
> // FIXME: this compiles with CSC. Didn't succeed at creating a
> smaller/different test case :(
> //          if (!cg.MembershipCondition.Equals (m_membershipCondition))
>             if (cg.MembershipCondition.ToString () !=
> m_membershipCondition.ToString ())
>                 return false;
> ====================
> 
> Previous compilation (at 01:00 GMT) was successful.
> I attempted manual CVS update but it didn't help (no updates). What should I
> do about it?

I've added a workaround for that. It's a bug in mcs.

-Gonzalo





More information about the Mono-devel-list mailing list