Bug #10

Korlib doesn't compile on mono

Added by Simon Wollwage over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:05/20/2010
Priority:Immediate Due date:
Assignee:Michael Fröhlich % Done:

100%

Category:.NET Base Class Library Spent time: -
Target version:0.9

Description

Korlib doesn't compile on mono. Everything's fine when compiling with Microsoft .NET, but not with mono:

[csc] Source/Korlib/Primitives/String.cs(142,41): error CS0234: The type or namespace name `Intrinsic' does not exist in the namespace `Mosa.Runtime.CompilerFramework'. Are you missing an assembly reference?
[csc] Source/Korlib/Primitives/String.cs(142,41): error CS0616: `Mosa.Runtime.CompilerFramework.IntrinsicAttribute': is not an attribute class

Reference to Mosa.Runtime.dll is given, but mono seems to have problems with the real System.Attribute and our System.Attribute

History

Updated by Simon Wollwage over 1 year ago

  • Priority changed from High to Immediate

Updated by Simon Wollwage over 1 year ago

Filed a bug for this at mono. It does work and compile with MS csc, but not with mono csc. Though mono is right with the error....

Updated by Michael Fröhlich over 1 year ago

Actually mono is wrong, but ok. I'm working on this. Have it fixed in my local repository, need to check if this breaks mosacl.

Updated by Simon Wollwage over 1 year ago

Ok. Would be nice if you could commit that into your github repo.
Filed a bug report for mono here https://bugzilla.novell.com/show_bug.cgi?id=608098

Updated by Michael Fröhlich over 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Michael Fröhlich
  • % Done changed from 0 to 100

Ok, I've fixed this with an ugly hack, but it is working now at least for me (running mono 2.6.4 on OS X)

I'm not certain who is at fault so I'll not file a bug report for mono as of yet. I think it is at least partially our specific hackery that we're doing there.

Updated by Simon Wollwage over 1 year ago

  • Status changed from Resolved to Closed

Ok

Also available in: Atom PDF