View | Details | Raw Unified | Return to bug 218187 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.qt.mk (-1 / +3 lines)
Lines 147-153 Link Here
147
.  if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
147
.  if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
148
CONFIGURE_ARGS+=-no-sse2
148
CONFIGURE_ARGS+=-no-sse2
149
.  endif
149
.  endif
150
150
# Work around a bug in current binutils, where the gold linker creates
151
# duplicate symbols. See pr 218187. Disable the gold-linker for Qt5 ports.
152
CONFIGURE_ARGS+=	-no-use-gold-linker
151
. endif
153
. endif
152
154
153
. if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG)
155
. if defined(WANT_QT_DEBUG) || defined(WITH_DEBUG)
(-)UPDATING (+21 lines)
Lines 5-10 Link Here
5
You should get into the habit of checking this file for changes each time
5
You should get into the habit of checking this file for changes each time
6
you update your ports collection, before attempting any port upgrades.
6
you update your ports collection, before attempting any port upgrades.
7
7
8
20170530:
9
  AFFECTS: users of Qt 5 in presence of binutils
10
  AUTHOR: amdmi3@FreeBSD.org
11
12
  gold linker from binutils 2.28 may produce duplicate library
13
  symbols, which makes shared libraries created with it not usable
14
  with conventional ld linker.
15
16
  This affects Qt, as qt5-qmake will detect gold and use it to build
17
  Qt libraries. Broken libQt5Core will be produced and ports which
18
  depend on it will then fail to link with the following errors:
19
20
    ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `__bss_start at Qt_5'
21
    ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here
22
    ...lib/libQt5Core.so:(.dynamic+0x27ac8): multiple definition of `_edata at Qt_5'
23
    ...lib/libQt5Core.so:(.dynamic+0x27ac8): first defined here
24
    ...lib/libQt5Core.so:(.dynamic+0x2b2d0): multiple definition of `_end at Qt_5'
25
26
  Qt5 was fixed to ignore gold. If you see these errors, you
27
  need to rebuild qt5-qmake, then all qt5-* ports.
28
8
20170529:
29
20170529:
9
  AFFECTS: users of sysutils/dsbmd
30
  AFFECTS: users of sysutils/dsbmd
10
  AUTHOR: mk@freeshell.de
31
  AUTHOR: mk@freeshell.de
(-)devel/qt5-core/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	core
3
PORTNAME=	core
4
DISTVERSION=	${QT5_VERSION}
4
DISTVERSION=	${QT5_VERSION}
5
PORTREVISION=	1
5
CATEGORIES=	devel
6
CATEGORIES=	devel
6
PKGNAMEPREFIX=	qt5-
7
PKGNAMEPREFIX=	qt5-
7
8
(-)devel/qt5-qmake/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	qmake
3
PORTNAME=	qmake
4
DISTVERSION=	${QT5_VERSION}
4
DISTVERSION=	${QT5_VERSION}
5
PORTREVISION=	2
5
PORTREVISION=	3
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
PKGNAMEPREFIX=	qt5-
7
PKGNAMEPREFIX=	qt5-
8
8

Return to bug 218187