Bug 14755 - Too many compact unwind infos
Summary: Too many compact unwind infos
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.9.7.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-14 14:19 UTC by chris
Modified: 2013-09-17 08:28 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED NOT_ON_ROADMAP

Description chris 2013-09-14 14:19:57 UTC
I'm unable to compile for the simulator with 6.9.7 (works when I compiler for the device):

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -sdkroot "/Applications/Xcode.app/Contents/Developer" --cache "/Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache" --nomanifest --nosign -sim "/Users/foo/bar/bin/iPhoneSimulator/Debug/Bar.app" -r "/Users/foo/foo/bin/Debug/Foo.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 "/Developer/MonoTouch/usr/lib/mono/2.1/System.Json.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/MonoTouch.Dialog-1.dll" -r "/Developer/MonoTouch/usr/lib/mono/2.1/System.Web.Services.dll" -r "/Users/foo/ext/monotouch-bindings-pm/GoogleAnalytics/binding/GoogleAnalytics.dll" -r "/Users/foo/ext/monotouch-bindings/GoogleAdMobAds/binding/GoogleAdMobAds.dll" -debug -nolink -sdk "7.0" -targetver "7.0" --abi=i386 "-compiler:clang" "-v" "/Users/foo/bar/bin/iPhoneSimulator/Debug/Bar.exe"
Xamarin.iOS 6.9.7 Business Edition using framework: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -gdwarf-2 -arch i386 -std=c99 -I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2 -mios-simulator-version-min=7.0 -c -o /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o -x objective-c /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.m
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -lz -lsqlite3 -Wl,-pie  -gdwarf-2 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2 -mios-simulator-version-min=7.0 /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libGoogleAdMobAds.a -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libGoogleAnalytics.a -o /Users/foo/bar/bin/iPhoneSimulator/Debug/Bar.app/Bar -framework CFNetwork -framework AssetsLibrary -framework Accounts -framework AVFoundation -framework CoreBluetooth -framework CoreTelephony -framework EventKit -framework EventKitUI -framework Foundation -framework CoreMotion -framework GameKit -framework GLKit -framework iAd -framework MapKit -framework MediaPlayer -framework MessageUI -framework NewsstandKit -framework OpenGLES -framework Social -framework StoreKit -framework Twitter -framework UIKit -framework PassKit -framework AddressBookUI -framework AudioToolbox -framework CoreImage -framework ImageIO -framework Security -framework SystemConfiguration -framework AddressBook -framework QuartzCore -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework MobileCoreServices -framework CoreMedia -framework CoreMIDI -framework CoreVideo -framework ExternalAccessory -framework QuickLook -weak_framework SpriteKit -weak_framework JavaScriptCore -weak_framework MultipeerConnectivity -weak_framework GameController -weak_framework MediaAccessibility -weak_framework SafariServices -weak_framework AdSupport -lz -liconv -u _mono_pmip -u _monotouch_get_locale_country_code -u _monotouch_log -u _monotouch_start_wwan -u _monotouch_timezone_get_data -u _monotouch_timezone_get_names -u _monotouch_IntPtr_objc_msgSend_IntPtr -u _monotouch_IntPtr_objc_msgSendSuper_IntPtr -u _monotouch_release_managed_ref -u _monotouch_create_managed_ref -u _CloseZStream -u _CreateZStream -u _Flush -u _ReadZStream -u _WriteZStream /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonoboehm-2.0.a /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonotouch-debug.a
Process exited with code 1, command:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -lz -lsqlite3 -Wl,-pie  -gdwarf-2 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -Qunused-arguments -fobjc-legacy-dispatch -fobjc-abi-version=2 -mios-simulator-version-min=7.0 /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/main.i386.o -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libGoogleAdMobAds.a -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libAdmobExporter.a -force_load /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libGoogleAnalytics.a -o /Users/foo/bar/bin/iPhoneSimulator/Debug/Bar.app/Bar -framework CFNetwork -framework AssetsLibrary -framework Accounts -framework AVFoundation -framework CoreBluetooth -framework CoreTelephony -framework EventKit -framework EventKitUI -framework Foundation -framework CoreMotion -framework GameKit -framework GLKit -framework iAd -framework MapKit -framework MediaPlayer -framework MessageUI -framework NewsstandKit -framework OpenGLES -framework Social -framework StoreKit -framework Twitter -framework UIKit -framework PassKit -framework AddressBookUI -framework AudioToolbox -framework CoreImage -framework ImageIO -framework Security -framework SystemConfiguration -framework AddressBook -framework QuartzCore -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework MobileCoreServices -framework CoreMedia -framework CoreMIDI -framework CoreVideo -framework ExternalAccessory -framework QuickLook -weak_framework SpriteKit -weak_framework JavaScriptCore -weak_framework MultipeerConnectivity -weak_framework GameController -weak_framework MediaAccessibility -weak_framework SafariServices -weak_framework AdSupport -lz -liconv -u _mono_pmip -u _monotouch_get_locale_country_code -u _monotouch_log -u _monotouch_start_wwan -u _monotouch_timezone_get_data -u _monotouch_timezone_get_names -u _monotouch_IntPtr_objc_msgSend_IntPtr -u _monotouch_IntPtr_objc_msgSendSuper_IntPtr -u _monotouch_release_managed_ref -u _monotouch_create_managed_ref -u _CloseZStream -u _CreateZStream -u _Flush -u _ReadZStream -u _WriteZStream /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonoboehm-2.0.a /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib/libmonotouch-debug.a
ld: in /Users/foo/bar/obj/iPhoneSimulator/Debug/mtouch-cache/libGoogleAnalytics.a(GAI.o), too many compact unwind infos in function anon for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error MT5202: Native linking failed. Please review the build log.

It was working with 6.9.6. I tried to recompile GoogleAnalytics with 6.9.7 but that didn't change the output.
Comment 1 Sebastien Pouliot 2013-09-17 08:28:09 UTC
The issue is when using Xcode5 GM and Google Analytics. It will happen with [1] or without [2] Xamarin.iOS.

Like [2] mention this was filled as a bug with Google [3] and the workarounds are targeting 6.1 (simulator) or devices. The final fix will likely come from Google itself (a new version of Analytics).

[1] http://stackoverflow.com/questions/18847450/xamarin-ios-7-native-linking-failed
[2] http://stackoverflow.com/questions/18731667/xcode-5-gm-linker-error-too-many-compact-unwind-infos-in-function-anon-for-arch
[3] https://code.google.com/p/analytics-issues/issues/detail?id=338