Just updated to Mono 3.1 (from the beta channel)
Rebuilt a perviously working project, and KABOOM
Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache" --nomanifest --nosign -dev "/Users/nic/code/git/tripwallet/bin/iPhone/AppStore/TripWallet.app" -r "/Users/nic/code/git/tripwallet/MonoTouch.Dialog/bin/iPhone/Release/MonoTouch.Dialog.dll" -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/nic/code/git/tripwallet/meta/NewtonsoftJsonMonoTouch.dll" --crashreporting-api-key:zzz -linksdkonly -sdk "6.1" -targetver "5.1" --abi=armv7+llvm "/Users/nic/code/git/tripwallet/bin/iPhone/AppStore/TripWallet.exe"
AOT Compilation exited with code 1, command:
MONO_PATH=/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/Build /Developer/MonoTouch/usr/bin/arm-darwin-mono-boehm --debug --llvm -O=gsharedvt --aot=mtriple=armv7-ios,full,static,asmonly,direct-icalls,nodebug,dwarfdebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s "/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/Build/System.Xml.dll"
Assertion failed: (indexes), function PrepareMonoLSDA, file /Developer/MonoTouch/Source/llvm/lib/CodeGen/AsmPrinter/DwarfMonoException.cpp, line 340.
0 llc 0x00929cc8 void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 13256
1 llc 0x00929f6c void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 13932
2 llc 0x0092a3ba void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 15034
3 libsystem_c.dylib 0x9703b8cb _sigtramp + 43
4 libsystem_c.dylib 0xffffffff _sigtramp + 1761363807
5 llc 0x0092a02b void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 14123
6 llc 0x0092a002 void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 14082
7 llc 0x0043c5c8 void std::__final_insertion_sort<llvm::LandingPadInfo const**, bool (*)(llvm::LandingPadInfo const*, llvm::LandingPadInfo const*)>(llvm::LandingPadInfo const**, llvm::LandingPadInfo const**, bool (*)(llvm::LandingPadInfo const*, llvm::LandingPadInfo const*)) + 7384
8 llc 0x0043eaef void std::__final_insertion_sort<llvm::LandingPadInfo const**, bool (*)(llvm::LandingPadInfo const*, llvm::LandingPadInfo const*)>(llvm::LandingPadInfo const**, llvm::LandingPadInfo const**, bool (*)(llvm::LandingPadInfo const*, llvm::LandingPadInfo const*)) + 16895
9 llc 0x00404740 std::vector<llvm::TargetLowering::AsmOperandInfo, std::allocator<llvm::TargetLowering::AsmOperandInfo> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::TargetLowering::AsmOperandInfo*, std::vector<llvm::TargetLowering::AsmOperandInfo, std::allocator<llvm::TargetLowering::AsmOperandInfo> > >, llvm::TargetLowering::AsmOperandInfo const&) + 17152
10 llc 0x0014b52b std::_Rb_tree<llvm::MachineInstr*, std::pair<llvm::MachineInstr* const, unsigned int>, std::_Select1st<std::pair<llvm::MachineInstr* const, unsigned int> >, std::less<llvm::MachineInstr*>, std::allocator<std::pair<llvm::MachineInstr* const, unsigned int> > >::_M_erase(std::_Rb_tree_node<std::pair<llvm::MachineInstr* const, unsigned int> >*) + 1883
11 llc 0x004e0067 std::vector<llvm::MachineBasicBlock*, std::allocator<llvm::MachineBasicBlock*> >::_M_fill_insert(__gnu_cxx::__normal_iterator<llvm::MachineBasicBlock**, std::vector<llvm::MachineBasicBlock*, std::allocator<llvm::MachineBasicBlock*> > >, unsigned long, llvm::MachineBasicBlock* const&) + 1719
12 llc 0x0085f238 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 29032
13 llc 0x0085f51f std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 29775
14 llc 0x0085f833 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 30563
15 llc 0x0085fee0 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 32272
16 llc 0x0086012b std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 32859
17 llc 0x00102218
18 llc 0x00100ca5
Stack dump:
0. Program arguments: /Developer/MonoTouch/LLVM/bin/llc -mattr=+vfp2,-neon,+d16 -asm-verbose=false -mtriple=armv7-ios -relocation-model=pic -disable-gnu-eh-frame -enable-mono-eh-frame -o /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s.opt.bc
1. Running pass 'Function Pass Manager' on module '/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s.opt.bc'.
2. Running pass 'ARM Assembly / Object Emitter' on function '@mono_aot_personality'
Mono Ahead of Time compiler - compiling assembly /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/Build/System.Xml.dll
Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree -domfrontier -scalarrepl -instcombine -simplifycfg -domtree -domfrontier -scalarrepl -simplify-libcalls -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree -loops -loop-simplify -domfrontier -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loop-simplify -lcssa -iv-users -indvars -loop-deletion -loop-simplify -lcssa -loop-unroll -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s.opt.bc /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s.bc
Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+vfp2,-neon,+d16 -asm-verbose=false -mtriple=armv7-ios -relocation-model=pic -disable-gnu-eh-frame -enable-mono-eh-frame -o /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s /Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/System.Xml.dll.armv7.s.opt.bc
error MT3001: Could not AOT the assembly '/Users/nic/code/git/tripwallet/obj/iPhone/TestFlight/mtouch-cache/Build/System.Xml.dll'
If it's any help, I MAY be in an unlicensed state, as I got a "can't do that with the starter edition", even tho I have the business edition... (or maybe not:
Xamarin Studio Version 4.0.9 (build 12) Installation UUID: e2c9010f-f7fa-4697-9e56-a6088aa107ef Runtime: Mono 3.1.1 ((no/c07cb68) GTK 2.24.20 GTK# (2.12.0.0) Package version: 301010000
Apple Developer Tools Xcode 4.6.3 (2068) Build 4H1503
Xamarin.iOS Version: 6.3.7.164 (Business Edition) Hash: b7e6b95 Branch: Build date: 2013-03-07 10:27:05-0400
Any ideas anyone? Totally blocked now :(