Date: Tue, 28 Mar 2017 15:43:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 218187] devel/qt5-core, devel/qt5-qmake, devel/binutils: qt5 produces unusable library with binutils Message-ID: <bug-218187-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218187 Bug ID: 218187 Summary: devel/qt5-core, devel/qt5-qmake, devel/binutils: qt5 produces unusable library with binutils Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: amdmi3@FreeBSD.org Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) There's problem in gold linker from new binutils, which produces the follow= ing problem: - when binutils 2.28 are installed - qmake detects gold and adds use_gold_linker to CONFIG /usr/local/lib/qt5/mkspecs/qmodule.pri: -CONFIG +=3D compile_examples no-libdl qpa largefile use_gold_linker enable_new_dtags sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512er avx512cd +CONFIG +=3D compile_examples no-libdl qpa largefile enable_new_dtags sse2= sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512er avx512cd - qt5-core builds library which may not be used with conventional linker because of duplicated symbols This leads to failure when building qt5-widgets after rebuilding qt5-core: /usr/work/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7= .1/lib/libQt5Core.so:(.dynamic+0x27aa0): multiple definition of `__bss_start@Qt_5' /usr/work/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7= .1/lib/libQt5Core.so:(.dynamic+0x27aa0): first defined here /usr/work/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7= .1/lib/libQt5Core.so:(.dynamic+0x27aa0): multiple definition of `_edata@Qt_5' /usr/work/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7= .1/lib/libQt5Core.so:(.dynamic+0x27aa0): first defined here /usr/work/usr/ports/x11-toolkits/qt5-widgets/work/qtbase-opensource-src-5.7= .1/lib/libQt5Core.so:(.dynamic+0x2b2a8): multiple definition of `_end@Qt_5' related bugs from other distros: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D852035 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21074 This reveals at least two problems: - qmake5 should be fixed to never detect gold. Otherwise it creates hidden dependency on binutils which leads to build failures after binutils are deinstalled and kills consistency in general - gold from binutils port should be fixed to not produce duplicate symbols; there's likely upstream fix for that --=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-218187-13>