[Mono-bugs] [Bug 577984] New: Ahead-of-time compiler getting "Can't handle as return value 0x1e"
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Feb 8 11:53:06 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=577984
http://bugzilla.novell.com/show_bug.cgi?id=577984#c0
Summary: Ahead-of-time compiler getting "Can't handle as return
value 0x1e"
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: Tools
AssignedTo: gnorton at novell.com
ReportedBy: banshee at restphone.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=341320)
--> (http://bugzilla.novell.com/attachment.cgi?id=341320)
Include this dll and you'll see the error
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US;
rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7
I'm trying to include some code (in this case, just hello world) compiled with
F#, and I'm getting "Can't handle as return value 0x1e" - here's the complete
build output:
Building: TouchMeMd (Debug|iPhone)
Building Solution TouchMeMd
Building: TouchMeMd (Debug|iPhone)
Performing main compilation...
Updating CodeBehind files
/Developer/MonoTouch/usr/bin/smcs /noconfig
"/out:/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.exe"
"/r:System.dll" "/r:System.Xml.dll" "/r:System.Core.dll" "/r:monotouch.dll"
"/r:/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/fsharp.dll" /nologo /warn:4
/debug:+ /debug:full /optimize- /codepage:utf8 "/define:DEBUG" /t:exe
"/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/MainWindow.xib.designer.cs"
"/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/Main.cs"
Build complete -- 0 errors, 0 warnings
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev
"/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll"
-r="/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll"
-r="/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/fsharp.dll" -debug -nolink
"/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.exe"
Framework is:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk
Copied
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.exe
to
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/TouchMeMd.exe
Copied
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/fsharp.dll to
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/fsharp.dll
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,soft-debug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/TouchMeMd.exe.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/TouchMeMd.exe
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/TouchMeMd.exe
Code: 2444 Info: 39 Ex Info: 531 Unwind Info: 99 Class Info: 143 PLT: 14 GOT
Info: 208 GOT Info Offsets: 128 GOT: 132 Offsets: 132
Output file:
'/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/TouchMeMd.exe.s'.
Linking symbol: '_mono_aot_module_TouchMeMd_info'.
Compiled 10 out of 10 methods (100%)
Methods without GOT slots: 0 (0%)
Direct calls: 0 (0%)
JIT time: 2 ms, Generation time: 9 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,nodebug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/monotouch.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/monotouch.dll
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/monotouch.dll
Code: 1373592 Info: 58725 Ex Info: 42786 Unwind Info: 5498 Class Info: 41915
PLT: 2572 GOT Info: 54214 GOT Info Offsets: 34220 GOT: 34224 Offsets: 109320
Output file:
'/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/monotouch.dll.s'.
Linking symbol: '_mono_aot_module_monotouch_info'.
Compiled 7862 out of 7862 methods (100%)
Methods without GOT slots: 2173 (27%)
Direct calls: 5599 (33%)
JIT time: 1501 ms, Generation time: 768 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,nodebug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/mscorlib.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/mscorlib.dll
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/mscorlib.dll
Code: 3047328 Info: 81663 Ex Info: 101470 Unwind Info: 8232 Class Info: 59535
PLT: 4341 GOT Info: 89935 GOT Info Offsets: 37852 GOT: 54752 Offsets: 224244
Output file:
'/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/mscorlib.dll.s'.
Linking symbol: '_mono_aot_module_mscorlib_info'.
Compiled 16594 out of 16594 methods (100%)
Methods without GOT slots: 10840 (65%)
Direct calls: 12217 (49%)
JIT time: 2238 ms, Generation time: 1671 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,nodebug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/System.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/System.dll
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/System.dll
Code: 1202068 Info: 35774 Ex Info: 48971 Unwind Info: 5969 Class Info: 36498
PLT: 2646 GOT Info: 52224 GOT Info Offsets: 23892 GOT: 23896 Offsets: 91140
Output file:
'/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/System.dll.s'.
Linking symbol: '_mono_aot_module_System_info'.
Compiled 6825 out of 6826 methods (99%)
1 methods have other problems (0%)
Methods without GOT slots: 4216 (61%)
Direct calls: 2619 (43%)
JIT time: 971 ms, Generation time: 543 ms, Assembly+Link time: 108 ms.
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,nodebug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/Mono.Security.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/Mono.Security.dll
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/Mono.Security.dll
Code: 435948 Info: 9216 Ex Info: 11462 Unwind Info: 4253 Class Info: 11169 PLT:
790 GOT Info: 9709 GOT Info Offsets: 6476 GOT: 6480 Offsets: 24576
Output file:
'/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/Mono.Security.dll.s'.
Linking symbol: '_mono_aot_module_Mono_Security_info'.
Compiled 1955 out of 1955 methods (100%)
Methods without GOT slots: 1121 (57%)
Direct calls: 1348 (38%)
JIT time: 336 ms, Generation time: 158 ms, Assembly+Link time: 0 ms.
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,soft-debug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/fsharp.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/fsharp.dll
Mono Ahead of Time compiler - compiling assembly
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/fsharp.dll
Can't handle as return value 0x1eCompilation exited with code 134, command:
MONO_PATH=/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,soft-debug,outfile=/var/folders/h-/h-sGPopnGs8IE5Vu1FU9ME+++TI/-Tmp-/tmp5585b00b.tmp/fsharp.dll.s
/Users/jamesmoore/dev/mono/TouchMeMd/TouchMeMd/bin/iPhone/Debug/TouchMeMd.app/fsharp.dll
---------------------- Done ----------------------
Build: 1 error, 0 warnings
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
I'm using 1.9 alpha monotouch.
The F# code is just:
HelloWorld.fs
namespace com.restphone
type TestingFs() =
member self.hw() = System.Console.WriteLine("hello world")
Compiled with:
/Library/Frameworks/Mono.framework/Versions/Current/bin/mono
/Users/jamesmoore/dev/FSharp-1.9.7.8/bin/fsc.exe --target:library --warn:3
--warnaserror:76 --noframework
-r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll -o fsharp.dll
--platform:x86 --standalone HelloWorld.fs
--
Configure bugmail: http://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