Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 10:51:44 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= <rollingbits@gmail.com>, ports-list freebsd <freebsd-ports@freebsd.org>
Subject:   Re: Building qt5-gui port?
Message-ID:  <BC66DE12-BD08-4104-A228-98FDA5B940DA@yahoo.com>
In-Reply-To: <20190210183250.GB35569@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>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2019-Feb-10, at 10:32, Steve Kargl <sgk at =
troutmask.apl.washington.edu> wrote:

> On Sun, Feb 10, 2019 at 10:24:43AM -0800, Mark Millard wrote:
>>=20
>> My reference to building for armv7 not having a problem in
>> my builds is an example of a 32-bit-target context for
>> qt5-gui. So i386 specific or some other aspect of how its
>> build was attempted might be involved in your context.
>>=20
>=20
> Do you use -march=3Dnative -mtune=3Dnative with clang in
> freebsd-current on all those architectures?

On none of them. But I do use (as appropriate to
each arm context that I target):

-mcpu=3Dcortex-a7
-mcpu=3Dcortex-a53
-mcpu=3Dcortex-a57

I've not tried to have cpu/architecture tailored builds
for amd64 or powerpc64. (cortext-a7 is an armv7 example.
The other two are aarch64 examples.)

> I can build qt5-gui with "-march=3Di486", "-march=3Di686"
> "-march=3Di686 -mmmx", "-march=3Di686 -mmmx -msse".  I'll
> be adding each of -msse2, -msse3, -mssse3, -mcx16,
> -mfxsr, and -msahf to CFLAGS to see which one is causing
> the problem.
>=20
> If adding all of the -target-feature options turned on
> by core2 work with i686, I'll then up i686 and repeat.
>=20
> In the end, this looks like a "wrong code" issue with
> llvm/clang/clang++.
>=20


=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC66DE12-BD08-4104-A228-98FDA5B940DA>