FAILED build of OpenSSL branch master with options -d --strict-warnings no-ssl3

OpenSSL run-checker openssl at openssl.org
Mon Jun 24 15:00:18 UTC 2019


Platform and configuration command:

$ uname -a
Linux run 4.15.0-50-generic #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ CC=clang ../openssl/config -d --strict-warnings no-ssl3

Commit log since last time:

1d12afc310 crypto/trace.c: Remove unexisting categories
fe26f79852 OSSL_TRACE: ensure it's initialised
f8922b5107 Handle CTRL-C as non-redoable abort signal
32ee452496 Remove OPENSSL_memcmp.
2d905f6715 Print thread IDs nicely.

Build log ended with (last 100 lines):

/usr/lib/llvm-6.0/bin/clang(_ZN5clang13CodeGenAction13ExecuteActionEv+0x37)[0x5615d715ca27]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang14FrontendAction7ExecuteEv+0xb6)[0x5615d6f93b56]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x18c)[0x5615d6f5dbfc]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xbc3)[0x5615d703ef13]
/usr/lib/llvm-6.0/bin/clang(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x9e8)[0x5615d6b5ce08]
/usr/lib/llvm-6.0/bin/clang(main+0x2587)[0x5615d6b4b807]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fce75456b97]
/usr/lib/llvm-6.0/bin/clang(_start+0x2a)[0x5615d6b5a8aa]
Stack dump:
0.	Program arguments: /usr/lib/llvm-6.0/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name ocsp_lib.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -coverage-notes-file /home/openssl/run-checker/no-ssl3/crypto/ocsp/libcrypto-lib-ocsp_lib.gcno -resource-dir /usr/lib/llvm-6.0/lib/clang/6.0.0 -dependency-file crypto/ocsp/libcrypto-lib-ocsp_lib.d.tmp -MT crypto/ocsp/libcrypto-lib-ocsp_lib.o -I . -I crypto/include -I include -I providers/common/include -I providers/common/ciphers -I crypto -I ../openssl -I ../openssl/crypto/include -I ../openssl/include -I ../openssl/providers/common/include -I ../openssl/providers/common/ciphers -I ../openssl/crypto -D AES_ASM -D BSAES_ASM -D ECP_NISTZ256_ASM -D GHASH_ASM -D KECCAK1600_ASM -D MD5_ASM -D OPENSSL_BN_ASM_GF2m -D OPENSSL_BN_ASM_MONT -D OPENSSL_BN_ASM_MONT5 -D OPENSSL_CPUID_OBJ -D POLY1305_ASM -D SHA1_ASM -D SHA256_ASM -D SHA512_ASM -D VPAES_ASM -D WHIRLPOOL_ASM -D X25519_ASM -D DEBUG_UNUSED -D PEDANTIC -D OPENSSL_USE_NODELETE -D L_ENDIAN -D OPENSSL_PIC -D OPENSSLDIR="/usr/local/ssl" -D ENGINESDIR="/usr/local/lib/engines-3" -D MODULESDIR="/usr/local/lib/ossl-modules" -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-6.0/lib/clang/6.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O0 -Wall -Wno-long-long -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wswitch -Wsign-compare -Wshadow -Wformat -Wtype-limits -Wundef -Werror -Wmissing-prototypes -Wstrict-prototypes -Wswitch-default -Wno-parentheses-equality -Wno-language-extension-token -Wno-extended-offsetof -Wconditional-uninitialized -Wincompatible-pointer-types-discards-qualifiers -Wno-unknown-warning-option -Wmissing-variable-declarations -pedantic -fdebug-compilation-dir /home/openssl/run-checker/no-ssl3 -ferror-limit 19 -fmessage-length 0 -pthread -fobjc-runtime=gcc -fdiagnostics-show-option -o crypto/ocsp/libcrypto-lib-ocsp_lib.o -x c ../openssl/crypto/ocsp/ocsp_lib.c 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../openssl/crypto/ocsp/ocsp_lib.c'.
4.	Running pass 'Expand Atomic instructions' on function '@OCSP_cert_to_id'
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2a)[0x7f81656120ea]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x56)[0x7f8165610366]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(+0x81c49b)[0x7f816561049b]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7f81688a2890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7)[0x7f8163ed0e97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141)[0x7f8163ed2801]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8c957)[0x7f81648c5957]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92ab6)[0x7f81648cbab6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92af1)[0x7f81648cbaf1]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x92d24)[0x7f81648cbd24]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x9329c)[0x7f81648cc29c]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZNSt6vectorISt4pairItN4llvm13LegalizerInfo14LegalizeActionEESaIS4_EE12emplace_backIJS4_EEEvDpOT_+0x69)[0x7f8165cdfc29]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm13LegalizerInfo41increaseToLargerTypesAndDecreaseToLargestERKSt6vectorISt4pairItNS0_14LegalizeActionEESaIS4_EES3_S3_+0xea)[0x7f8165cdff7a]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(+0xeec0e7)[0x7f8165ce00e7]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZNSt17_Function_handlerIFSt6vectorISt4pairItN4llvm13LegalizerInfo14LegalizeActionEESaIS5_EERKS7_EPSA_E9_M_invokeERKSt9_Any_dataS9_+0x20)[0x7f8165cdcdd0]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm13LegalizerInfo13computeTablesEv+0x418)[0x7f8165ce1108]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm16X86LegalizerInfoC1ERKNS_12X86SubtargetERKNS_16X86TargetMachineE+0x575)[0x7f8167260895]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm12X86SubtargetC2ERKNS_6TripleENS_9StringRefES4_RKNS_16X86TargetMachineEj+0x27c)[0x7f8167277c6c]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZNK4llvm16X86TargetMachine16getSubtargetImplERKNS_8FunctionE+0x398)[0x7f816727d588]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(+0x988882)[0x7f816577c882]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x278)[0x7f81656ec7f8]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x33)[0x7f81656ec843]
/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x30f)[0x7f81656ec08f]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsERKN4llvm10DataLayoutEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISM_EE+0x1422)[0x56299e694a62]
/usr/lib/llvm-6.0/bin/clang(+0xa598a4)[0x56299ec3f8a4]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang8ParseASTERNS_4SemaEbb+0x31a)[0x56299eeeb9aa]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang13CodeGenAction13ExecuteActionEv+0x37)[0x56299ec3ea27]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang14FrontendAction7ExecuteEv+0xb6)[0x56299ea75b56]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x18c)[0x56299ea3fbfc]
/usr/lib/llvm-6.0/bin/clang(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xbc3)[0x56299eb20f13]
/usr/lib/llvm-6.0/bin/clang(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x9e8)[0x56299e63ee08]
/usr/lib/llvm-6.0/bin/clang(main+0x2587)[0x56299e62d807]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7f8163eb3b97]
/usr/lib/llvm-6.0/bin/clang(_start+0x2a)[0x56299e63c8aa]
Stack dump:
0.	Program arguments: /usr/lib/llvm-6.0/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name ocsp_prn.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -coverage-notes-file /home/openssl/run-checker/no-ssl3/crypto/ocsp/libcrypto-lib-ocsp_prn.gcno -resource-dir /usr/lib/llvm-6.0/lib/clang/6.0.0 -dependency-file crypto/ocsp/libcrypto-lib-ocsp_prn.d.tmp -MT crypto/ocsp/libcrypto-lib-ocsp_prn.o -I . -I crypto/include -I include -I providers/common/include -I providers/common/ciphers -I crypto -I ../openssl -I ../openssl/crypto/include -I ../openssl/include -I ../openssl/providers/common/include -I ../openssl/providers/common/ciphers -I ../openssl/crypto -D AES_ASM -D BSAES_ASM -D ECP_NISTZ256_ASM -D GHASH_ASM -D KECCAK1600_ASM -D MD5_ASM -D OPENSSL_BN_ASM_GF2m -D OPENSSL_BN_ASM_MONT -D OPENSSL_BN_ASM_MONT5 -D OPENSSL_CPUID_OBJ -D POLY1305_ASM -D SHA1_ASM -D SHA256_ASM -D SHA512_ASM -D VPAES_ASM -D WHIRLPOOL_ASM -D X25519_ASM -D DEBUG_UNUSED -D PEDANTIC -D OPENSSL_USE_NODELETE -D L_ENDIAN -D OPENSSL_PIC -D OPENSSLDIR="/usr/local/ssl" -D ENGINESDIR="/usr/local/lib/engines-3" -D MODULESDIR="/usr/local/lib/ossl-modules" -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-6.0/lib/clang/6.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O0 -Wall -Wno-long-long -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wswitch -Wsign-compare -Wshadow -Wformat -Wtype-limits -Wundef -Werror -Wmissing-prototypes -Wstrict-prototypes -Wswitch-default -Wno-parentheses-equality -Wno-language-extension-token -Wno-extended-offsetof -Wconditional-uninitialized -Wincompatible-pointer-types-discards-qualifiers -Wno-unknown-warning-option -Wmissing-variable-declarations -pedantic -fdebug-compilation-dir /home/openssl/run-checker/no-ssl3 -ferror-limit 19 -fmessage-length 0 -pthread -fobjc-runtime=gcc -fdiagnostics-show-option -o crypto/ocsp/libcrypto-lib-ocsp_prn.o -x c ../openssl/crypto/ocsp/ocsp_prn.c 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../openssl/crypto/ocsp/ocsp_prn.c'.
4.	Running pass 'Expand Atomic instructions' on function '@OCSP_response_status_str'
clang  -I. -Icrypto/include -Iinclude -Iproviders/common/include -Iproviders/common/ciphers -Icrypto -I../openssl -I../openssl/crypto/include -I../openssl/include -I../openssl/providers/common/include -I../openssl/providers/common/ciphers -I../openssl/crypto  -DAES_ASM -DBSAES_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -fPIC -pthread -m64 -Wa,--noexecstack -Qunused-arguments -Wall -O0 -g -DDEBUG_UNUSED -DPEDANTIC -pedantic -Wno-long-long -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wswitch -Wsign-compare -Wshadow -Wformat -Wtype-limits -Wundef -Werror -Wmissing-prototypes -Wstrict-prototypes -Wswitch-default -Wno-parentheses-equality -Wno-language-extension-token -Wno-extended-offsetof -Wconditional-uninitialized -Wincompatible-pointer-types-discards-qualifiers -Wno-unknown-warning-option -Wmissing-variable-declarations -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-3\"" -DMODULESDIR="\"/usr/local/lib/ossl-modules\""   -MMD -MF crypto/ocsp/libcrypto-lib-ocsp_vfy.d.tmp -MT crypto/ocsp/libcrypto-lib-ocsp_vfy.o -c -o crypto/ocsp/libcrypto-lib-ocsp_vfy.o ../openssl/crypto/ocsp/ocsp_vfy.c
clang  -I. -Icrypto/include -Iinclude -Iproviders/common/include -Iproviders/common/ciphers -Icrypto -I../openssl -I../openssl/crypto/include -I../openssl/include -I../openssl/providers/common/include -I../openssl/providers/common/ciphers -I../openssl/crypto  -DAES_ASM -DBSAES_ASM -DECP_NISTZ256_ASM -DGHASH_ASM -DKECCAK1600_ASM -DMD5_ASM -DOPENSSL_BN_ASM_GF2m -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_CPUID_OBJ -DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DX25519_ASM -fPIC -pthread -m64 -Wa,--noexecstack -Qunused-arguments -Wall -O0 -g -DDEBUG_UNUSED -DPEDANTIC -pedantic -Wno-long-long -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wswitch -Wsign-compare -Wshadow -Wformat -Wtype-limits -Wundef -Werror -Wmissing-prototypes -Wstrict-prototypes -Wswitch-default -Wno-parentheses-equality -Wno-language-extension-token -Wno-extended-offsetof -Wconditional-uninitialized -Wincompatible-pointer-types-discards-qualifiers -Wno-unknown-warning-option -Wmissing-variable-declarations -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSLDIR="\"/usr/local/ssl\"" -DENGINESDIR="\"/usr/local/lib/engines-3\"" -DMODULESDIR="\"/usr/local/lib/ossl-modules\""   -MMD -MF crypto/ocsp/libcrypto-lib-v3_ocsp.d.tmp -MT crypto/ocsp/libcrypto-lib-v3_ocsp.o -c -o crypto/ocsp/libcrypto-lib-v3_ocsp.o ../openssl/crypto/ocsp/v3_ocsp.c
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/ocsp_lib-91b417.c
clang: note: diagnostic msg: /tmp/ocsp_lib-91b417.sh
clang: note: diagnostic msg: 

********************
Makefile:10393: recipe for target 'crypto/ocsp/libcrypto-lib-ocsp_lib.o' failed
make[1]: *** [crypto/ocsp/libcrypto-lib-ocsp_lib.o] Error 254
make[1]: *** Waiting for unfinished jobs....
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/ocsp_prn-fb1353.c
clang: note: diagnostic msg: /tmp/ocsp_prn-fb1353.sh
clang: note: diagnostic msg: 

********************
Makefile:10401: recipe for target 'crypto/ocsp/libcrypto-lib-ocsp_prn.o' failed
make[1]: *** [crypto/ocsp/libcrypto-lib-ocsp_prn.o] Error 254
make[1]: Leaving directory '/home/openssl/run-checker/no-ssl3'
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2


More information about the openssl-commits mailing list