I have a particular nasty ld problem: I'm generating a large object file (a "boot image", armv7 only) which is later used by an Xcode project.
The boot-image.o is always created successfuly, no matter how large it is. However, when building the Xcode project, Xcode later fails with:
ld: Unable to insert branch island. No insertion point available. for architecture armv7
A few things to mention at this point:
Considering the above, I think my only option will be to somehow segment my boot-image.o into several objects prior building with Xcode. But how?
[1] http://docs.unity3d.com/412/Documentation/Manual/TroubleShooting.html

Make sure you have not selected "Any iOS Device" as your build target. select any iOS simulator or a real device then the problem will be fixed.
We just ran in the same issues in one of our current Unity 3D projects. It really seems to be the only option, to get the size of "too large" .o files down.
You can try the following (helped us a lot):
Depending on the architecture / setup, the limits seem to be 14MB or 30MB. See also here: http://www.opensource.apple.com/source/ld64/ld64-133.3/src/ld/passes/branch_island.cpp http://forum.unity3d.com/threads/unable-to-debug-on-device-ld-unable-to-insert-branch-island.148563/#post-1841860
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With