rnpgp / rnp

RNP: high performance C++ OpenPGP library used by Mozilla Thunderbird
https://www.rnpgp.org
Other
201 stars 55 forks source link

clang/libgcrypt v1.9.3 issue (CentOS 8 workflow) #1668

Closed maxirmx closed 2 years ago

maxirmx commented 3 years ago

Target: CentOS 8 Tests (normal, 2.3.1, clang, clang++) Module: libgcrypt / 1.9.3 Error:

basic.c:315:16: error: inline assembly requires more registers than available
  asm volatile("movdqu %[data0], %%xmm0\n"
               ^
basic.c:315:16: error: inline assembly requires more registers than available

Other tests use libgcrypt /v1.8.7 and libgcrypt / v1.9.0-beta277 which are compiled without issues.

Originally posted by @maxirmx in https://github.com/rnpgp/rnp/issues/1129#issuecomment-959510564

ronaldtse commented 3 years ago

@maxirmx we don't need GnuPG to work with clang, only RNP libraries. Thanks.

maxirmx commented 2 years ago

same fix as #1669 (force gcc toolchain for GnuPg)