Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9179749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:52:42+00:00 2026-06-17T17:52:42+00:00

According to the literature, an A6 processor will execute ARMv7 code. My project is

  • 0

According to the literature, an A6 processor will execute ARMv7 code. My project is failing at link because a library was built for ARMv7, but the application is built for ARMv7s.

A typical message is (when I attach my iPad 4 (Retina) or iPhone 5):

ld: warning: ignoring file /usr/local/ssl/iphoneos/lib//fipscanister.o, file was built for armv7 which is not the architecture being linked (armv7s): /usr/local/ssl/iphoneos/lib//fipscanister.o
ld: warning: ignoring file /usr/local/ssl/iphoneos/lib//libcrypto.a, file was built for archive which is not the architecture being linked (armv7s): /usr/local/ssl/iphoneos/lib//libcrypto.a

Undefined symbols for architecture armv7s:
  "_FIPS_incore_fingerprint", referenced from:
      _FINGERPRINT_premain in fips_premain.o
  "_FIPS_signature", referenced from:
      _FINGERPRINT_premain in fips_premain.o
  "_FIPS_text_start", referenced from:
      _FINGERPRINT_premain in fips_premain.o
ld: symbol(s) not found for architecture armv7s

I know I can resolve this by removing ARMv7s from Valid Architectures (VALID_ARCHS), but I’m not sure why since the A6 processor can execute A5 object code. Or I can perform an additional build of the library for the ARMv7s architecture, but that’s more work and requires a different on-disk directory structure.

Is there any magic to link an ARMv7 library with an ARMv7s application?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:52:44+00:00Added an answer on June 17, 2026 at 5:52 pm

    From Jim Grosbach on the Xcode mailing list, the linker switch -allow_sub_type_mismatches should allow ld to proceed with linking. And from Apple’s ld man pages:

     -allow_sub_type_mismatches
                 Normally the linker considers different cpu-subtype for ARM
                 (e.g. armv4t and armv6) to be different different architec-
                 tures that cannot be mixed at build time.  This option
                 relaxes that requirement, allowing you to mix object files
                 compiled for different ARM subtypes.
    

    There’s also a Changelog entry that details the environmental variable called LD_ALLOW_CPU_SUBTYPE_MISMATCHES.

    However, I found -allow_sub_type_mismatches simply did not work on Xcode 4.5.2. Grepping the web reveals a few Apple RADAR’s for -allow_sub_type_mismatches. See, for example, radar://6134468.

    Hopefully its fixed by now, but nothing surprises me when it comes to Apple and their defective software.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According MSDN, FxCop is an application that analyzes managed code assemblies (code that targets
According to this link: http://msdn.microsoft.com/en-us/library/live/hh826541.aspx In order to use the Live SDK you have
According to this after installing resharper code completion should looks like this but what
According to the Grails literature http://grails.org/doc/2.0.x/ref/Domain%20Classes/getAll.html I should be able to do this def
According to PHP.net manual, pg_pconnect will create a persistent connection, or will return the
According to the definition, a Junction Table (bridge table/link table) is used for many-to-many
According to msdn it should be in windbase.h but it is not available instead
According to literature on the web, I can see that there are two specifications
According to the mustache RFC A {{name}} tag in a basic template will try
According to https://issues.sonatype.org/browse/OSSRH-3293 Maven m2e Code-Style and Save-Actions connector This plugin is executed inside

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.