[gnutls-devel] GnuTLS | Build errors with MinGW (#1283)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Sun Oct 17 19:54:37 CEST 2021



Tim Rühsen created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1283



```
make[5]: Entering directory '/usr/local/gnutls/lib/x509'
  CC       common.lo
  CC       key_encode.lo
  CC       key_decode.lo
  CC       time.lo
  CC       crl.lo
  CC       crl_write.lo
  CC       crq.lo
  CC       dn.lo
  CC       attributes.lo
  CC       prov-seed.lo
  CC       extensions.lo
  CC       mpi.lo
  CC       output.lo
  CC       pkcs12.lo
  CC       pkcs12_bag.lo
  CC       pkcs12_encr.lo
  CC       pkcs7.lo
  CC       pkcs7-attrs.lo
  CC       pkcs7-crypt.lo
  CC       privkey.lo
  CC       privkey_pkcs8.lo
  CC       privkey_pkcs8_pbes1.lo
  CC       privkey_openssl.lo
  CC       hostname-verify.lo
  CC       sign.lo
  CC       verify.lo
  CC       x509.lo
  CC       x509_dn.lo
  CC       x509_write.lo
  CC       name_constraints.lo
  CC       verify-high.lo
  CC       verify-high2.lo
  CC       x509_ext.lo
  CC       email-verify.lo
  CC       pkcs7-output.lo
  CC       spki.lo
  CC       virt-san.lo
  CC       tls_features.lo
  CC       krb5.lo
  CC       ip.lo
  CC       ocsp.lo
  CC       ocsp_output.lo
x86_64-w64-mingw32-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
x86_64-w64-mingw32-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
x86_64-w64-mingw32-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[5]: *** [Makefile:2241: x509_dn.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
verify-high2.c: In function 'load_dir_certs':
make[5]: *** [Makefile:2241: privkey_pkcs8_pbes1.lo] Error 1
verify-high2.c:442:19: warning: cast increases required alignment of target type [-Wcast-align]
  442 |  dirp = _topendir((_TCHAR*)utf16.data);
      |                   ^
make[5]: *** [Makefile:2241: time.lo] Error 1
x86_64-w64-mingw32-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[5]: *** [Makefile:2241: privkey.lo] Error 1
privkey_pkcs8.c:1142:13: warning: 'ASN1_TYPE' macro is deprecated, use 'asn1_node' instead.
 1142 | _decode_pkcs8_modern_ecdh_key(ASN1_TYPE pkcs8_asn, gnutls_x509_privkey_t pkey, const char *oid)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-w64-mingw32-gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
```

Not sure why these warnings let the build fail at all.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1283
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20211017/810c0ddb/attachment-0001.html>


More information about the Gnutls-devel mailing list