[gnutls-devel] GnuTLS | Error building with clang 14: the clang compiler does not support '-march=all' (#1377)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon May 30 14:56:12 CEST 2022



Adrien Béraud created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1377



## Description of problem:
When cross compiling GnuTLS for Android (aarch64) using the NDK r25, the build fails with the following error:
`clang-14: error: the clang compiler does not support '-march=all'`.

## Version of gnutls used:
Bug reproduced with GnuTLS 3.7.6

## Distributor of gnutls
Using official tarballs from gnupg.org.

## Actual results:
```
make[4]: Entering directory 'native-aarch64-linux-android/gnutls/lib/accelerated/aarch64'
  CC       aarch64-common.lo
  CC       sha-aarch64.lo
  CC       hmac-sha-aarch64.lo
  CC       aes-cbc-aarch64.lo
  CC       aes-gcm-aarch64.lo
  CC       aes-ccm-aarch64.lo
  CCAS     elf/sha1-armv8.lo
clang-14: error: the clang compiler does not support '-march=all'
```

## Expected results:
Build should succeed

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


More information about the Gnutls-devel mailing list