[Bug 216908] security/gnutls: does not build on 12-CURRENT aarch64 after llvm 3.9 toolchain integration
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 8 10:30:48 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216908
Bug ID: 216908
Summary: security/gnutls: does not build on 12-CURRENT aarch64
after llvm 3.9 toolchain integration
Product: Ports & Packages
Version: Latest
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tijl at FreeBSD.org
Reporter: wolfgang.meyer at hob.de
Flags: maintainer-feedback?(tijl at FreeBSD.org)
Assignee: tijl at FreeBSD.org
Not sure whether to report this as individual ports bug or base system bug.
The security/gnutls ports does not build on 12-CURRENT aarch64 (poudriere build
with qemu-user-static) after updating the llvm toolchain to version 3.9.0 (
base r309124 ). The newly added lld linker seems to be the culprit giving an
linker error (complete logfile in attachment):
libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o
.libs/libgnutlsxx_la-gnutlsxx.o ./.libs/libgnutls.so -lintl -L/usr/local/lib
-L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2
-o .libs/libgnutlsxx.so.28.1.0
CIE code alignment must be 1
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:1729: libgnutlsxx.la] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.8/lib'
gmake[4]: *** [Makefile:1940: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.8/lib'
gmake[3]: *** [Makefile:1629: all] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.8/lib'
gmake[2]: *** [Makefile:1460: all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.8'
gmake[1]: *** [Makefile:1388: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/security/gnutls/work/gnutls-3.5.8'
*** Error code 1
Workaround:
Patching lld with
http://llvm.org/viewvc/llvm-project?view=revision&revision=277105 from llvm
upstream fixes the linker error (the patch is not backported to the llvm 3.9
branch yet).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list