Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2019 15:33:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237745] Mk/Uses/qt-dist.mk: fix qt5 with GCC architectures
Message-ID:  <bug-237745-7788-un29pXf7Vd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237745-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237745-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237745

--- Comment #9 from Mark Millard <marklmi26-fbsd@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+=3D8) 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 @@
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_features_qt__modu=
le.prf
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_common_bsd_bsd.co=
nf \
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-clang_qma=
ke.conf
-.        if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} =3D=3D sparc64
+.        if ${ARCH:Mpowerpc64}
+               # HACK: for experimenting with a system-clang-8-based world
+.        elif ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} =3D=3D sparc64
 _EXTRA_PATCHES_QT5+=3D=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_g++-base.=
conf
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extra-patch-mkspecs_common_gcc-base.=
conf
\
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PORTSDIR}/devel/${_QT_RELNAME}/files/extrapatch-mkspecs_freebsd-g++_qmake=
.conf

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237745-7788-un29pXf7Vd>