[Mono-bugs] [Bug 364674] mcs requires predefined types even with -noconfig -nostdlib

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 29 08:41:23 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=364674

User lauren.bedoule at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=364674#c16





--- Comment #16 from lauren bedoule <lauren.bedoule at gmail.com>  2008-07-29 06:41:22 MDT ---
Marek,
After several attempts under cygwin, either with the tarball or a fresh import
of the sources using svn, I couldn't manage to have mono 2.0 correctly
installed. I got a illegal read exception with the tarball, and gmcs acting as
a phantom from the svn sources. I then switched to linux, and everything went
well for the 2.0 installation.
I finally got the following stack trace when compiling my own mscorlib with
gmcs 2.0:

Unhandled Exception: System.InvalidCastException: Cannot cast from source type
to destination type.
  at Mono.CSharp.Attribute.ResolveConstructor (Mono.CSharp.EmitContext ec)
[0x00000]
  at Mono.CSharp.Attribute.Resolve () [0x00000]
  at Mono.CSharp.Attribute.Emit (System.Collections.Specialized.ListDictionary
allEmitted) [0x00000]
  at Mono.CSharp.Attributes.Emit () [0x00000]
  at Mono.CSharp.TypeContainer.EmitType () [0x00000]
  at Mono.CSharp.RootContext.EmitCode () [0x00000]
  at Mono.CSharp.Driver.Compile () [0x00000]
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list