[openssl-dev] aarch64 64bit build with linaro tools
Catalin Vasile
cata.vasile at nxp.com
Thu Jun 30 09:15:48 UTC 2016
Hi,
I'm trying to build a 64bit aarch64 OpenSSL library with linaro tools[1].
Whatever I try, the library compiles to the 32bit version.
How do I get a 64bit library version?
This is my config command:
perl ./Configure -no-ssl3 --prefix=... --openssldir=/usr/lib/ssl --libdir=lib shared linux-aarch64
Here is its output:
Configuring for linux-aarch64
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-libunbound [experimental] OPENSSL_NO_LIBUNBOUND (skip dir)
no-md2 [default] OPENSSL_NO_MD2 (skip dir)
no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir)
no-sctp [default] OPENSSL_NO_SCTP (skip dir)
no-ssl-trace [default] OPENSSL_NO_SSL_TRACE (skip dir)
no-ssl2 [default] OPENSSL_NO_SSL2 (skip dir)
no-ssl3 [option] OPENSSL_NO_SSL3 (skip dir)
no-store [experimental] OPENSSL_NO_STORE (skip dir)
no-unit-test [default] OPENSSL_NO_UNIT_TEST (skip dir)
no-weak-ssl-ciphers [default] OPENSSL_NO_WEAK_SSL_CIPHERS (skip dir)
no-zlib [default]
no-zlib-dynamic [default]
IsMK1MF=0
CC =aarch64-linux-gnu-gcc --sysroot=.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/libc -I.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/4.9.3/include -I.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -I.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/include -I.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/libc/usr/include
CFLAG =-fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O3 -Wall -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
EX_LIBS =-ldl
CPUID_OBJ =armcap.o arm64cpuid.o mem_clr.o
BN_ASM =bn_asm.o
EC_ASM =
DES_ENC =des_enc.o fcrypt_b.o
AES_ENC =aes_core.o aes_cbc.o aesv8-armx.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o rc4_skey.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =sha1-armv8.o sha256-armv8.o sha512-armv8.o
RMD160_OBJ_ASM=
CMLL_ENC =camellia.o cmll_misc.o cmll_cbc.o
MODES_OBJ =ghashv8-armx.o
ENGINES_OBJ =
PROCESSOR =
RANLIB =.../openssl-upstream/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/bin/ranlib
ARFLAGS =
PERL =/bin/perl
SIXTY_FOUR_BIT_LONG mode
DES_UNROLL used
DES_INT used
RC4 uses uchar
RC4_CHUNK is unsigned long
BF_PTR used
Regards,
Catalin Vasile
[1] http://releases.linaro.org/14.11/components/toolchain/binaries/aarch64-linux-gnu/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu.tar.xz
More information about the openssl-dev
mailing list