libffi / libffi

A portable foreign-function interface library.
http://sourceware.org/libffi
Other
3.21k stars 706 forks source link

'arm64-apple' not recognized by configure.sub #152

Closed aidanthewiz closed 6 years ago

aidanthewiz commented 9 years ago

When you try to configure libffi 3.2.1 on the iPhone 5S IOS 8.1, it throws an error that 'arm64-apple' is not recognized even though it says in the documentation that it supports arm64 on ios. Here is the output log:

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.2.1, which was generated by GNU Autoconf 2.69. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = iPhone uname -m = iPhone6,1 uname -r = 14.0.0 uname -s = Darwin uname -v = Darwin Kernel Version 14.0.0: Tue Oct 7 00:04:44 PDT 2014; root:xnu-2783.3.13~4/RELEASE_ARM64_S5L8960X

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 14.0.0: Tue Oct 7 00:04:44 PDT 2014; root:xnu-2783.3.13~4/RELEASE_ARM64_S5L8960X Kernel configured for up to 2 processors. 2 processors are physically available. 2 processors are logically available. Processor type: arm64 (arm64 v8) Processors active: 0 1 Primary memory available: 999.16 megabytes Default processor set: 137 tasks, 665 threads, 2 processors Load average: 1.80, Mach factor: 0.19 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/games

-----------

Core tests.

-----------

configure:2745: checking build system type configure:2756: error: /bin/sh ./config.sub arm64-apple-darwin14.0.0 failed

----------------

Cache variables.

----------------

ac_cv_build= ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value=

-----------------

Output variables.

-----------------

AARCH64_FALSE='' AARCH64_TRUE='' ACLOCAL='' ALLOCA='' ALPHA_FALSE='' ALPHA_TRUE='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='' AM_BACKSLASH='' AM_DEFAULT_V='' AM_DEFAULT_VERBOSITY='' AM_LTLDFLAGS='' AM_RUNTESTFLAGS='' AM_V='' AR='' ARC_FALSE='' ARC_TRUE='' ARM_FALSE='' ARM_TRUE='' AUTOCONF='' AUTOHEADER='' AUTOMAKE='' AVR32_FALSE='' AVR32_TRUE='' AWK='' BFIN_FALSE='' BFIN_TRUE='' CC='' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FFI_DEBUG_FALSE='' FFI_DEBUG_TRUE='' FFI_EXEC_TRAMPOLINE_TABLE='' FFI_EXEC_TRAMPOLINE_TABLE_FALSE='' FFI_EXEC_TRAMPOLINE_TABLE_TRUE='' FGREP='' FRV_FALSE='' FRV_TRUE='' GREP='' HAVE_LONG_DOUBLE='' HAVE_LONG_DOUBLE_VARIANT='' IA64_FALSE='' IA64_TRUE='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_STRIP_PROGRAM='' LD='' LDFLAGS='' LIBFFI_CRIS_FALSE='' LIBFFI_CRIS_TRUE='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' M32R_FALSE='' M32R_TRUE='' M68K_FALSE='' M68K_TRUE='' M88K_FALSE='' M88K_TRUE='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' MANIFEST_TOOL='' METAG_FALSE='' METAG_TRUE='' MICROBLAZE_FALSE='' MICROBLAZE_TRUE='' MIPS_FALSE='' MIPS_TRUE='' MKDIR_P='' MOXIE_FALSE='' MOXIE_TRUE='' NIOS2_FALSE='' NIOS2_TRUE='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OR1K_FALSE='' OR1K_TRUE='' OTOOL64='' OTOOL='' PA64_HPUX_FALSE='' PA64_HPUX_TRUE='' PACKAGE='' PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues' PACKAGE_NAME='libffi' PACKAGE_STRING='libffi 3.2.1' PACKAGE_TARNAME='libffi' PACKAGE_URL='' PACKAGE_VERSION='3.2.1' PATH_SEPARATOR=':' PA_HPUX_FALSE='' PA_HPUX_TRUE='' PA_LINUX_FALSE='' PA_LINUX_TRUE='' POWERPC_AIX_FALSE='' POWERPC_AIX_TRUE='' POWERPC_DARWIN_FALSE='' POWERPC_DARWIN_TRUE='' POWERPC_FALSE='' POWERPC_FREEBSD_FALSE='' POWERPC_FREEBSD_TRUE='' POWERPC_TRUE='' PRTDIAG='' RANLIB='' S390_FALSE='' S390_TRUE='' SED='' SET_MAKE='' SH64_FALSE='' SH64_TRUE='' SHELL='/bin/sh' SH_FALSE='' SH_TRUE='' SPARC_FALSE='' SPARC_TRUE='' STRIP='' TARGET='' TARGETDIR='' TESTSUBDIR_FALSE='' TESTSUBDIR_TRUE='' TILE_FALSE='' TILE_TRUE='' VAX_FALSE='' VAX_TRUE='' VERSION='' X86_64_FALSE='' X86_64_TRUE='' X86_DARWIN32_FALSE='' X86_DARWIN32_TRUE='' X86_DARWIN64_FALSE='' X86_DARWIN64_TRUE='' X86_DARWIN_FALSE='' X86_DARWIN_TRUE='' X86_FALSE='' X86_FREEBSD_FALSE='' X86_FREEBSD_TRUE='' X86_TRUE='' X86_WIN32_FALSE='' X86_WIN32_TRUE='' X86_WIN64_FALSE='' X86_WIN64_TRUE='' XTENSA_FALSE='' XTENSA_TRUE='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCCAS_FALSE='' amfastdepCCAS_TRUE='' am__fastdepCC_FALSE='' amfastdepCC_TRUE='' amfastdepCXX_FALSE='' am__fastdepCXX_TRUE='' aminclude='' amisrc='' amleading_dot='' amnodep='' amquote='' amtar='' amuntar='' ax_enable_builddir_sed='' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sys_symbol_underscore='' sysconfdir='${prefix}/etc' target='' target_alias='' target_cpu='' target_os='' target_vendor='' toolexecdir='' toolexeclibdir=''

-----------

confdefs.h.

-----------

/* confdefs.h */

define PACKAGE_NAME "libffi"

define PACKAGE_TARNAME "libffi"

define PACKAGE_VERSION "3.2.1"

define PACKAGE_STRING "libffi 3.2.1"

define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues"

define PACKAGE_URL ""

configure: exit 1

atgreen commented 9 years ago

Try aarch64-apple-darwin13 or similar.

aidanthewiz commented 9 years ago

Ok, I ran the command "./configure --build=aarch64-apple-darwin14 --host=aarch64-apple-darwin14" I ran into the error "configure: error: cannot run C compiled programs" here is the log file it created:

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by libffi configure 3.2.1, which was generated by GNU Autoconf 2.69. Invocation command line was

$ .././configure --srcdir=.. --enable-builddir=aarch64-apple-darwin14 --host=aarch64-apple-darwin14 --build=aarch64-apple-darwin14 build_alias=aarch64-apple-darwin14 host_alias=aarch64-apple-darwin14

---------

Platform.

---------

hostname = iPhone uname -m = iPhone6,1 uname -r = 14.0.0 uname -s = Darwin uname -v = Darwin Kernel Version 14.0.0: Mon Nov 3 22:23:57 PST 2014; root:xnu-2783.3.22~1/RELEASE_ARM64_S5L8960X

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = Mach kernel version: Darwin Kernel Version 14.0.0: Mon Nov 3 22:23:57 PST 2014; root:xnu-2783.3.22~1/RELEASE_ARM64_S5L8960X Kernel configured for up to 2 processors. 2 processors are physically available. 2 processors are logically available. Processor type: arm64 (arm64 v8) Processors active: 0 1 Primary memory available: 999.16 megabytes Default processor set: 137 tasks, 619 threads, 2 processors Load average: 1.19, Mach factor: 0.99 /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/bin/X11 PATH: /usr/games

-----------

Core tests.

-----------

configure:2745: checking build system type configure:2759: result: aarch64-apple-darwin14 configure:2779: checking host system type configure:2792: result: aarch64-apple-darwin14 configure:2812: checking target system type configure:2825: result: aarch64-apple-darwin14 configure:2922: checking for gsed configure:2953: result: sed configure:2981: checking for a BSD-compatible install configure:3049: result: /usr/bin/install -c configure:3060: checking whether build environment is sane configure:3115: result: yes configure:3263: checking for a thread-safe mkdir -p configure:3302: result: /bin/mkdir -p configure:3309: checking for gawk configure:3325: found /usr/bin/gawk configure:3336: result: gawk configure:3347: checking whether make sets $(MAKE) configure:3369: result: yes configure:3398: checking whether make supports nested variables configure:3415: result: yes configure:3518: checking for aarch64-apple-darwin14-gcc configure:3548: result: no configure:3558: checking for gcc configure:3574: found /usr/bin/gcc configure:3585: result: gcc configure:3814: checking for C compiler version configure:3823: gcc --version >&5 gcc (GCC) 4.2.1 (Based on Apple Inc. build 5555) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3834: $? = 0 configure:3823: gcc -v >&5 Using built-in specs. Target: arm-apple-darwin9 Configured with: ../llvm-gcc-4.2/configure --build=x86_64-unknown-linux-gnu --host=arm-apple-darwin9 --enable-static=no --enable-shared=yes --prefix=/usr --localstatedir=/var/cache/iphone-gcc --enable-languages=c,c++,objc,obj-c++ --enable-wchar_t=no --with-gxx-include-dir=/usr/include/c++/4.0.0 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5555) configure:3834: $? = 0 configure:3823: gcc -V >&5 gcc: '-V' option must have argument configure:3834: $? = 1 configure:3823: gcc -qversion >&5 gcc: no input files configure:3834: $? = 1 configure:3854: checking whether the C compiler works configure:3876: gcc conftest.c >&5 ld: unknown/unsupported architecture name for: -arch arm collect2: ld returned 1 exit status configure:3880: $? = 1 configure:3918: result: no configure: failed program was: /* confdefs.h _/ #define PACKAGE_NAME "libffi" #define PACKAGE_TARNAME "libffi" #define PACKAGE_VERSION "3.2.1" #define PACKAGE_STRING "libffi 3.2.1" #define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues" #define PACKAGE_URL "" #define PACKAGE "libffi" #define VERSION "3.2.1" /_ end confdefs.h. */
int
main ()
{
;
return 0;
}

configure:3923: error: in /pentest/libffi-3.2.1/aarch64-apple-darwin14': configure:3925: error: C compiler cannot create executables Seeconfig.log' for more details

----------------

Cache variables.

----------------

ac_cv_build=aarch64-apple-darwin14 ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=aarch64-apple-darwin14 ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=aarch64-apple-darwin14 ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-apple-darwin14 ac_cv_path_ax_enable_builddir_sed=sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_make_make_set=yes ac_cv_target=aarch64-apple-darwin14 am_cv_make_support_nested_variables=yes

-----------------

Output variables.

-----------------

AARCH64_FALSE='' AARCH64_TRUE='' ACLOCAL='${SHELL} /pentest/libffi-3.2.1/missing aclocal-1.13' ALLOCA='' ALPHA_FALSE='' ALPHA_TRUE='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_LTLDFLAGS='' AM_RUNTESTFLAGS='' AM_V='$(V)' AR='' ARC_FALSE='' ARC_TRUE='' ARM_FALSE='' ARM_TRUE='' AUTOCONF='${SHELL} /pentest/libffi-3.2.1/missing autoconf' AUTOHEADER='${SHELL} /pentest/libffi-3.2.1/missing autoheader' AUTOMAKE='${SHELL} /pentest/libffi-3.2.1/missing automake-1.13' AVR32_FALSE='' AVR32_TRUE='' AWK='gawk' BFIN_FALSE='' BFIN_TRUE='' CC='gcc' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FFI_DEBUG_FALSE='' FFI_DEBUG_TRUE='' FFI_EXEC_TRAMPOLINE_TABLE='' FFI_EXEC_TRAMPOLINE_TABLE_FALSE='' FFI_EXEC_TRAMPOLINE_TABLE_TRUE='' FGREP='' FRV_FALSE='' FRV_TRUE='' GREP='' HAVE_LONG_DOUBLE='' HAVE_LONG_DOUBLE_VARIANT='' IA64_FALSE='' IA64_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='' LIBFFI_CRIS_FALSE='' LIBFFI_CRIS_TRUE='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' M32R_FALSE='' M32R_TRUE='' M68K_FALSE='' M68K_TRUE='' M88K_FALSE='' M88K_TRUE='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='${SHELL} /pentest/libffi-3.2.1/missing makeinfo' MANIFEST_TOOL='' METAG_FALSE='' METAG_TRUE='' MICROBLAZE_FALSE='' MICROBLAZE_TRUE='' MIPS_FALSE='' MIPS_TRUE='' MKDIR_P='/bin/mkdir -p' MOXIE_FALSE='' MOXIE_TRUE='' NIOS2_FALSE='' NIOS2_TRUE='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OR1K_FALSE='' OR1K_TRUE='' OTOOL64='' OTOOL='' PA64_HPUX_FALSE='' PA64_HPUX_TRUE='' PACKAGE='libffi' PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues' PACKAGE_NAME='libffi' PACKAGE_STRING='libffi 3.2.1' PACKAGE_TARNAME='libffi' PACKAGE_URL='' PACKAGE_VERSION='3.2.1' PATH_SEPARATOR=':' PA_HPUX_FALSE='' PA_HPUX_TRUE='' PA_LINUX_FALSE='' PA_LINUX_TRUE='' POWERPC_AIX_FALSE='' POWERPC_AIX_TRUE='' POWERPC_DARWIN_FALSE='' POWERPC_DARWIN_TRUE='' POWERPC_FALSE='' POWERPC_FREEBSD_FALSE='' POWERPC_FREEBSD_TRUE='' POWERPC_TRUE='' PRTDIAG='' RANLIB='' S390_FALSE='' S390_TRUE='' SED='' SET_MAKE='' SH64_FALSE='' SH64_TRUE='' SHELL='/bin/sh' SH_FALSE='' SH_TRUE='' SPARC_FALSE='' SPARC_TRUE='' STRIP='' TARGET='' TARGETDIR='' TESTSUBDIR_FALSE='' TESTSUBDIR_TRUE='' TILE_FALSE='' TILE_TRUE='' VAX_FALSE='' VAX_TRUE='' VERSION='3.2.1' X86_64_FALSE='' X86_64_TRUE='' X86_DARWIN32_FALSE='' X86_DARWIN32_TRUE='' X86_DARWIN64_FALSE='' X86_DARWIN64_TRUE='' X86_DARWIN_FALSE='' X86_DARWIN_TRUE='' X86_FALSE='' X86_FREEBSD_FALSE='' X86_FREEBSD_TRUE='' X86_TRUE='' X86_WIN32_FALSE='' X86_WIN32_TRUE='' X86_WIN64_FALSE='' X86_WIN64_TRUE='' XTENSA_FALSE='' XTENSA_TRUE='' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCCAS_FALSE='' amfastdepCCAS_TRUE='' am__fastdepCC_FALSE='' amfastdepCC_TRUE='' amfastdepCXX_FALSE='' am__fastdepCXX_TRUE='' aminclude='' amisrc=' -I$(srcdir)' amleading_dot='.' amnodep='' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' amuntar='$${TAR-tar} xf -' ax_enable_builddir_sed='sed' bindir='${exec_prefix}/bin' build='aarch64-apple-darwin14' build_alias='aarch64-apple-darwin14' build_cpu='aarch64' build_os='darwin14' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='aarch64-apple-darwin14' host_alias='aarch64-apple-darwin14' host_cpu='aarch64' host_os='darwin14' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /pentest/libffi-3.2.1/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sys_symbol_underscore='' sysconfdir='${prefix}/etc' target='aarch64-apple-darwin14' target_alias='aarch64-apple-darwin14' target_cpu='aarch64' target_os='darwin14' target_vendor='apple' toolexecdir='' toolexeclibdir=''

-----------

confdefs.h.

-----------

/* confdefs.h */

define PACKAGE_NAME "libffi"

define PACKAGE_TARNAME "libffi"

define PACKAGE_VERSION "3.2.1"

define PACKAGE_STRING "libffi 3.2.1"

define PACKAGE_BUGREPORT "http://github.com/atgreen/libffi/issues"

define PACKAGE_URL ""

define PACKAGE "libffi"

define VERSION "3.2.1"

configure: exit 77

----------------

Cache variables.

----------------

ac_cv_build=aarch64-apple-darwin14 ac_cv_env_CCASFLAGS_set= ac_cv_env_CCASFLAGS_value= ac_cv_env_CCAS_set= ac_cv_env_CCAS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=aarch64-apple-darwin14 ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=aarch64-apple-darwin14 ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=aarch64-apple-darwin14 ac_cv_target=aarch64-apple-darwin14

-----------------

Output variables.

-----------------

AARCH64_FALSE='' AARCH64_TRUE='' ACLOCAL='' ALLOCA='' ALPHA_FALSE='' ALPHA_TRUE='' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='' AM_BACKSLASH='' AM_DEFAULT_V='' AM_DEFAULT_VERBOSITY='' AM_LTLDFLAGS='' AM_RUNTESTFLAGS='' AM_V='' AR='' ARC_FALSE='' ARC_TRUE='' ARM_FALSE='' ARM_TRUE='' AUTOCONF='' AUTOHEADER='' AUTOMAKE='' AVR32_FALSE='' AVR32_TRUE='' AWK='' BFIN_FALSE='' BFIN_TRUE='' CC='' CCAS='' CCASDEPMODE='' CCASFLAGS='' CCDEPMODE='' CFLAGS='' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='' DEFS='' DEPDIR='' DLLTOOL='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' FFI_DEBUG_FALSE='' FFI_DEBUG_TRUE='' FFI_EXEC_TRAMPOLINE_TABLE='' FFI_EXEC_TRAMPOLINE_TABLE_FALSE='' FFI_EXEC_TRAMPOLINE_TABLE_TRUE='' FGREP='' FRV_FALSE='' FRV_TRUE='' GREP='' HAVE_LONG_DOUBLE='' HAVE_LONG_DOUBLE_VARIANT='' IA64_FALSE='' IA64_TRUE='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_STRIP_PROGRAM='' LD='' LDFLAGS='' LIBFFI_CRIS_FALSE='' LIBFFI_CRIS_TRUE='' LIBOBJS='' LIBS='' LIBTOOL='' LIPO='' LN_S='' LTLIBOBJS='' M32R_FALSE='' M32R_TRUE='' M68K_FALSE='' M68K_TRUE='' M88K_FALSE='' M88K_TRUE='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKEINFO='' MANIFEST_TOOL='' METAG_FALSE='' METAG_TRUE='' MICROBLAZE_FALSE='' MICROBLAZE_TRUE='' MIPS_FALSE='' MIPS_TRUE='' MKDIR_P='' MOXIE_FALSE='' MOXIE_TRUE='' NIOS2_FALSE='' NIOS2_TRUE='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OR1K_FALSE='' OR1K_TRUE='' OTOOL64='' OTOOL='' PA64_HPUX_FALSE='' PA64_HPUX_TRUE='' PACKAGE='' PACKAGE_BUGREPORT='http://github.com/atgreen/libffi/issues' PACKAGE_NAME='libffi' PACKAGE_STRING='libffi 3.2.1' PACKAGE_TARNAME='libffi' PACKAGE_URL='' PACKAGE_VERSION='3.2.1' PATH_SEPARATOR=':' PA_HPUX_FALSE='' PA_HPUX_TRUE='' PA_LINUX_FALSE='' PA_LINUX_TRUE='' POWERPC_AIX_FALSE='' POWERPC_AIX_TRUE='' POWERPC_DARWIN_FALSE='' POWERPC_DARWIN_TRUE='' POWERPC_FALSE='' POWERPC_FREEBSD_FALSE='' POWERPC_FREEBSD_TRUE='' POWERPC_TRUE='' PRTDIAG='' RANLIB='' S390_FALSE='' S390_TRUE='' SED='' SET_MAKE='' SH64_FALSE='' SH64_TRUE='' SHELL='/bin/sh' SH_FALSE='' SH_TRUE='' SPARC_FALSE='' SPARC_TRUE='' STRIP='' TARGET='aarch64-apple-darwin14' TARGETDIR='' TESTSUBDIR_FALSE='' TESTSUBDIR_TRUE='' TILE_FALSE='' TILE_TRUE='' VAX_FALSE='' VAX_TRUE='' VERSION='' X86_64_FALSE='' X86_64_TRUE='' X86_DARWIN32_FALSE='' X86_DARWIN32_TRUE='' X86_DARWIN64_FALSE='' X86_DARWIN64_TRUE='' X86_DARWIN_FALSE='' X86_DARWIN_TRUE='' X86_FALSE='' X86_FREEBSD_FALSE='' X86_FREEBSD_TRUE='' X86_TRUE='' X86_WIN32_FALSE='' X86_WIN32_TRUE='' X86_WIN64_FALSE='' X86_WIN64_TRUE='' XTENSA_FALSE='' XTENSA_TRUE='' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='' am__EXEEXT_TRUE='' amfastdepCCAS_FALSE='' amfastdepCCAS_TRUE='' am__fastdepCC_FALSE='' amfastdepCC_TRUE='' amfastdepCXX_FALSE='' am__fastdepCXX_TRUE='' aminclude='' amisrc='' amleading_dot='' amnodep='' amquote='' amtar='' amuntar='' ax_enable_builddir_sed='' bindir='${exec_prefix}/bin' build='aarch64-apple-darwin14' build_alias='aarch64-apple-darwin14' build_cpu='aarch64' build_os='darwin14' build_vendor='apple' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='aarch64-apple-darwin14' host_alias='aarch64-apple-darwin14' host_cpu='aarch64' host_os='darwin14' host_vendor='apple' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sys_symbol_underscore='' sysconfdir='${prefix}/etc' target='aarch64-apple-darwin14' target_alias='aarch64-apple-darwin14' target_cpu='aarch64' target_os='darwin14' target_vendor='apple' toolexecdir='' toolexeclibdir=''

configure: exit 77

mralexgray commented 9 years ago

+1 I am able to ./configure... but error out on make

ibtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I../include -Iinclude -I../src -O3 -Wall -fexceptions -MT src/aarch64/ffi.lo -MD -MP -MF src/aarch64/.deps/ffi.Tpo -c ../src/aarch64/ffi.c  -fno-common -DPIC -o src/aarch64/.libs/ffi.o
../src/aarch64/ffi.c:358:17: error: unknown register name 'v16' in asm
    : "memory", "v16", "v17", "v18", "v19");
                ^
../src/aarch64/ffi.c:379:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17");
                                               ^
../src/aarch64/ffi.c:385:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17", "v18");
                                               ^
../src/aarch64/ffi.c:391:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17", "v18", "v19");
                                               ^
../src/aarch64/ffi.c:407:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17");
                                               ^
../src/aarch64/ffi.c:413:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17", "v18");
                                               ^
../src/aarch64/ffi.c:419:41: error: unknown register name 'v16' in asm
           : : "r"(dest), "r"(reg) : "memory", "v16", "v17", "v18", "v19");
                                               ^
7 errors generated.
make[3]: *** [src/aarch64/ffi.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-all] Error 2
jau88 commented 8 years ago

Try

echo 'echo arm-apple-darwin' > config.sub

atgreen commented 6 years ago

Regular iOS builds are performed by travis-ci now, as of this commit: 24eb1f88d788399dde5fbb4804767e6b6cbf1bc8 . I'm closing this ticket. Please re-open it if you disagree.

Thanks!