I encounter compilation error when compiling for ARM platform wth OpenSSL
1.0.1a:
make -f ../Makefile.shared -e \
APPNAME=openssl OBJECTS="openssl.o verify.o asn1pars.o req.o dgst.o dh.o
dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o
rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o
s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o
version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o
pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o srp.o" \
LIBDEPS=" $LIBRARIES -ldl" \
link_app.${shlib_target}
make[2]: Entering directory
`/home/qunying/projs/git/FortiOS_lib/openssl/trunk/apps'
../libcrypto.so: undefined reference to `OPENSSL_ia32cap_P'
--
qun-ying
----- Original Message -----
> From: Andy Polyakov <[email protected]>
> To: [email protected]
> Cc:
> Sent: Thursday, April 19, 2012 1:52:31 PM
> Subject: Re: [openssl.org #2792] Crash in rc4 on x86_64
>
>>>>> This looks simular to the AES problem with had, with a length
> of 0?
>
> For reference. What was going on was the RC4_set_key was generating
> compact key schedule on Intel legacy CPU, while rc4_md5_enc was treating
> as non-compact with 32-bit elements. As results it was messed up in such
> way that induced crash in *subsequent* call to RC4.
>
>>>>> More details are at:
>>>>> http://bugs.debian.org/666405
>>>> http://cvs.openssl.org/chngview?cn=22424 is combined patch.
>>> This fails like this on non-i386/x86_64 arches:
>>> ../libcrypto.a(e_rc4_hmac_md5.o): In function `EVP_rc4_hmac_md5':
>>>
> /build/buildd-openssl_1.0.1a-1-ia64-b35uCp/openssl-1.0.1a/crypto/evp/e_rc4_hmac_md5.c:294:
>
> undefined reference to `OPENSSL_ia32cap_P'
>>>
> /build/buildd-openssl_1.0.1a-1-ia64-b35uCp/openssl-1.0.1a/crypto/evp/e_rc4_hmac_md5.c:294:
>
> undefined reference to `OPENSSL_ia32cap_P'
>
> Once in a while you get too "comfy" and make such blunder. Apologies!
>
>> I've used this patch to fix it:
>
> I've settled for http://cvs.openssl.org/chngview?cn=22455.
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> Development Mailing List [email protected]
> Automated List Manager [email protected]
>
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]