Bug 57098 - Use the LLVM optimizing compiler is disabled in Xamarin 4.5
Summary: Use the LLVM optimizing compiler is disabled in Xamarin 4.5
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.10 (d15-2)
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-06-02 11:13 UTC by Saravanan
Modified: 2017-08-01 10:05 UTC (History)
4 users (show)

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


Attachments
Disabled option marked in screenshot (117.21 KB, image/jpeg)
2017-06-02 11:13 UTC, Saravanan
Details


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:
Status:
RESOLVED ANSWERED

Description Saravanan 2017-06-02 11:13:02 UTC
Created attachment 22643 [details]
Disabled option marked in screenshot

Could not enable the options "Use the LLVM optimizing compiler" and "Use Thumb-2 instruction set for ARMv7 and ARMv7s" from Visual Studio/Xamarin studio after migrating Xamarin 4.5, this options are disabled in IDE. If i add properties <MtouchUseLlvm> and <MtouchUseThumb> as true manually in .csproj file, the option is checked in IDE but still not enabled.

Please provide your input on how to use these properties correctly? why these are not enabled in Xamarin 4.5?.

Similarly when i "enable concurrent garbage collector" on IDE, added "<MtouchEnableSGenConc>" instead "<MtouchUseSGen>" in .csproj file. Which is correct property?.


System Info:
Xamarin   4.5.0.443 (c871575)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android   7.3.0.13 (448f54f)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS   10.10.0.30 (30b6e87)
Visual Studio extension to enable development for Xamarin.iOS.

Please update me resolution.
Comment 1 Manuel de la Peña [MSFT] 2017-06-05 09:30:20 UTC
Adding @rolf in cc since he has more information about this feature.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-06-13 13:08:52 UTC
LLVM is not available for debug builds (because debugging doesn't work with LLVM).

If you select a release build, you can enable LLVM.

To use the concurrent garbage collector, just check the checkbox in the IDE.
Comment 3 Yue 2017-07-21 12:34:37 UTC
But appstore and ad-hoc build can't enable llvm too
Comment 4 Rolf Bjarne Kvinge [MSFT] 2017-08-01 10:05:51 UTC
@Yue, make sure "Enable debugging" is not selected in the "iOS Debug" project options.