Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 10:46:56 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: clang broken on current?
Message-ID:  <20190210184656.GD35569@troutmask.apl.washington.edu>
In-Reply-To: <F26ACA01-4132-4020-8089-FB862347F37E@FreeBSD.org>
References:  <20190210050003.GA31811@troutmask.apl.washington.edu> <F26ACA01-4132-4020-8089-FB862347F37E@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 10, 2019 at 12:03:55PM +0100, Dimitry Andric wrote:
> On 10 Feb 2019, at 06:00, Steve Kargl <sgk@troutmask.apl.washington.edu> wrote:
> 
> How did you arrive at the conclusion that this has anything to do with
> the specific compiler?  From these errors, I think it is more likely
> something in Qt5 that is erroneously convinced that those qt_memfillXY
> functions exist.  Or they get referenced, but not compiled at all, for
> some reason.
> 

If I have "CFLAGS+= -march=i686 -mmmx -msse" in /etc/make.conf
qt5-gui builds without issue.  If I add -msse2 to CFLAGS, then
the build dies.

So, either clang is miscompiling qt5-gui with -mmse2 or the
qt5-gui port is being too smart for its own good.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190210184656.GD35569>