[Mono-bugs] [Bug 334544] Mono's ilasm produces different output than .NET ilasm

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 17 08:38:08 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=334544#c3





--- Comment #3 from Christian Heimes <sites at cheimes.de>  2007-10-17 06:38:07 MST ---
At first I'm sorry that I messed up the bug report. I accidentally pressed the
send button instead of the add attachment button.

Mono's ilasm produces a different output than .NET ilasm. This is a problem
with PythonDotNet's clr.pyd module. The import magic doesn't work. By the way a
pyd file is just an ordinary and renamed DLL file

The file is compiled with:

ilasm /nologo /dll /quiet /output=clr.pyd \
            src/runtime/clrmodule.il

The file compiled with .NET ilasm load the Python.Runtime.dll assembly and
initializes PythonDotNet. But the file generated by Mono's ilasm raises an
exception in Python:

ImportError: dynamic module does not define init function (initclr)

Christian


-- 
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