link-time optimization error using llvm 3.0
link-time optimization error using llvm 3.0
- Subject: link-time optimization error using llvm 3.0
- From: tobias ford <email@hidden>
- Date: Tue, 06 Dec 2011 01:16:18 -0600
Hello everyone,
I have a project that contains multiple embedded projects for libraries that builds a single final target. When building it using link-time optimizations and the llvm 3.0, the build fails with this cryptic error:
Section __DATA/__objc_imageinfo has unexpectedly large size 432 in /Users/tobias/Developer/sts/starlegends/s0/src/build/iuniv/build/Debug.Spacetime/StarLegends.build/iphoneos/StarLegends.build/Objects-normal/armv7/StarLegends.lto_temporary.o
Is anyone familiar with this error? If I turn off link-time optimizations then it builds fine. Switching to llvm gcc 4.2 with link-time optimizations turned on also works.
Is anyone familiar with this error? If I use llvm gcc 4.2, is the link-time optimization option actually valid? I think that I recall this not being the case before, but that may have been only when using the real gcc pre Xcode 4.2 If so, will it generate similar link optimization results as when using llvm 3.0?
Thanks.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden