Bug 10811 - LLVM: clang won't compile the generated assembly code
Summary: LLVM: clang won't compile the generated assembly code
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.2.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
Depends on:
Reported: 2013-03-01 08:50 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2013-03-05 11:37 UTC (History)
2 users (show)

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

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] 2013-03-01 08:50:22 UTC
1. Get monotouch master (at least ebd35efbc).
2. Create a new project from a template, switch to a device build, enable LLVM.
3. Add this to the additional mtouch arguments:


4. Try to compile.


/var/folders/.../System.dll.armv7.s:365:18: error: non-local symbol required in directive
 .private_extern L_type_info_0

/var/folders/.../System.Core.dll.armv7.s:401:14: error: invalid operand for instruction
 cmp r5, #2, 2
Comment 1 Zoltan Varga 2013-03-05 11:37:55 UTC
Fixed in master/mobile-master.