Bug 243262 - Issues with emmintrin.h
Summary: Issues with emmintrin.h
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-11 02:57 UTC by eu9gu4
Modified: 2020-01-12 08:35 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eu9gu4 2020-01-11 02:57:20 UTC
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.

Thanks,
Eugen
Comment 1 Ed Maste freebsd_committer 2020-01-11 13:42:13 UTC
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?
Comment 2 eu9gu4 2020-01-11 15:59:21 UTC
(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!