Skip to content

gnutls-3.6.0: many self test failures on NetBSD

Description of problem:

gnutls-3.5.15 passes all its self tests on NetBSD-8.99.1/amd64.

gnutls-3.6.0 does not:

===> Testing for gnutls-3.6.0
Making check in gl
gmake[1]: Entering directory '/scratch/nih/gnutls/work/gnutls-3.6.0/gl'
/usr/pkg/bin/gmake  check-recursive
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl'
Making check in tests
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
/usr/pkg/bin/gmake  check-recursive
gmake[4]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
Making check in .
gmake[5]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
/usr/pkg/bin/gmake  libtests.a test-alloca-opt test-binary-io test-byteswap test-c-ctype test-ctype test-errno test-fcntl-h test-fdopen test-fgetc test-float test-fputc test-fread test-fstat test-ftell test-ftell3 test-ftello test-ftello3 test-ftello4 test-func test-fwrite test-getdelim test-getline test-gettimeofday test-intprops test-inttypes test-limits-h test-memchr test-netdb test-netinet_in test-read-file test-snprintf test-stdalign test-stdbool test-stddef test-stdint test-stdio test-stdlib test-string test-strings test-strnlen test-strverscmp test-sys_socket test-sys_stat test-sys_time test-sys_types test-sys_uio test-time test-unistd test-vasnprintf test-vasprintf test-verify test-vsnprintf test-wchar
gmake[6]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
  CC       binary-io.o
  AR       libtests.a
  CC       test-alloca-opt.o
  CCLD     test-alloca-opt
  CC       test-binary-io.o
  CCLD     test-binary-io
  CC       test-byteswap.o
  CCLD     test-byteswap
  CC       test-c-ctype.o
  CCLD     test-c-ctype
  CC       test-ctype.o
  CCLD     test-ctype
  CC       test-errno.o
  CCLD     test-errno
  CC       test-fcntl-h.o
  CCLD     test-fcntl-h
  CC       test-fdopen.o
  CCLD     test-fdopen
  CC       test-fgetc.o
  CCLD     test-fgetc
  CC       test-float.o
  CCLD     test-float
  CC       test-fputc.o
  CCLD     test-fputc
  CC       test-fread.o
  CCLD     test-fread
  CC       test-fstat.o
  CCLD     test-fstat
  CC       test-ftell.o
  CCLD     test-ftell
  CC       test-ftell3.o
  CCLD     test-ftell3
  CC       test-ftello.o
  CCLD     test-ftello
  CC       test-ftello3.o
  CCLD     test-ftello3
  CC       test-ftello4.o
  CCLD     test-ftello4
  CC       test-func.o
  CCLD     test-func
  CC       test-fwrite.o
  CCLD     test-fwrite
  CC       test-getdelim.o
  CCLD     test-getdelim
  CC       test-getline.o
  CCLD     test-getline
  CC       test-gettimeofday.o
  CCLD     test-gettimeofday
  CC       test-intprops.o
  CCLD     test-intprops
  CC       test-inttypes.o
  CCLD     test-inttypes
  CC       test-limits-h.o
  CCLD     test-limits-h
  CC       test-memchr.o
  CCLD     test-memchr
  CC       test-netdb.o
  CCLD     test-netdb
  CC       test-netinet_in.o
  CCLD     test-netinet_in
  CC       test-read-file.o
  CCLD     test-read-file
  CC       test-snprintf.o
  CCLD     test-snprintf
  CC       test-stdalign.o
  CCLD     test-stdalign
  CC       test-stdbool.o
  CCLD     test-stdbool
  CC       test-stddef.o
  CCLD     test-stddef
  CC       test-stdint.o
  CCLD     test-stdint
  CC       test-stdio.o
  CCLD     test-stdio
  CC       test-stdlib.o
  CCLD     test-stdlib
  CC       test-string.o
  CCLD     test-string
  CC       test-strings.o
  CCLD     test-strings
  CC       test-strnlen.o
  CCLD     test-strnlen
  CC       test-strverscmp.o
  CCLD     test-strverscmp
  CC       test-sys_socket.o
  CCLD     test-sys_socket
  CC       test-sys_stat.o
  CCLD     test-sys_stat
  CC       test-sys_time.o
  CCLD     test-sys_time
  CC       test-sys_types.o
  CCLD     test-sys_types
  CC       test-sys_uio.o
  CCLD     test-sys_uio
  CC       test-time.o
  CCLD     test-time
  CC       test-unistd.o
  CCLD     test-unistd
  CC       test-vasnprintf.o
  CCLD     test-vasnprintf
  CC       test-vasprintf.o
  CCLD     test-vasprintf
  CC       test-verify.o
  CCLD     test-verify
  CC       test-vsnprintf.o
  CCLD     test-vsnprintf
  CC       test-wchar.o
  CCLD     test-wchar
gmake[6]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
/usr/pkg/bin/gmake  check-TESTS
gmake[6]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[7]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
PASS: test-alloca-opt
PASS: test-binary-io.sh
PASS: test-byteswap
PASS: test-c-ctype
PASS: test-ctype
PASS: test-errno
PASS: test-fcntl-h
PASS: test-fdopen
PASS: test-fgetc
SKIP: test-float
PASS: test-fputc
PASS: test-fread
PASS: test-fstat
PASS: test-ftell.sh
PASS: test-ftell2.sh
PASS: test-ftell3
PASS: test-ftello.sh
PASS: test-ftello2.sh
PASS: test-ftello3
PASS: test-ftello4.sh
PASS: test-func
PASS: test-fwrite
PASS: test-getdelim
PASS: test-getline
PASS: test-gettimeofday
PASS: test-intprops
PASS: test-inttypes
PASS: test-limits-h
PASS: test-memchr
PASS: test-netdb
PASS: test-netinet_in
PASS: test-read-file
PASS: test-snprintf
PASS: test-stdalign
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-string
PASS: test-strings
PASS: test-strnlen
PASS: test-strverscmp
PASS: test-sys_socket
PASS: test-sys_stat
PASS: test-sys_time
PASS: test-sys_types
PASS: test-sys_uio
PASS: test-init.sh
PASS: test-time
PASS: test-unistd
PASS: test-vasnprintf
PASS: test-vasprintf
SKIP: test-vc-list-files-git.sh
SKIP: test-vc-list-files-cvs.sh
PASS: test-verify
PASS: test-verify.sh
PASS: test-vsnprintf
PASS: test-wchar
============================================================================
Testsuite summary for GnuTLS 3.6.0
============================================================================
[1m# TOTAL: 59
# PASS:  56
# SKIP:  3
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
gmake[7]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[6]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[5]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[4]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl/tests'
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/gl'
gmake[3]: Nothing to be done for 'check-am'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl'
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl'
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/gl'
Making check in lib
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib'
/usr/pkg/bin/gmake  check-recursive
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib'
Making check in includes
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/includes'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/includes'
Making check in x509
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/x509'
/usr/pkg/bin/gmake  check-am
gmake[4]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/x509'
gmake[4]: Nothing to be done for 'check-am'.
gmake[4]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/x509'
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/x509'
Making check in auth
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/auth'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/auth'
Making check in ext
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/ext'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/ext'
Making check in algorithms
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/algorithms'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/algorithms'
Making check in extras
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/extras'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/extras'
Making check in accelerated
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated'
Making check in x86
gmake[4]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated/x86'
gmake[4]: Nothing to be done for 'check'.
gmake[4]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated/x86'
gmake[4]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated'
gmake[4]: Nothing to be done for 'check-am'.
gmake[4]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated'
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/accelerated'
Making check in nettle
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib/nettle'
gmake[3]: Nothing to be done for 'check'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib/nettle'
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/lib'
gmake[3]: Nothing to be done for 'check-am'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib'
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib'
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/lib'
Making check in extra
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/extra'
Making check in includes
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/extra/includes'
gmake[2]: Nothing to be done for 'check'.
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/extra/includes'
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/extra'
gmake[2]: Nothing to be done for 'check-am'.
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/extra'
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/extra'
Making check in po
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/po'
gmake[1]: Nothing to be done for 'check'.
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/po'
Making check in src/gl
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/src/gl'
/usr/pkg/bin/gmake  check-recursive
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/src/gl'
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/src/gl'
gmake[3]: Nothing to be done for 'check-am'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src/gl'
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src/gl'
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src/gl'
Making check in src
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/src'
/usr/pkg/bin/gmake  check-recursive
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/src'
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/src'
gmake[3]: Nothing to be done for 'check-am'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src'
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src'
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/src'
Making check in tests
gmake[1]: Entering directory '.../gnutls/work/gnutls-3.6.0/tests'
Making check in .
gmake[2]: Entering directory '.../gnutls/work/gnutls-3.6.0/tests'
/usr/pkg/bin/gmake  mini-record-2 simple gc set_pkcs12_cred cert certuniqueid tls-neg-ext-key mpi certificate_set_x509_crl dn parse_ca x509-dn x509-dn-decode record-sizes hostname-check cve-2008-4989 pkcs12_s2k chainverify record-sizes-range crq_key_id x509sign-verify sign-verify cve-2009-1415 cve-2009-1416 tls10-server-kx-neg tls11-server-kx-neg tls12-server-kx-neg ssl30-server-kx-neg tls12-cipher-neg tls11-cipher-neg tls10-cipher-neg ssl30-cipher-neg crq_apis init_roundtrip pkcs12_s2k_pem dn2 mini-eagain tls-rehandshake-cert-3 nul-in-x509-names x509_altname pkcs12_encode mini-x509 tls-rehandshake-cert rng-fork mini-eagain-dtls resume-dtls x509cert x509cert-tl infoaccess mini-dtls-hello-verify sign-verify-ed25519-rfc8080 trustdb-tofu dtls-rehandshake-anon mini-alpn mini-dtls-large mini-termination mini-x509-cas mini-x509-2 pkcs12_simple mini-emsgsize-dtls chainverify-unsorted mini-overhead tls12-ffdhe mini-dtls-heartbeat mini-x509-callbacks key-openssl priorities priorities-groups gnutls_x509_privkey_import gnutls_x509_crt_list_import sign-verify-ext4 tls-neg-ext4-key mini-dtls-srtp rsa-encrypt-decrypt mini-loss-time gnutls-strcodes mini-record mini-dtls-record mini-handshake-timeout mini-record-range mini-cert-status rsa-psk global-init sec-params sign-verify-data fips-test mini-global-load name-constraints x509-extensions long-session-id mini-x509-callbacks-intr mini-dtls-lowmtu crlverify mini-dtls-discard init_fds mini-record-failure tls-rehandshake-cert-2 custom-urls set_x509_key_mem set_x509_key_file mini-chain-unsorted x509-verify-with-crl mini-dtls-mtu privkey-verify-broken mini-dtls-record-asym key-import-export priority-set priority-set2 pubkey-import-export sign-is-secure spki spki-abstract rsa-rsa-pss mini-dtls-fork mini-dtls-pthread mini-key-material x509cert-invalid tls-ext-register tls-supplemental mini-dtls0-9 duplicate-extensions mini-record-retvals mini-server-name tls-etm x509-cert-callback sign-md5-rep privkey-keygen mini-tls-nonblock no-signal pkcs7-gen dtls-etm x509sign-verify-rsa x509sign-verify-ecdsa mini-alignment oids atfork prf psk-file status-request status-request-ok status-request-missing sign-verify-ext fallback-scsv pkcs8-key-decode urls dtls-rehandshake-cert key-usage-rsa key-usage-ecdhe-rsa mini-session-verify-function auto-verify record-timeouts mini-dtls-hello-verify-48 mini-x509-default-prio mini-x509-dual global-init-override tlsext-decoding rsa-psk-cb rehandshake-switch-cert rehandshake-switch-cert-allow rehandshake-switch-cert-client rehandshake-switch-cert-client-allow handshake-versions dtls-handshake-versions dtls-max-record tls-max-record alpn-server-prec ocsp-filename-memleak dh-params rehandshake-ext-secret pcert-list session-export-funcs handshake-false-start version-checks key-material-dtls key-material-set-dtls system-prio-file name-constraints-merge crl-basic crq-basic send-client-cert custom-urls-override hex rehandshake-switch-psk-id rehandshake-switch-srp-id base64 srpbase64 pkcs1-digest-info set_x509_key set_x509_key_file_der set_x509_pkcs12_key crt_apis tls12-cert-key-exchange tls11-cert-key-exchange tls10-cert-key-exchange ssl30-cert-key-exchange dtls12-cert-key-exchange dtls10-cert-key-exchange x509-cert-callback-legacy keylog-env ssl2-hello tlsfeature-ext dtls-rehandshake-cert-2 tlsfeature-crt dtls-rehandshake-cert-3 resume-with-false-start set_x509_key_file_ocsp client-fastopen rng-sigint srp rng-pthread safe-renegotiation/srn0 safe-renegotiation/srn1 safe-renegotiation/srn2 safe-renegotiation/srn3 safe-renegotiation/srn4 safe-renegotiation/srn5 rsa-illegal-import set_x509_key_file_ocsp_multi set_key set_x509_key_file_ocsp_multi2 set_key_utf8 set_x509_key_utf8 insecure_key handshake-large-packet client_dsa_key server_ecdsa_key tls-session-ext-register tls-session-supplemental multi-alerts naked-alerts pkcs7-cat-parse set_known_dh_params_x509 set_known_dh_params_anon set_known_dh_params_psk session-tickets-ok session-tickets-missing set_x509_key_file_legacy status-request-ext rng-no-onload dtls1-2-mtu-check crl_apis cert_verify_inv_utf8 hostname-check-utf8 pkcs8-key-decode-encrypted priority-mix pkcs7 send-data-before-handshake recv-data-before-handshake crt_inv_write x509sign-verify-error rng-op-nonce rng-op-random rng-op-key x509-dn-decode-compat ip-check mini-x509-ipaddr trust-store base64-raw random-art dhex509self dss-sig-val sign-pk-api tls-session-ext-override    ocsp   x509self x509dn anonself pskself dhepskself setcredcrash resume-x509 resume-psk resume-anon \
  rfc2253-escape-test rsa-md5-collision/rsa-md5-collision.sh systemkey.sh p11-kit-trust.sh fastopen.sh pkgconfig.sh starttls.sh starttls-ftp.sh starttls-smtp.sh starttls-lmtp.sh starttls-pop3.sh starttls-nntp.sh starttls-sieve.sh ocsp-tests/ocsp-tls-connection ocsp-tests/ocsp-must-staple-connection ocsp-tests/ocsp-test cipher-listings.sh sni-hostname.sh server-multi-keys.sh psktool.sh ocsp-tests/ocsp-load-chain gnutls-cli-save-data.sh gnutls-cli-debug.sh 
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/tests'
  CC       mini-record-2.o
  CCLD     mini-record-2
  CC       simple.o
  CCLD     simple
  CC       gc-gc.o
  CCLD     gc
  CC       set_pkcs12_cred.o
  CCLD     set_pkcs12_cred
  CC       cert.o
  CCLD     cert
  CC       certuniqueid.o
  CCLD     certuniqueid
  CC       tls-neg-ext-key.o
  CCLD     tls-neg-ext-key
  CC       mpi-mpi.o
  CCLD     mpi
  CC       certificate_set_x509_crl.o
  CCLD     certificate_set_x509_crl
  CC       dn.o
  CCLD     dn
  CC       parse_ca.o
  CCLD     parse_ca
  CC       x509-dn.o
  CCLD     x509-dn
  CC       x509-dn-decode.o
  CCLD     x509-dn-decode
  CC       record-sizes.o
  CCLD     record-sizes
  CC       hostname-check.o
  CCLD     hostname-check
  CC       cve-2008-4989.o
  CCLD     cve-2008-4989
  CC       pkcs12_s2k-pkcs12_s2k.o
  CCLD     pkcs12_s2k
  CC       chainverify.o
  CCLD     chainverify
  CC       record-sizes-range.o
  CCLD     record-sizes-range
  CC       crq_key_id.o
  CCLD     crq_key_id
  CC       x509sign-verify.o
  CCLD     x509sign-verify
  CC       sign-verify.o
  CCLD     sign-verify
  CC       cve-2009-1415.o
  CCLD     cve-2009-1415
  CC       cve-2009-1416.o
  CCLD     cve-2009-1416
  CC       tls10-server-kx-neg.o
  CCLD     tls10-server-kx-neg
  CC       tls11-server-kx-neg.o
  CCLD     tls11-server-kx-neg
  CC       tls12-server-kx-neg.o
  CCLD     tls12-server-kx-neg
  CC       ssl30-server-kx-neg.o
  CCLD     ssl30-server-kx-neg
  CC       tls12-cipher-neg.o
  CCLD     tls12-cipher-neg
  CC       tls11-cipher-neg.o
  CCLD     tls11-cipher-neg
  CC       tls10-cipher-neg.o
  CCLD     tls10-cipher-neg
  CC       ssl30-cipher-neg.o
  CCLD     ssl30-cipher-neg
  CC       crq_apis.o
  CCLD     crq_apis
  CC       init_roundtrip.o
  CCLD     init_roundtrip
  CC       pkcs12_s2k_pem.o
  CCLD     pkcs12_s2k_pem
  CC       dn2.o
  CCLD     dn2
  CC       mini-eagain.o
  CCLD     mini-eagain
  CC       tls-rehandshake-cert-3.o
  CCLD     tls-rehandshake-cert-3
  CC       nul-in-x509-names.o
  CCLD     nul-in-x509-names
  CC       x509_altname.o
  CCLD     x509_altname
  CC       pkcs12_encode.o
  CCLD     pkcs12_encode
  CC       mini-x509.o
  CCLD     mini-x509
  CC       tls-rehandshake-cert.o
  CCLD     tls-rehandshake-cert
  CC       rng-fork.o
  CCLD     rng-fork
  CC       mini-eagain-dtls.o
  CCLD     mini-eagain-dtls
  CC       resume-dtls.o
  CCLD     resume-dtls
  CC       x509cert.o
  CCLD     x509cert
  CC       x509cert-tl.o
  CCLD     x509cert-tl
  CC       infoaccess.o
  CCLD     infoaccess
  CC       mini-dtls-hello-verify.o
  CCLD     mini-dtls-hello-verify
  CC       sign-verify-ed25519-rfc8080.o
  CCLD     sign-verify-ed25519-rfc8080
  CC       trustdb-tofu.o
  CCLD     trustdb-tofu
  CC       dtls-rehandshake-anon.o
  CCLD     dtls-rehandshake-anon
  CC       mini-alpn.o
  CCLD     mini-alpn
  CC       mini-dtls-large.o
  CCLD     mini-dtls-large
  CC       mini-termination.o
  CCLD     mini-termination
  CC       mini-x509-cas.o
  CCLD     mini-x509-cas
  CC       mini-x509-2.o
  CCLD     mini-x509-2
  CC       pkcs12_simple.o
  CCLD     pkcs12_simple
  CC       mini-emsgsize-dtls.o
  CCLD     mini-emsgsize-dtls
  CC       chainverify-unsorted.o
  CCLD     chainverify-unsorted
  CC       mini-overhead.o
  CCLD     mini-overhead
  CC       tls12-ffdhe.o
  CCLD     tls12-ffdhe
  CC       mini-dtls-heartbeat.o
  CCLD     mini-dtls-heartbeat
  CC       mini-x509-callbacks.o
  CCLD     mini-x509-callbacks
  CC       key-openssl.o
  CCLD     key-openssl
  CC       priorities.o
  CCLD     priorities
  CC       priorities-groups.o
  CCLD     priorities-groups
  CC       gnutls_x509_privkey_import.o
  CCLD     gnutls_x509_privkey_import
  CC       gnutls_x509_crt_list_import.o
  CCLD     gnutls_x509_crt_list_import
  CC       sign-verify-ext4.o
  CCLD     sign-verify-ext4
  CC       tls-neg-ext4-key.o
  CCLD     tls-neg-ext4-key
  CC       mini-dtls-srtp.o
  CCLD     mini-dtls-srtp
  CC       rsa-encrypt-decrypt.o
  CCLD     rsa-encrypt-decrypt
  CC       mini-loss-time.o
  CCLD     mini-loss-time
  CC       gnutls-strcodes.o
  CCLD     gnutls-strcodes
  CC       mini-record.o
  CCLD     mini-record
  CC       mini-dtls-record.o
  CCLD     mini-dtls-record
  CC       mini-handshake-timeout.o
  CCLD     mini-handshake-timeout
  CC       mini-record-range.o
  CCLD     mini-record-range
  CC       mini-cert-status.o
  CCLD     mini-cert-status
  CC       rsa-psk.o
  CCLD     rsa-psk
  CC       global-init.o
  CCLD     global-init
  CC       sec-params.o
  CCLD     sec-params
  CC       sign-verify-data.o
  CCLD     sign-verify-data
  CC       fips-test.o
  CCLD     fips-test
  CC       mini-global-load.o
  CCLD     mini-global-load
  CC       name-constraints.o
  CCLD     name-constraints
  CC       x509-extensions.o
  CCLD     x509-extensions
  CC       long-session-id.o
  CCLD     long-session-id
  CC       mini-x509-callbacks-intr.o
  CCLD     mini-x509-callbacks-intr
  CC       mini-dtls-lowmtu.o
  CCLD     mini-dtls-lowmtu
  CC       crlverify.o
  CCLD     crlverify
  CC       mini-dtls-discard.o
  CCLD     mini-dtls-discard
  CC       init_fds.o
  CCLD     init_fds
  CC       mini-record-failure.o
  CCLD     mini-record-failure
  CC       tls-rehandshake-cert-2.o
  CCLD     tls-rehandshake-cert-2
  CC       custom-urls.o
  CCLD     custom-urls
  CC       set_x509_key_mem.o
  CCLD     set_x509_key_mem
  CC       set_x509_key_file.o
  CCLD     set_x509_key_file
  CC       mini-chain-unsorted.o
  CCLD     mini-chain-unsorted
  CC       x509-verify-with-crl.o
  CCLD     x509-verify-with-crl
  CC       mini-dtls-mtu.o
  CCLD     mini-dtls-mtu
  CC       privkey-verify-broken.o
  CCLD     privkey-verify-broken
  CC       mini-dtls-record-asym.o
  CCLD     mini-dtls-record-asym
  CC       key-import-export.o
  CCLD     key-import-export
  CC       priority-set.o
  CCLD     priority-set
  CC       priority-set2.o
  CCLD     priority-set2
  CC       pubkey-import-export.o
  CCLD     pubkey-import-export
  CC       sign-is-secure.o
  CCLD     sign-is-secure
  CC       spki.o
  CCLD     spki
  CC       spki-abstract.o
  CCLD     spki-abstract
  CC       rsa-rsa-pss.o
  CCLD     rsa-rsa-pss
  CC       mini-dtls-fork.o
  CCLD     mini-dtls-fork
  CC       mini-dtls-pthread.o
  CCLD     mini-dtls-pthread
  CC       mini-key-material.o
  CCLD     mini-key-material
  CC       x509cert-invalid.o
  CCLD     x509cert-invalid
  CC       tls-ext-register.o
  CCLD     tls-ext-register
  CC       tls-supplemental.o
  CCLD     tls-supplemental
  CC       mini-dtls0-9.o
  CCLD     mini-dtls0-9
  CC       duplicate-extensions.o
  CCLD     duplicate-extensions
  CC       mini-record-retvals.o
  CCLD     mini-record-retvals
  CC       mini-server-name.o
  CCLD     mini-server-name
  CC       tls-etm.o
  CCLD     tls-etm
  CC       x509-cert-callback.o
  CCLD     x509-cert-callback
  CC       sign-md5-rep.o
  CCLD     sign-md5-rep
  CC       privkey-keygen.o
  CCLD     privkey-keygen
  CC       mini-tls-nonblock.o
  CCLD     mini-tls-nonblock
  CC       no-signal.o
  CCLD     no-signal
  CC       pkcs7-gen.o
  CCLD     pkcs7-gen
  CC       dtls-etm.o
  CCLD     dtls-etm
  CC       x509sign-verify-rsa.o
  CCLD     x509sign-verify-rsa
  CC       x509sign-verify-ecdsa.o
  CCLD     x509sign-verify-ecdsa
  CC       mini_alignment-mini-alignment.o
  CCLD     mini-alignment
  CC       oids.o
  CCLD     oids
  CC       atfork-atfork.o
  CCLD     atfork
  CC       prf.o
  CCLD     prf
  CC       psk-file.o
  CCLD     psk-file
  CC       status-request.o
  CCLD     status-request
  CC       status-request-ok.o
  CCLD     status-request-ok
  CC       status-request-missing.o
  CCLD     status-request-missing
  CC       sign-verify-ext.o
  CCLD     sign-verify-ext
  CC       fallback-scsv.o
  CCLD     fallback-scsv
  CC       pkcs8-key-decode.o
  CCLD     pkcs8-key-decode
  CC       urls.o
  CCLD     urls
  CC       dtls-rehandshake-cert.o
  CCLD     dtls-rehandshake-cert
  CC       key-usage-rsa.o
  CCLD     key-usage-rsa
  CC       key-usage-ecdhe-rsa.o
  CCLD     key-usage-ecdhe-rsa
  CC       mini-session-verify-function.o
  CCLD     mini-session-verify-function
  CC       auto-verify.o
  CCLD     auto-verify
  CC       record-timeouts.o
  CCLD     record-timeouts
  CC       mini-dtls-hello-verify-48.o
  CCLD     mini-dtls-hello-verify-48
  CC       mini-x509-default-prio.o
  CCLD     mini-x509-default-prio
  CC       mini-x509-dual.o
  CCLD     mini-x509-dual
  CC       global-init-override.o
  CCLD     global-init-override
  CC       tlsext-decoding.o
  CCLD     tlsext-decoding
  CC       rsa-psk-cb.o
  CCLD     rsa-psk-cb
  CC       rehandshake-switch-cert.o
  CCLD     rehandshake-switch-cert
  CC       rehandshake-switch-cert-allow.o
  CCLD     rehandshake-switch-cert-allow
  CC       rehandshake-switch-cert-client.o
  CCLD     rehandshake-switch-cert-client
  CC       rehandshake-switch-cert-client-allow.o
  CCLD     rehandshake-switch-cert-client-allow
  CC       handshake-versions.o
  CCLD     handshake-versions
  CC       dtls-handshake-versions.o
  CCLD     dtls-handshake-versions
  CC       dtls-max-record.o
  CCLD     dtls-max-record
  CC       tls-max-record.o
  CCLD     tls-max-record
  CC       alpn-server-prec.o
  CCLD     alpn-server-prec
  CC       ocsp-filename-memleak.o
  CCLD     ocsp-filename-memleak
  CC       dh-params.o
  CCLD     dh-params
  CC       rehandshake-ext-secret.o
  CCLD     rehandshake-ext-secret
  CC       pcert-list.o
  CCLD     pcert-list
  CC       session-export-funcs.o
  CCLD     session-export-funcs
  CC       handshake-false-start.o
  CCLD     handshake-false-start
  CC       version-checks.o
  CCLD     version-checks
  CC       key-material-dtls.o
  CCLD     key-material-dtls
  CC       key-material-set-dtls.o
  CCLD     key-material-set-dtls
  CC       system-prio-file.o
  CCLD     system-prio-file
  CC       name_constraints_merge-name-constraints-merge.o
  CCLD     name-constraints-merge
  CC       crl-basic.o
  CCLD     crl-basic
  CC       crq-basic.o
  CCLD     crq-basic
  CC       send-client-cert.o
  CCLD     send-client-cert
  CC       custom-urls-override.o
  CCLD     custom-urls-override
  CC       hex.o
  CCLD     hex
  CC       rehandshake-switch-psk-id.o
  CCLD     rehandshake-switch-psk-id
  CC       rehandshake-switch-srp-id.o
  CCLD     rehandshake-switch-srp-id
  CC       base64.o
  CCLD     base64
  CC       srpbase64.o
  CCLD     srpbase64
  CC       pkcs1-digest-info.o
  CCLD     pkcs1-digest-info
  CC       set_x509_key.o
  CCLD     set_x509_key
  CC       set_x509_key_file_der.o
  CCLD     set_x509_key_file_der
  CC       set_x509_pkcs12_key.o
  CCLD     set_x509_pkcs12_key
  CC       crt_apis.o
  CCLD     crt_apis
  CC       common-cert-key-exchange.o
  CC       tls12-cert-key-exchange.o
  CCLD     tls12-cert-key-exchange
  CC       tls11-cert-key-exchange.o
  CCLD     tls11-cert-key-exchange
  CC       tls10-cert-key-exchange.o
  CCLD     tls10-cert-key-exchange
  CC       ssl30-cert-key-exchange.o
  CCLD     ssl30-cert-key-exchange
  CC       dtls12-cert-key-exchange.o
  CCLD     dtls12-cert-key-exchange
  CC       dtls10-cert-key-exchange.o
  CCLD     dtls10-cert-key-exchange
  CC       x509-cert-callback-legacy.o
  CCLD     x509-cert-callback-legacy
  CC       keylog-env.o
  CCLD     keylog-env
  CC       ssl2-hello.o
  CCLD     ssl2-hello
  CC       tlsfeature-ext.o
  CCLD     tlsfeature-ext
  CC       dtls-rehandshake-cert-2.o
  CCLD     dtls-rehandshake-cert-2
  CC       tlsfeature-crt.o
  CCLD     tlsfeature-crt
  CC       dtls-rehandshake-cert-3.o
  CCLD     dtls-rehandshake-cert-3
  CC       resume-with-false-start.o
  CCLD     resume-with-false-start
  CC       set_x509_key_file_ocsp.o
  CCLD     set_x509_key_file_ocsp
  CC       client-fastopen.o
  CCLD     client-fastopen
  CC       rng-sigint.o
rng-sigint.c:102:6: warning: no previous prototype for 'doit' [-Wmissing-prototypes]
 void doit(void)
      ^
rng-sigint.c: In function 'doit':
rng-sigint.c:104:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  exit(77);
  ^
rng-sigint.c:104:2: warning: incompatible implicit declaration of built-in function 'exit'
rng-sigint.c:104:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
  CCLD     rng-sigint
  CC       srp.o
  CCLD     srp
  CC       rng-pthread.o
  CCLD     rng-pthread
  CC       safe-renegotiation/srn0.o
  CCLD     safe-renegotiation/srn0
  CC       safe-renegotiation/srn1.o
  CCLD     safe-renegotiation/srn1
  CC       safe-renegotiation/srn2.o
  CCLD     safe-renegotiation/srn2
  CC       safe-renegotiation/srn3.o
  CCLD     safe-renegotiation/srn3
  CC       safe-renegotiation/srn4.o
  CCLD     safe-renegotiation/srn4
  CC       safe-renegotiation/srn5.o
  CCLD     safe-renegotiation/srn5
  CC       rsa_illegal_import-rsa-illegal-import.o
  CCLD     rsa-illegal-import
  CC       set_x509_key_file_ocsp_multi.o
  CCLD     set_x509_key_file_ocsp_multi
  CC       set_key.o
  CCLD     set_key
  CC       set_x509_key_file_ocsp_multi2.o
  CCLD     set_x509_key_file_ocsp_multi2
  CC       set_key_utf8.o
  CCLD     set_key_utf8
  CC       set_x509_key_utf8.o
  CCLD     set_x509_key_utf8
  CC       insecure_key.o
  CCLD     insecure_key
  CC       handshake-large-packet.o
  CCLD     handshake-large-packet
  CC       client_dsa_key.o
  CCLD     client_dsa_key
  CC       server_ecdsa_key.o
  CCLD     server_ecdsa_key
  CC       tls-session-ext-register.o
  CCLD     tls-session-ext-register
  CC       tls-session-supplemental.o
  CCLD     tls-session-supplemental
  CC       multi-alerts.o
  CCLD     multi-alerts
  CC       naked-alerts.o
  CCLD     naked-alerts
  CC       pkcs7-cat-parse.o
  CCLD     pkcs7-cat-parse
  CC       set_known_dh_params_x509.o
  CCLD     set_known_dh_params_x509
  CC       set_known_dh_params_anon.o
  CCLD     set_known_dh_params_anon
  CC       set_known_dh_params_psk.o
  CCLD     set_known_dh_params_psk
  CC       session-tickets-ok.o
  CCLD     session-tickets-ok
  CC       session-tickets-missing.o
  CCLD     session-tickets-missing
  CC       set_x509_key_file_legacy.o
  CCLD     set_x509_key_file_legacy
  CC       status-request-ext.o
  CCLD     status-request-ext
  CC       rng-no-onload.o
  CCLD     rng-no-onload
  CC       dtls1-2-mtu-check.o
  CCLD     dtls1-2-mtu-check
  CC       crl_apis.o
  CCLD     crl_apis
  CC       cert_verify_inv_utf8.o
  CCLD     cert_verify_inv_utf8
  CC       hostname-check-utf8.o
hostname-check-utf8.c: In function 'doit':
hostname-check-utf8.c:107:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  exit(77);
  ^
hostname-check-utf8.c:107:2: warning: incompatible implicit declaration of built-in function 'exit'
hostname-check-utf8.c:107:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
  CCLD     hostname-check-utf8
  CC       pkcs8-key-decode-encrypted.o
  CCLD     pkcs8-key-decode-encrypted
  CC       priority-mix.o
  CCLD     priority-mix
  CC       pkcs7.o
  CCLD     pkcs7
  CC       send-data-before-handshake.o
  CCLD     send-data-before-handshake
  CC       recv-data-before-handshake.o
  CCLD     recv-data-before-handshake
  CC       crt_inv_write.o
  CCLD     crt_inv_write
  CC       x509sign-verify-error.o
  CCLD     x509sign-verify-error
  CC       rng-op-nonce.o
  CCLD     rng-op-nonce
  CC       rng-op-random.o
  CCLD     rng-op-random
  CC       rng-op-key.o
  CCLD     rng-op-key
  CC       x509-dn-decode-compat.o
  CCLD     x509-dn-decode-compat
  CC       ip-check.o
  CCLD     ip-check
  CC       mini-x509-ipaddr.o
  CCLD     mini-x509-ipaddr
  CC       trust-store.o
  CCLD     trust-store
  CC       base64-raw.o
base64-raw.c: In function 'encode':
base64-raw.c:42:22: warning: unused variable 'in' [-Wunused-variable]
  gnutls_datum_t out, in;
                      ^
  CCLD     base64-raw
  CC       random-art.o
  CCLD     random-art
  CC       dhex509self.o
  CCLD     dhex509self
  CC       dss-sig-val.o
  CCLD     dss-sig-val
  CC       sign-pk-api.o
  CCLD     sign-pk-api
  CC       tls-session-ext-override.o
  CCLD     tls-session-ext-override
  CC       ocsp.o
  CCLD     ocsp
  CC       x509self.o
  CCLD     x509self
  CC       x509dn.o
  CCLD     x509dn
  CC       anonself.o
  CCLD     anonself
  CC       pskself.o
  CCLD     pskself
  CC       dhepskself.o
  CCLD     dhepskself
  CC       setcredcrash.o
  CCLD     setcredcrash
  CC       resume_x509-resume.o
  CCLD     resume-x509
  CC       resume_psk-resume.o
  CCLD     resume-psk
  CC       resume_anon-resume.o
  CCLD     resume-anon
gmake[3]: Nothing to be done for 'rfc2253-escape-test'.
gmake[3]: Nothing to be done for 'rsa-md5-collision/rsa-md5-collision.sh'.
gmake[3]: Nothing to be done for 'systemkey.sh'.
gmake[3]: Nothing to be done for 'p11-kit-trust.sh'.
gmake[3]: Nothing to be done for 'fastopen.sh'.
gmake[3]: Nothing to be done for 'pkgconfig.sh'.
gmake[3]: Nothing to be done for 'starttls.sh'.
gmake[3]: Nothing to be done for 'starttls-ftp.sh'.
gmake[3]: Nothing to be done for 'starttls-smtp.sh'.
gmake[3]: Nothing to be done for 'starttls-lmtp.sh'.
gmake[3]: Nothing to be done for 'starttls-pop3.sh'.
gmake[3]: Nothing to be done for 'starttls-nntp.sh'.
gmake[3]: Nothing to be done for 'starttls-sieve.sh'.
gmake[3]: Nothing to be done for 'ocsp-tests/ocsp-tls-connection'.
gmake[3]: Nothing to be done for 'ocsp-tests/ocsp-must-staple-connection'.
gmake[3]: Nothing to be done for 'ocsp-tests/ocsp-test'.
gmake[3]: Nothing to be done for 'cipher-listings.sh'.
gmake[3]: Nothing to be done for 'sni-hostname.sh'.
gmake[3]: Nothing to be done for 'server-multi-keys.sh'.
gmake[3]: Nothing to be done for 'psktool.sh'.
gmake[3]: Nothing to be done for 'ocsp-tests/ocsp-load-chain'.
gmake[3]: Nothing to be done for 'gnutls-cli-save-data.sh'.
gmake[3]: Nothing to be done for 'gnutls-cli-debug.sh'.
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/tests'
/usr/pkg/bin/gmake  check-TESTS
gmake[3]: Entering directory '.../gnutls/work/gnutls-3.6.0/tests'
gmake[4]: Entering directory '.../gnutls/work/gnutls-3.6.0/tests'
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-record-2
PASS: simple
PASS: gc
PASS: set_pkcs12_cred
PASS: cert
PASS: certuniqueid
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-neg-ext-key
PASS: mpi
PASS: certificate_set_x509_crl
PASS: dn
PASS: parse_ca
PASS: x509-dn
PASS: x509-dn-decode
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: record-sizes
PASS: hostname-check
PASS: cve-2008-4989
PASS: pkcs12_s2k
PASS: chainverify
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: record-sizes-range
PASS: crq_key_id
PASS: x509sign-verify
PASS: sign-verify
PASS: cve-2009-1415
PASS: cve-2009-1416
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls10-server-kx-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls11-server-kx-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls12-server-kx-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: ssl30-server-kx-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls12-cipher-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls11-cipher-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls10-cipher-neg
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: ssl30-cipher-neg
PASS: crq_apis
PASS: init_roundtrip
PASS: pkcs12_s2k_pem
PASS: dn2
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-eagain
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-rehandshake-cert-3
PASS: nul-in-x509-names
PASS: x509_altname
PASS: pkcs12_encode
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-rehandshake-cert
PASS: rng-fork
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-eagain-dtls
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: resume-dtls
PASS: x509cert
PASS: x509cert-tl
PASS: infoaccess
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-hello-verify
PASS: sign-verify-ed25519-rfc8080
PASS: trustdb-tofu
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-rehandshake-anon
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-alpn
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-large
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-termination
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-cas
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-2
PASS: pkcs12_simple
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-emsgsize-dtls
PASS: chainverify-unsorted
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-overhead
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls12-ffdhe
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-heartbeat
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-callbacks
PASS: key-openssl
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: priorities
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: priorities-groups
PASS: gnutls_x509_privkey_import
PASS: gnutls_x509_crt_list_import
PASS: sign-verify-ext4
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-neg-ext4-key
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-srtp
PASS: rsa-encrypt-decrypt
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-loss-time
PASS: gnutls-strcodes
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-record
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-record
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-handshake-timeout
SKIP: mini-record-range
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-cert-status
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rsa-psk
PASS: global-init
PASS: sec-params
PASS: sign-verify-data
SKIP: fips-test
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-global-load
PASS: name-constraints
PASS: x509-extensions
FAIL: long-session-id
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-callbacks-intr
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-lowmtu
PASS: crlverify
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-discard
PASS: init_fds
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-record-failure
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-rehandshake-cert-2
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: custom-urls
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_key_mem
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_key_file
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-chain-unsorted
PASS: x509-verify-with-crl
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-mtu
PASS: privkey-verify-broken
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-record-asym
PASS: key-import-export
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: priority-set
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: priority-set2
PASS: pubkey-import-export
PASS: sign-is-secure
PASS: spki
PASS: spki-abstract
PASS: rsa-rsa-pss
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-fork
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-pthread
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-key-material
PASS: x509cert-invalid
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-ext-register
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-supplemental
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls0-9
FAIL: duplicate-extensions
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-record-retvals
FAIL: mini-server-name
FAIL: tls-etm
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: x509-cert-callback
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: sign-md5-rep
PASS: privkey-keygen
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-tls-nonblock
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: no-signal
PASS: pkcs7-gen
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-etm
PASS: x509sign-verify-rsa
PASS: x509sign-verify-ecdsa
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-alignment
PASS: oids
PASS: atfork
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: prf
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: psk-file
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: status-request
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: status-request-ok
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: status-request-missing
PASS: sign-verify-ext
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: fallback-scsv
PASS: pkcs8-key-decode
PASS: urls
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-rehandshake-cert
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: key-usage-rsa
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: key-usage-ecdhe-rsa
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-session-verify-function
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: auto-verify
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: record-timeouts
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-dtls-hello-verify-48
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-default-prio
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: mini-x509-dual
PASS: global-init-override
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tlsext-decoding
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rsa-psk-cb
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-cert
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-cert-allow
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-cert-client
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-cert-client-allow
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: handshake-versions
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-handshake-versions
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-max-record
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls-max-record
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: alpn-server-prec
PASS: ocsp-filename-memleak
PASS: dh-params
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-ext-secret
PASS: pcert-list
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: session-export-funcs
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: handshake-false-start
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: version-checks
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: key-material-dtls
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: key-material-set-dtls
PASS: system-prio-file
PASS: name-constraints-merge
PASS: crl-basic
PASS: crq-basic
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: send-client-cert
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: custom-urls-override
PASS: hex
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-psk-id
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: rehandshake-switch-srp-id
PASS: base64
PASS: srpbase64
PASS: pkcs1-digest-info
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_key
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_key_file_der
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_pkcs12_key
PASS: crt_apis
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls12-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls11-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: tls10-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: ssl30-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls12-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls10-cert-key-exchange
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: x509-cert-callback-legacy
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: keylog-env
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: ssl2-hello
PASS: tlsfeature-ext
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-rehandshake-cert-2
PASS: tlsfeature-crt
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: dtls-rehandshake-cert-3
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: resume-with-false-start
[1]   Segmentation fault (core dumped) "${@}" >${log_fi...
FAIL: set_x509_key_file_ocsp
[1]   Terminated              "${@}" >${log_fi...
Makefile:7500: recipe for target 'client-fastopen.log' failed
gmake[4]: *** [client-fastopen.log] Error 143
gmake[4]: Leaving directory '.../gnutls/work/gnutls-3.6.0/tests'
Makefile:6037: recipe for target 'check-TESTS' failed
gmake[3]: *** [check-TESTS] Error 2
gmake[3]: Leaving directory '.../gnutls/work/gnutls-3.6.0/tests'
Makefile:8487: recipe for target 'check-am' failed
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory '.../gnutls/work/gnutls-3.6.0/tests'
Makefile:5824: recipe for target 'check-recursive' failed
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory '.../gnutls/work/gnutls-3.6.0/tests'
Makefile:1458: recipe for target 'check-recursive' failed
gmake: *** [check-recursive] Error 1
*** Error code 2

As you can see, there are lots of segmentation faults, and client-fastopen hangs, I had to kill it manually (after some minutes of no progress).

The log files are not very helpful, the segfaulting ones look like this:

FAIL alpn-server-prec (exit status: 139)

Running one of them in gdb gives:

# gdb ./alpn-server-prec
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./alpn-server-prec...done.
(gdb) r
Starting program: /scratch/nih/gnutls/work/gnutls-3.6.0/tests/alpn-server-prec

Program received signal SIGSEGV, Segmentation fault.
0x000077c804608fbc in _atomic_cas_ptr (new=<optimized out>, old=0x0, ptr=0x33330013) at /usr/src/lib/libpthread/arch/x86_64/pthread_md.h:77
77      /usr/src/lib/libpthread/arch/x86_64/pthread_md.h: No such file or directory.
(gdb) bt
#0  0x000077c804608fbc in _atomic_cas_ptr (new=<optimized out>, old=0x0, ptr=0x33330013) at /usr/src/lib/libpthread/arch/x86_64/pthread_md.h:77
#1  pthread_mutex_lock (ptm=0x33330003) at /usr/src/lib/libpthread/pthread_mutex.c:195
#2  0x000077c804e521f5 in gnutls_system_mutex_lock (priv=<optimized out>) at system/threads.c:119
#3  0x000077c804e3ed77 in gnutls_atomic_increment (x=0x77c80492a360) at atomic.h:58
#4  gnutls_priority_set (session=session@entry=0x77c804920000, priority=0x77c804929000) at priority.c:563
#5  0x000077c804e3fb4d in gnutls_priority_set_direct (session=0x77c804920000,
    priorities=priorities@entry=0x168002c58 "NONE:+VERS-TLS1.0:+CIPHER-ALL:+MAC-ALL:+SIGN-ALL:+COMP-ALL:+ANON-ECDH:+CURVE-ALL", err_pos=err_pos@entry=0x0) at priority.c:1620
#6  0x0000000168001a95 in server (expected=0x168002c37 "h2", protocol2=0x168002c3a "http/1.1", protocol1=0x168002c37 "h2", fd=4) at alpn-server-prec.c:192
#7  start (p1=p1@entry=0x168002c37 "h2", p2=p2@entry=0x168002c3a "http/1.1", cp1=cp1@entry=0x168002c37 "h2", cp2=cp2@entry=0x168002c3a "http/1.1",
    expected=expected@entry=0x168002c37 "h2") at alpn-server-prec.c:282
#8  0x0000000168002055 in doit () at alpn-server-prec.c:295
#9  0x0000000168002a6e in main (argc=<optimized out>, argv=0x7f7fffb6a568) at utils.c:254
(gdb)

That's with gcc (nb1 20160606) 5.4.0.

Please let me know how to help you fix this.