Date: Sat, 23 Dec 2017 13:42:40 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Peter Jeremy <peter@rulingia.com> Cc: freebsd-current@FreeBSD.org Subject: Re: Unable to build 12-current/amd64 Message-ID: <962D6B67-8D38-4483-B8D3-933FA483C364@FreeBSD.org> In-Reply-To: <20171223095633.GA52398@server.rulingia.com> References: <20171223095633.GA52398@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_DDCC5B33-4547-4515-B30A-CD363706BC5C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 23 Dec 2017, at 10:56, Peter Jeremy <peter@rulingia.com> wrote: >=20 > Since r326496, buildworld on my 12-current/amd64 system has = consistently > died as follows. ... > /usr/src/contrib/llvm/tools/clang/lib/Basic/SourceManager.cpp:1166:10: = fatal error: 'emmintrin.h' file not found > #include <emmintrin.h> > ^~~~~~~~~~~~~ > 1 error generated. > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/lib/clang/libclang >=20 > I'm building on a 12.0-CURRENT VirtualBox guest at r326430. I've = checked > that my /usr/src is clean and deleted /usr/obj to no effect. I have = dug > into SourceManager.cpp and the #include is protected by a #if = __SSE2__, > which is relying on clang internal checks to define (and my CPU = supports > SSE2). Does anyone have any ideas to explain what is going on? First of all, does your host system have emmintrin.h? E.g. what is the output of "find /usr/lib/clang -name emmintrin.h" ? Second, I think this scenario might be possible if you force -march or other CPU type flags into CFLAGS, instead of using CPUTYPE. What is the contents of your make.conf, and other build environment variables? -Dimitry --Apple-Mail=_DDCC5B33-4547-4515-B30A-CD363706BC5C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWj5PQAAKCRCwXqMKLiCW oxRyAKCiP0ouoCHXmY3YebYv1Cs7miJmIgCgsB4PPI+FmPoCl87k8ezV+DT2w9Q= =R+Nv -----END PGP SIGNATURE----- --Apple-Mail=_DDCC5B33-4547-4515-B30A-CD363706BC5C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?962D6B67-8D38-4483-B8D3-933FA483C364>