[gnutls-devel] GnuTLS | Gnutls 3.6.14 fails to compile on Mac OS Catalina (#1033)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Jun 14 12:15:04 CEST 2020



Lancelot de Ferrière created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1033



## Description of problem:

When compiling the library (part of our dependencies on 0 A.D., build script is [here](https://code.wildfiregames.com/source/0ad/browse/ps/trunk/libraries/osx/build-osx-libs.sh), I experience a build failure that I did not experience with 3.6.13

The failure happens at link time:

`  CCLD     gnutls-cli-debug
Undefined symbols for architecture x86_64:
  "_c_isdigit", referenced from:
      __asn1_expand_object_id in libgnutls.a(parser_aux.o)
      __asn1_check_identifier in libgnutls.a(parser_aux.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [psktool] Error 1
make[3]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
  "_c_isdigit", referenced from:
      __asn1_expand_object_id in libgnutls.a(parser_aux.o)
      __asn1_check_identifier in libgnutls.a(parser_aux.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [gnutls-cli-debug] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install] Error 2
make: *** [install-recursive] Error 1
ERROR: GnuTLS build failed
`

I can provide the rest of the build logs but they seem rather uninteresting.

## Version of gnutls used:

3.6.14. It works using 3.6.13.

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

Downloaded from source on the official repository.

## How reproducible:

Happens every time when compiling, both under Catalina and Mojave.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1033
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/20200614/591b61e7/attachment.html>


More information about the Gnutls-devel mailing list