Unable to build 12-current/amd64
dim at FreeBSD.org
Sat Dec 23 12:42:50 UTC 2017
On 23 Dec 2017, at 10:56, Peter Jeremy <peter at rulingia.com> wrote:
> 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
> make: stopped in /usr/src/lib/clang/libclang
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 223 bytes
Desc: Message signed with OpenPGP
More information about the freebsd-current