Not sure if it also affects other people or only me.
Last successful built was rev 356065. A few days ago clang was updated in the base system and build world fails ever since with:
'emmintrin.h' file not found in /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp
It seems that every once in while, when clang version is updated in the base system, build world fails complaining about 'emmintrin.h'.
Does anybody know why this keeps happening at some version changes of clang?
Some ports also fail to build for the same reason of 'emmintrin.h' file not found. For now it is nss-3.49.
Every case of this I'm aware of was due to an incomplete previous upgrade.
What does clang --version say, and what does ls /usr/lib/clang show?
(In reply to Ed Maste from comment #1)
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
ls /usr/lib/clang also shows 8.0.1
Your answer prompted me to copy the file from another system. I actually copied the whole /usr/lib/clang directory, overwriting the "bad" one.
build world finished successfully and the same for nss-3.49.
This bug should be closed.
Thanks for your help!