Index: Makefile =================================================================== --- Makefile (revision 437133) +++ Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= qmake DISTVERSION= ${QT5_VERSION} +PORTREVISION= 1 CATEGORIES= devel PKGNAMEPREFIX= qt5- @@ -23,7 +24,8 @@ -no-gtk -no-xinput2 -no-xrender \ -no-evdev -no-xkbcommon -no-alsa \ -no-freetype -no-gif -no-harfbuzz -no-libjpeg \ - -no-libpng -no-pulseaudio -no-widgets + -no-libpng -no-pulseaudio -no-widgets \ + -no-use-gold-linker # Features yet to be removed from qconfig.pri. TBR_CONFIG= concurrent|inotify|xlib QMAKESPEC= ${WRKSRC}/mkspecs/freebsd-${QMAKE_COMPILER} Index: ../../UPDATING =================================================================== --- ../../UPDATING (revision 437134) +++ ../../UPDATING (working copy) @@ -6,6 +6,27 @@ you update your ports collection, before attempting any port upgrades. 20170326: + AFFECTS: users of Qt 5 in presence of binutils + AUTHOR: amdmi3@FreeBSD.org + + gold linker from binutils 2.28 may produce duplicate library + symbols, which makes shared libraries created with it not usable + with conventional ld linker. + + This affects Qt, as qt5-qmake will detect gold and use it to build + Qt libraries. Broken libQt5Core will be produced and ports which + depend on it will then fail to link with the following errors: + + ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `__bss_start at Qt_5' + ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here + ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `_edata at Qt_5' + ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here + ...lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end at Qt_5' + + qt5-qmake was fixed to ignore gold. If you see these errors, you + need to rebuild qt5-qmake, then all qt5-* ports. + +20170326: AFFECTS: users of samba43 AUTHOR: antoine@FreeBSD.org