lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:5:1: error: unknown directive .arch armv8-a+crypto ^ lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:49:2: error: instruction requires: crypto aese v6.16b,v0.16b ^ http://thunderx1.nyi.freebsd.org/data/110arm64-default/431215/logs/errors/gnutls-3.5.8.log http://thunderx1.nyi.freebsd.org/data/110arm64-default/430080/logs/gnutls-3.4.17.log
Not an issue for 11.1 (or /head) but 10.0 may need CFLAGS+=-no-integrated-as. /usr/bin/as doesn't exist, so we don't need to pass -B or COMPILER_PATH can just use BUILD_DEPENDS+=as:devel/binutils with appropriate OSVERSION checks. $ cat >a.s .arch armv8-a+crypto aese v6.16b,v0.16b $ clang39 -target aarch64-pc-freebsd11.0 -c a.s $ clang38 -target aarch64-pc-freebsd11.0 -c a.s a.s:1:1: error: unknown directive .arch armv8-a+crypto ^ a.s:2:1: error: instruction requires: crypto aese v6.16b,v0.16b ^
Created attachment 178869 [details] v0 Haven't tested yet.
If it works feel free to commit this. I cannot test it.
Comment on attachment 178869 [details] v0 110aarch64 builds fine but head-aarch64 still fails. It really wants Clang 4.0. elf/aes-aarch64.s:39:1: error: unexpected token at start of statement # ^ lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:35:2: error: instruction requires: neon eor v0.16b,v0.16b,v0.16b ^ lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:36:2: error: instruction requires: neon ld1 {v3.16b},[x0],#16 ^
A commit references this bug: Author: jbeich Date: Sat Jan 14 20:51:33 UTC 2017 New revision: 431494 URL: https://svnweb.freebsd.org/changeset/ports/431494 Log: security/gnutls: unbreak aarch64 after r431214 lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:5:1: error: unknown directive .arch armv8-a+crypto ^ lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:49:2: error: instruction requires: crypto aese v6.16b,v0.16b ^ PR: 216045 Approved by: tijl (maintainer) Changes: head/security/gnutls/Makefile
A commit references this bug: Author: jbeich Date: Sat Jan 14 20:53:21 UTC 2017 New revision: 431495 URL: https://svnweb.freebsd.org/changeset/ports/431495 Log: MFH: r431494 security/gnutls: unbreak aarch64 after r431214 lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:5:1: error: unknown directive .arch armv8-a+crypto ^ lib/accelerated/aarch64/elf/aes-aarch64.s.tmp.S:49:2: error: instruction requires: crypto aese v6.16b,v0.16b ^ PR: 216045 Approved by: tijl (maintainer) Approved by: ports-secteam blanket Changes: _U branches/2017Q1/ branches/2017Q1/security/gnutls/Makefile
A commit references this bug: Author: jbeich Date: Fri Jan 5 02:58:10 UTC 2018 New revision: 458103 URL: https://svnweb.freebsd.org/changeset/ports/458103 Log: security/gnutls: revert r431494 per FreeBSD 11.0 EOL PR: 216045 Approved by: portmgr blanket Changes: head/security/gnutls/Makefile
A commit references this bug: Author: jbeich Date: Fri Jan 5 03:00:39 UTC 2018 New revision: 458106 URL: https://svnweb.freebsd.org/changeset/ports/458106 Log: MFH: r458103 security/gnutls: revert r431494 per FreeBSD 11.0 EOL PR: 216045 Approved by: portmgr blanket Approved by: ports-secteam blanket Changes: _U branches/2018Q1/ branches/2018Q1/security/gnutls/Makefile