Weird linker error: "armv7 has no pc-rel bx thumb instruction"
Weird linker error: "armv7 has no pc-rel bx thumb instruction"
- Subject: Weird linker error: "armv7 has no pc-rel bx thumb instruction"
- From: Jens Alfke <email@hidden>
- Date: Mon, 06 Aug 2012 10:04:58 -0700
A user of my TouchDB framework is reporting that a minimal iOS app incorporating Release build of the framework fails to link due to the following weird error:
> ld: armv7 has no pc-rel bx thumb instruction. Can't fix up branch to NO BINDING in anon in anon from /Users/bond/Desktop/Archive/CouchCocoa.framework/CouchCocoa(CouchDynamicObject.o) for architecture armv7
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
He says the Debug build of the framework works fine, and linking on the simulator works fine.
This is with Xcode 4.4; he hasn't tried with earlier versions. But I know other people have shipped apps using this library, presumably with the Release configuration, so I suspect this didn't occur in 4.3.
Any ideas what this error means? It sounds like some kind of internal problem in the toolchain.
—Jens
_______________________________________________
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