Bug 36371 - AOT: passing --debug:all to mtouch causes AOT compilation to fail for mscorlib
Summary: AOT: passing --debug:all to mtouch causes AOT compilation to fail for mscorlib
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
Depends on:
Reported: 2015-11-30 12:47 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2015-11-30 17:46 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

test project (5.16 KB, application/zip)
2015-11-30 12:48 UTC, Rolf Bjarne Kvinge [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Rolf Bjarne Kvinge [MSFT] 2015-11-30 12:47:10 UTC
* Try to build attached project.


> AOT Compilation exited with code 139, command:
> MONO_PATH=/Users/rolf/Projects/unified-test-app/obj/iPhone/Debug/mtouch-cache/Build /work/maccore/master/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/bin/arm-darwin-mono-sgen --debug -O=gsharedvt  --aot=mtriple=armv7-ios,full,static,asmonly,direct-icalls,soft-debug,dwarfdebug,no-direct-calls,outfile=/Users/rolf/Projects/unified-test-app/obj/iPhone/Debug/mtouch-cache/mscorlib.dll.armv7.s "/Users/rolf/Projects/unified-test-app/obj/iPhone/Debug/mtouch-cache/Build/mscorlib.dll"
> MTOUCH: error MT3001: Could not AOT the assembly '/Users/rolf/Projects/unified-test-app/obj/iPhone/Debug/mtouch-cache/Build/mscorlib.dll'
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-11-30 12:48:18 UTC
Created attachment 14031 [details]
test project
Comment 2 Zoltan Varga 2015-11-30 17:46:15 UTC
Should be fixed by the mono bump in maccore 9acdbbce6d76e284149aa64157eb85e3a61b0f02.