[gnutls-devel] GnuTLS | configure.ac: check if compiler supports -Wa, -march=all (!1579)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon May 2 18:07:34 CEST 2022




John Ralls commented:


@dueno I tried by applying the commit via `git format-patch` to a freshly unpacked gnutls-3.7.3.tar.xz. The patch applied and autoreconf and configure succeeded but the build failed:
```
 CCAS     macosx/sha1-armv8.lo
../../../libtool: line 1760:  4484 Segmentation fault: 11  /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -Wa,-march=all -O2 -arch arm64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=11 -c /Users/john/Development/Gnucash-Build/Gnucash-master-git-11-arm64/src/gnutls-3.7.3/lib/accelerated/aarch64/macosx/sha1-armv8.s -fno-common -DPIC -o macosx/.libs/sha1-armv8.o
make[5]: *** [Makefile:2244: macosx/sha1-armv8.lo] Error 1
```

Note the `-Wa,-march=all` in the gcc command line.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1579#note_932489685
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/20220502/30ef88c0/attachment.html>


More information about the Gnutls-devel mailing list