[Bug 237745] Mk/Uses/qt-dist.mk: fix qt5 with GCC architectures
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 24 16:33:36 BST 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237745
--- Comment #9 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #7)
I forgot to mention: powerpc64 context for building.
In my case a system-clang-8 based world, no gcc 4.2.1
present.
Side note for the system-clang-8 context:
Without another change devel/qt5-core builds but is
incoherent by having both libstdc++ and libc++/libcxxrt
involved overall in /usr/local/lib/qt5/bin/qlalr :
/usr/local/lib/libicui18n.so.64
/usr/local/lib/libicuuc.so.64
are not built by GCC (in my case gcc8/g+=8) and cause
libc++/libcxxrt to be in use in addition to the
libstdc++ from gcc parts of the build.
My temporary hack to work around the issue is as follows
but would not be appropriate for a gcc 4.2.1 environment.
@@ -171,7 +171,9 @@
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__module.prf
\
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.conf \
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-clang_qmake.conf
-. if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
+. if ${ARCH:Mpowerpc64}
+ # HACK: for experimenting with a system-clang-8-based world
+. elif ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
_EXTRA_PATCHES_QT5+=
${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_g++-base.conf
\
${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.conf
\
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake.conf
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
More information about the kde-freebsd
mailing list