Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2021 16:54:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 260078] security/gnutls fails to build
Message-ID:  <bug-260078-29464-0iDd4mG3x5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260078-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260078-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260078

Bjoern A. Zeeb <bz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |bz@FreeBSD.org

--- Comment #2 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
I can confirm that this change locally makes gnutls build for me.
It's probably not the proper way to fix this in ports.

Thanks a lot @dim for your quick diagnose and reply!

diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 1ed334f7ca95..cebb0d6016c3 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -17,7 +19,7 @@ LIB_DEPENDS=3D  libgmp.so:math/gmp \
                libunistring.so:devel/libunistring
 RUN_DEPENDS=3D   ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root=
_nss

-USES=3D          compiler:c11 cpe gmake iconv libtool localbase makeinfo \
+USES=3D          compiler:c11 cpe gmake iconv autoreconf libtool localbase
makeinfo \
                pkgconfig tar:xz
 USE_LDCONFIG=3D  yes

diff --git a/security/gnutls/files/patch-aarch64-clang-fix-PR260078
b/security/gnutls/files/patch-aarch64-clang-fix-PR260078
new file mode 100644
index 000000000000..672c41da6065
--- /dev/null
+++ b/security/gnutls/files/patch-aarch64-clang-fix-PR260078
@@ -0,0 +1,11 @@
+--- lib/accelerated/aarch64/Makefile.am.orig   2021-04-19 07:28:28.0000000=
00
+0000
++++ lib/accelerated/aarch64/Makefile.am        2021-11-28 16:02:10.6137750=
00
+0000
+@@ -34,7 +34,7 @@ AM_CPPFLAGS +=3D -I$(srcdir)/../../minitasn1
+ endif
+=20
+ #ensure that we have all aarch64 instruction sets enabled for the assembl=
er
+-AM_CCASFLAGS =3D -Wa,-march=3Dall
++#AM_CCASFLAGS =3D -Wa,-march=3Dall
+=20
+ EXTRA_DIST =3D README
+

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260078-29464-0iDd4mG3x5>