Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2017 10:30:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216908] security/gnutls: does not build on 12-CURRENT aarch64 after llvm 3.9 toolchain integration
Message-ID:  <bug-216908-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: wolfgang.meyer@hob.de
             Flags: maintainer-feedback?(tijl@FreeBSD.org)
          Assignee: tijl@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 b=
uild
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=20
.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=20
 -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 invocatio=
n)
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=3Drevision&revision=3D277105 from =
llvm
upstream fixes the linker error (the patch is not backported to the llvm 3.9
branch yet).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216908-13>