ios - ld: warning: section __DATA/__objc_imageinfo__DATA has unexpectedly large size -


Do anyone know what this warning is? Then there is an error:

Command / Developer / Playfomes / iPhone Simulator. Platamate / Developer / / / / / 4vm-gcc-4.2 Exit code 1 failed

This is an Xcode project for iPad. I only see it when I compile for simulator, not device I have linked a static library (* .a) to this project and this is where I think it has failed. In addition, it was used to run on no issue simulator and I'm not sure what has changed.

All compiler output:

  LD / user / Cduckering / Library / Developer / Akskod / Derivetdeta / Aikyu- Blald / Products / debug -ifon emulator / Aikyuep / IQ general i386 CD / users / Seediking / desktop / Laitpoint / Apus / app / IQ Setenv Maksosaks_depoyimtimtiartiti 10.6 Setenv path "/ developer / platforms / IPhoneSimulatorkplatform / developer / usr / bin: / developer / usr / bin: / usr / bin: / Bin: / usr / sbin: / sbin "/Developer/Platforms/iPhoneSimulator.platf orm / Developer / usr / bin / LLVM- GCC -4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk L / users / Cduckering / Library / Developer / Xcode / DerivedData / IQ-bldfqilntfqfrccozykbqulagovx / build / product / debug-iphonesimulator f / users / cduckering / library / developer / xcode / deriveddata / intelligence-bldfqilntfqfrccozykbqulagovx / build / product / debug-iphonesimulator -filelist / users / cduckering / library / developer / xcode / deriveddata / IQ-B Ldfqilntfqfrccozykbqulagovx / Build / Intermediates / IQ.build / Dibg- iphonimulator / IQ.build / objects General / i386 / IQ.LinkFileList -mmacosx-version-min = 10.6 -dead_strip -ObjC - All_load -fprofile-User -Xlinker -objc_abi_version-xlinker2 -lCorePlot-CocoTouch-Wake_FrameworkQualityWeek_FrameworkMessageUI-FrameworkQuartzCor- FrameworkUIKET -Framework Foundation- Framework Core Graphics -Eclinker -Bijk_Path_LOTOXLinker / User / CDKilling / Library / Developer / Xcode / Derivative Data / IQ-BLDFkLIFFFracogicBackUlgovox / Build / Intermediates / IQ.build/Debug-iphonesimulator/IQ.b uild / Objects-normal / i386 / IQ.lto_temporary.o -o / Users / Cduckering / Library / Developer / Xcode / DerivedData / IQ bldfqilntfqfrccozykbqulagovx / Construction / Products / Dibg- iphonesimulator /IQ.app/IQ ld: warning: section __DATA / __ objc_imageinfo__DATA Unexpectedly large size 368 in / users / cadding / library / developers / xcode / library / developers / iq-bdfbilffococcakibulugovics / build / intermediate / iq.bild / debug -efiimimulator / iq.build / objects general / i386 / intelligence . lto_temporary.o assertion failed: (_mode == modeFinalAddress), function finalAddress, /SourceCache/ld64/ld64-123.2/src/ld/ld.hpp, line 573. 0 0x10001286c __assert_rtn + 76 1 0x10008c71c ld :: Tools File :: OutputFile :: AddressOf (LD :: Internal Constant and Lyndation :: FixupCont *, LD :: AtomCont **) + 188 2 0x10008ed58 ld :: Tools :: OutputFile :: AppliesFixUpUses (LD :: Internal and long, unsigned long , LD :: AtomCont *, unsigned char *) 2840 3x10008b62e ld :: tool :: Output file :: Written output file (LD :: Internal & amp; ) + 814 4 0x10008431c ld :: Tools :: Output File :: Written :: Internal & amp;) + 156 5 0x100012e3f Main + 1247 6xx100000e14 Start + 52 Collect2: Return to Ld 1 Position Command / Developer / Platforms / iPhoneSimulator Exclude .platform / developer / usr / bin / llvm-gcc-4.2 with exit code 1    

The error is an internal error, which is then visible when the LLVM compiler is not expected to find a symbol during the last link-time optimization phase. A common reason is to connect with a static library, in which some necessary symbols have been stripped (no error is made during adding static library, although if a library was dynamically added).

Although a bug with LLVM is also not reporting true error, the correct fix is ​​to ensure that static libraries contribute to all symbols during the link. Try to check the build settings for the static libraries included in the project, make sure separating the linked product (.a file) is either disabled or just setting debug symbols in the bar.

If you control the construction of a stable library, LLVM is an alternative solution for disabling link-time optimization, though the result may be in the production of sub-optimal code.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -