[openssl-dev] Travis failures

Matt Caswell matt at openssl.org
Fri Jun 16 09:25:06 UTC 2017


I'm seeing some weird Travis failures:

LD_LIBRARY_PATH=.: clang-3.9 -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG
-DOPENSSL_THREADS -DOPENSSL_NO_DYNAMIC_ENGINE -DOPENSSL_PIC
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -DOPENSSLDIR="/usr/local/ssl"
-DENGINESDIR="/usr/local/lib/engines-1.1" -Wall -O3 -pthread -m64
-DL_ENDIAN -fsanitize=address -fno-omit-frame-pointer -g -o apps/openssl
apps/app_rand.o apps/apps.o apps/asn1pars.o apps/ca.o apps/ciphers.o
apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o
apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o
apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o
apps/nseq.o apps/ocsp.o apps/openssl.o apps/opt.o apps/passwd.o
apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o
apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o
apps/rsa.o apps/rsautl.o apps/s_cb.o apps/s_client.o apps/s_server.o
apps/s_socket.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o
apps/spkac.o apps/srp.o apps/ts.o apps/verify.o apps/version.o
apps/x509.o -L. -lssl -L. -lcrypto -ldl
/usr/bin/ld:
/usr/lib/llvm-3.9/bin/../lib/clang/3.9.1/lib/linux/libclang_rt.asan-x86_64.a(asan_allocator.cc.o):
unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use
-v to see invocation)
make[2]: *** [link_app.] Error 1
make[2]: Leaving directory `/home/travis/build/openssl/openssl'
make[1]: *** [apps/openssl] Error 2
make[1]: Leaving directory `/home/travis/build/openssl/openssl'
make: *** [tests] Error 2


It only seems to be on clang-3.9 builds. The first commit where this
showed up was this one:

commit 594da712ffe416e61eeedc736d0332fa4664b24f
Author:     Rich Salz <rsalz at openssl.org>
AuthorDate: Wed Jun 14 12:05:25 2017 -0400
Commit:     Rich Salz <rsalz at openssl.org>
CommitDate: Wed Jun 14 12:05:25 2017 -0400

    Remove OLD_STR_TO_KEY compile option

    This flag was added in 1992 and only documented in the CHANGES file.

    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3681)

Looking at that commit I find it hard to believe that it would have this
effect. Also, interestingly, I note that that build only failed on the
last clang-3.9 job, but all the others since then have failed in all of
them.

Possibly a bad clang-3.9 update?? Any ideas?

Matt



More information about the openssl-dev mailing list