Strange linker error:
ld: warning: could not create compact unwind for -[FileHandleTest WriteOverloads]: register 27 saved somewhere other than in frame
And A LOT of similar stuff! Full log attached.
linker-errors-test.txt (37.0 KB)
Strange linker error:
ld: warning: could not create compact unwind for -[FileHandleTest WriteOverloads]: register 27 saved somewhere other than in frame
And A LOT of similar stuff! Full log attached.
linker-errors-test.txt (37.0 KB)
Do you know what platform this was? (armv7, armv7s, arm64)
Got something the last one had the real error + platform in it:
ld: in ./Debug/iOS/Link//Libraries/libSugar.a(Sugar.o), in section __TEXT,__text reloc 3885: r_extern == 0 and ARM64_RELOC_PAGEOFF12 not supported for architecture arm64
Yes! It was compilation for arm64 on os x 10.9.1 and xcode 5.0.2 (5a3005) - all soft is release, not beta.
Thanks, logged as bugs://66315: Compiling iOS Tests for device - strange linker error
1461 progress: Now i m able to compile iOS.Tests with iOS.TestFramework, but compiling for arm64 produces crash on run (console log):
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: Thread 0 crashed with ARM Thread State (64-bit):
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x0: 0x0000000000000001 x1: 0x0000000094495244 x2: 0x00000001909972a0 x3: 0x0000000170275c00
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x4: 0x0000000000000000 x5: 0x0000000000000001 x6: 0x0000000000000070 x7: 0x0000000000000000
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x8: 0x0000000000000001 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000040
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x12: 0x000000010015a704 x13: 0x00000001001c7000 x14: 0x0000000000000000 x15: 0x0000000000000000
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x16: 0x000000018de49398 x17: 0x0000000c00000064 x18: 0x0000000000000000 x19: 0x0000000190939308
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x20: 0x000000003ffeffff x21: 0x0000000080010000 x22: 0x0000000190938160 x23: 0x0000000000000001
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x24: 0x0000000000000000 x25: 0x00000001909972a0 x26: 0x0000000000000000 x27: 0x0000000000000000
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: x28: 0x000000016fdf3cd8 fp: 0x000000016fdf33a0 lr: 0x000000018d6eb700
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: sp: 0x000000016fdf3310 pc: 0x000000018d6eb73c cpsr: 0x60000000
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: Binary Images:
Feb 27 23:33:59 Deks-iPhone-5s ReportCrash[4462] <Error>: 0x10000c000 - 0x1001abfff SugarTest arm64 <1517ecffd57034f787d0061179ab3881> /var/mobile/Applications/795E95A6-65CD-4852-9304-B513506DF0BB/SugarTest.app/SugarTest
Running armv7/armv7s mode is slightly different - app starts, shows splash and then crashes (after 5-7 secs):
Feb 27 23:39:27 Deks-iPhone-5s UserEventAgent[15] <Notice>: jetsam: kernel termination snapshot being created
Feb 27 23:39:27 Deks-iPhone-5s com.apple.launchd[1] (UIKitApplication:com.deksden.SugarTest[0x5f09][4487]) <Notice>: (UIKitApplication:com.deksden.SugarTest[0x5f09]) Exited: Killed: 9
Feb 27 23:39:27 Deks-iPhone-5s com.apple.launchd[1] (UIKitApplication:com.deksden.SugarTest[0x5f09]) <Notice>: (UIKitApplication:com.deksden.SugarTest[0x5f09]) Throttling respawn: Will start in 2147483627 seconds
Thank you for the report. Logged as #66728 for review.