[openssl-dev] [openssl.org #4406] Linaro and ARM/64/AARCH64: fatal error: arm_arch.h: No such file or directory

Richard Levitte via RT rt at openssl.org
Wed Mar 9 22:49:15 UTC 2016


In message <rt-4.0.19-14843-1457563197-611.4406-21-0 at openssl.org> on Wed, 09 Mar 2016 22:39:57 +0000, "noloader at gmail.com via RT" <rt at openssl.org> said:

rt> Working from Master:
rt> 
rt>     $ git reset --hard HEAD
rt>     HEAD is now at 64b9d84 When grepping something starting with a
rt> dash, remember to use -e
rt>     $ git pull
rt>     Already up-to-date.
rt> 
rt> And then:
rt> 
rt>     $ ./config
rt>     ...
rt>     $ make depend && make clean && make
rt>     ...
rt> 
rt> gcc -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS
rt> -DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT
rt> -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DECP_NISTZ256_ASM
rt> -DPOLY1305_ASM -DOPENSSLDIR="\"/usr/local/ssl\""
rt> -DENGINESDIR="\"/usr/local/lib/engines\"" -Wall -O3 -pthread
rt> -Wa,--noexecstack -fPIC -Iinclude -I. -Icrypto/include -c -o
rt> crypto/cast/c_skey.o crypto/cast/c_skey.c
rt> gcc -E  crypto/chacha/chacha-armv8.S > crypto/chacha/chacha-armv8.s
rt> crypto/chacha/chacha-armv8.S:1:22: fatal error: arm_arch.h: No such
rt> file or directory
rt>  #include "arm_arch.h"
rt>                       ^
rt> compilation terminated.
rt> <builtin>: recipe for target 'crypto/chacha/chacha-armv8.s' failed

Ah, that's a bug in Configurations/unix-Makefile.tmpl, and probably
also in Configurations/common.tmpl.  Include dirs need to be passed to
generatesrc() as well...

Cheers,
Richard

-- 
Richard Levitte         levitte at openssl.org
OpenSSL Project         http://www.openssl.org/~levitte/


-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4406
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list