[Mono-bugs] [Bug 639172] --debug=casts not supported on Mac

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 14 11:34:22 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=639172#c2


--- Comment #2 from Geoff Norton <gnorton at novell.com> 2010-09-14 15:34:20 UTC ---
Created an attachment (id=389560)
 --> (http://bugzilla.novell.com/attachment.cgi?id=389560)
patch

Its pretty trivial now that we have it all figured out for sgen:


[0.33][11:21] plasma at limestone:~$ /opt/mono-trunk/bin/mono --debug=casts
test.exe 

Unhandled Exception: System.InvalidCastException: Unable to cast object of type
'System.String' to type 'T'.
  at T.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[1.01][11:27] plasma at limestone:~$ uname -a
Darwin limestone.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53
PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386


We just need to extend the guard to x86 only, or implement the OP_TLS_GET on
ppc and amd64 darwin as well.  (AMD64 is trivial, havn't looked at what ppc
would require yet, and I'm not sure its worth it

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