Date: Tue, 12 Mar 2019 14:01:18 -0300 From: =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= <rollingbits@gmail.com> To: sgk@troutmask.apl.washington.edu Cc: =?utf-8?Q?T=C4=B3l_Coosemans?= <tijl@freebsd.org>, Mark Millard <marklmi@yahoo.com>, ports-list freebsd <freebsd-ports@freebsd.org> Subject: Re: Building qt5-gui port? Message-ID: <4E7368FE-74DE-42FF-AF4C-2EE87F750114@gmail.com> In-Reply-To: <20190211160518.GA41262@troutmask.apl.washington.edu> References: <2EF34E75-DDBC-4D99-B317-3C8F20725AE5@yahoo.com> <6AFE3B36-FBFA-46AA-81DB-31BB24A5D75E@gmail.com> <20190210151427.GB34772@troutmask.apl.washington.edu> <FFA352D4-39FC-4BCC-A5E8-00076A78A543@yahoo.com> <20190210183250.GB35569@troutmask.apl.washington.edu> <20190210184352.GC35569@troutmask.apl.washington.edu> <F12D9923-3F62-45D0-9692-C66F69B33C4B@yahoo.com> <20190210231820.GA36811@troutmask.apl.washington.edu> <20190211100808.371c2f42@kalimero.tijl.coosemans.org> <20190211160518.GA41262@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi. Any update on this? > On Feb 11, 2019, at 2:05 PM, Steve Kargl <sgk@troutmask.apl.washington.edu= > wrote: >=20 >> On Mon, Feb 11, 2019 at 10:08:08AM +0100, T=C4=B3l Coosemans wrote: >> On Sun, 10 Feb 2019 15:18:20 -0800 Steve Kargl >> <sgk@troutmask.apl.washington.edu> wrote: >>> On Sun, Feb 10, 2019 at 03:14:15PM -0800, Mark Millard wrote: >>>>=20 >>>> /usr/ports/Mk/Uses/qt-dist.mk has: >>>>=20 >>>> . if ${ARCH} =3D=3D i386 && empty(MACHINE_CPU:Msse2) >>>> CONFIGURE_ARGS+=3D -no-sse2 >>>> . endif >>>=20 >>> Hmmm. Oh well. I set CPUTYPE=3Dcore2 in /etc/make.conf. >>> During configure of qt5-gui, it does try to use sse2, >>> sse3, ssse3, and even the unsupported avx. The build >>> still dies. >>=20 >> You probably need to build all of Qt with the same flags, starting >> with qt5-qmake and then the other dependencies of qt5-gui. >=20 > Yes, that is what I decided to do. Unfortnately, I decided > to use CPUTYPE=3Dcore2 to update kernel and world. It seems a > recent change in FreeBSD-current has broken the drm-legacy-kmod > port, so no Xorg on the laptop, so no need for qt5 ports. :-) I'm using the dirty hack --- Makefile (revision 495009) +++ Makefile (working copy) @@ -36,6 +36,8 @@ # are using the obsolete 'register' key word. CONFIGURE_ARGS+=3D -c++std c++14 =20 +CPUTYPE=3Di686 + USE_LDCONFIG=3D ${PREFIX}/${QT_LIBDIR_REL} =20 BUILD_WRKSRC=3D ${WRKSRC}/src/${PORTNAME} to compile and install the port. My patch isn't portable, I know. I saw an u= pdate to it and tried the new version: same error. I'm using CPUTYPE=3Dnativ= e everywhere else, last FreeBSD 12.0-RELEASE-p3. The cpu is a Celeron M (Yon= ah). Let me know if you need more info. Lc --=20 rollingbits =E2=80=94 =F0=9F=93=A7 rollingbits@gmail.com =F0=9F=93=A7 rollin= gbits@terra.com.br =F0=9F=93=A7 rollingbits@yahoo.com =F0=9F=93=A7 rollingbi= ts@globo.com =F0=9F=93=A7 rollingbits@icloud.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E7368FE-74DE-42FF-AF4C-2EE87F750114>