• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Weird linker error: "armv7 has no pc-rel bx thumb instruction"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Xcode LLDB: Not Stopping On Breakpoints
  • Next by Date: PackageMaker and Read Me file etc.
  • Previous by thread: Re: Mail plugin
  • Next by thread: PackageMaker and Read Me file etc.
  • Index(es):
    • Date
    • Thread