iPhone/iPad: Link ARMv7 (Library) to ARMv7s (App)
iPhone/iPad: Link ARMv7 (Library) to ARMv7s (App)
- Subject: iPhone/iPad: Link ARMv7 (Library) to ARMv7s (App)
- From: Jeffrey Walton <email@hidden>
- Date: Thu, 24 Jan 2013 17:55:55 -0500
Hi All,
I'm hoping someone has a work around for a procedural issue I am encountering.
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). 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. Plus, ARMv7s could raise procedural
questions with NIST and the testing Lab.
Is there any magic to link an ARMv7 library with an ARMv7s application?
Jeff
_______________________________________________
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