FreeBSD Bugzilla – Attachment 181488 Details for
Bug 218187
devel/qt5-core, devel/qt5-qmake, devel/binutils: qt5 produces unusable library with binutils
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
bsd.qt.mk patch
qt5.patch (text/plain), 1.78 KB, created by
Dmitry Marakasov
on 2017-04-04 18:00:19 UTC
(
hide
)
Description:
bsd.qt.mk patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2017-04-04 18:00:19 UTC
Size:
1.78 KB
patch
obsolete
>Index: UPDATING >=================================================================== >--- UPDATING (revision 437745) >+++ UPDATING (working copy) >@@ -6,6 +6,27 @@ > you update your ports collection, before attempting any port upgrades. > > 20170404: >+ 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 was fixed to ignore gold. If you see these errors, you >+ need to rebuild qt5-qmake, then all qt5-* ports. >+ >+20170404: > AFFECTS: users of Xapian 1.2.x and www/ikiwiki > AUTHOR: sunpoet@FreeBSD.org > >Index: Mk/bsd.qt.mk >=================================================================== >--- Mk/bsd.qt.mk (revision 437745) >+++ Mk/bsd.qt.mk (working copy) >@@ -143,7 +143,8 @@ > -libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \ > -qmldir ${PREFIX}/${QT_QMLDIR_REL} \ > -examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \ >- -testsdir ${PREFIX}/${QT_TESTDIR_REL} >+ -testsdir ${PREFIX}/${QT_TESTDIR_REL} \ >+ -no-use-gold-linker > . if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2) > CONFIGURE_ARGS+=-no-sse2 > . endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218187
:
181269
|
181271
|
181488
|
183069