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

Collapse All | Expand All

(-)UPDATING (+21 lines)
Lines 6-11 Link Here
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
20170404:
8
20170404:
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
29
20170404:
9
  AFFECTS: users of Xapian 1.2.x and www/ikiwiki
30
  AFFECTS: users of Xapian 1.2.x and www/ikiwiki
10
  AUTHOR: sunpoet@FreeBSD.org
31
  AUTHOR: sunpoet@FreeBSD.org
11
32
(-)Mk/bsd.qt.mk (-1 / +2 lines)
Lines 143-149 Link Here
143
				-libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \
143
				-libexecdir ${PREFIX}/${QT_LIBEXECDIR_REL} \
144
				-qmldir ${PREFIX}/${QT_QMLDIR_REL} \
144
				-qmldir ${PREFIX}/${QT_QMLDIR_REL} \
145
				-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \
145
				-examplesdir ${PREFIX}/${QT_EXAMPLEDIR_REL} \
146
				-testsdir ${PREFIX}/${QT_TESTDIR_REL}
146
				-testsdir ${PREFIX}/${QT_TESTDIR_REL} \
147
				-no-use-gold-linker
147
.  if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
148
.  if ${ARCH} == i386 && empty(MACHINE_CPU:Msse2)
148
CONFIGURE_ARGS+=-no-sse2
149
CONFIGURE_ARGS+=-no-sse2
149
.  endif
150
.  endif

Return to bug 218187