On 2017-Dec-23 13:42:40 +0100, Dimitry Andric <dim_at_FreeBSD.org> wrote: >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 >> >> Stop. >> make[4]: 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" ? Aha. Somehow my entire /usr/lib/clang/5.0.0 tree was missing. I'm not sure if that was an installworld glitch or something I accidently did. In any case, restoring it has fixed the problem. Thanks for the pointer. -- Peter Jeremy
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC