This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Questions about the libffi development process
- From: Richard Henderson <rth at redhat dot com>
- To: Russell Keith-Magee <russell at keith-magee dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Fri, 24 Apr 2015 06:28:58 -1000
- Subject: Re: Questions about the libffi development process
- Authentication-results: sourceware.org; auth=none
- References: <CAJxq849SA-pRuNZpENhrJHQdtW+LVD-Pr988j0jWuNVpLTo0Zg at mail dot gmail dot com> <553692BE dot 2070306 at redhat dot com> <CAJxq84-=Acm-aWSqTZ5+vyPbm2K3bwYbwPnRXvAAj7UEcuhjMA at mail dot gmail dot com> <55394442 dot 9020701 at redhat dot com> <CAJxq84-PgKOCuZTJZLLh0_VYtu9gch5Zar0qWtooKUzkALCh_Q at mail dot gmail dot com>
On 04/23/2015 03:49 PM, Russell Keith-Magee wrote:
> None at all? There's no release candidate process? No release testing
> procedures?
I Anthony will have to answer that.
> libtool: compile: xcrun -sdk iphoneos clang -arch armv7
> -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -I.
> -I../include -Iinclude -I../src -miphoneos-version-min=7.0 -MT
> src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c
> ../src/arm/sysv.S -fno-common -DPIC -o src/arm/.libs/sysv.o
> ../src/arm/sysv.S:111:2: error: .arch directive not valid for Mach-O
> .arch armv5t
Any chance you know what is the base architecture for iOS on ARM?
> ../src/arm/sysv.S:128:8: error: invalid operand for instruction
> ldcle p11, cr0, [r0] @ vldrle d0, [sp]
> ^
Try replacing these with the comment (text after @) and see if it assembles.
The generic "coprocessor load" instructions are used instead of the more
specific vfp load instructions in order to support armv7hf at run-time while
not requiring more than arm5t at compile-time. Something that makes sense for
ELF, but I guess not for iOS.
r~