git: 23408297fbf3 - main - Merge llvm-project 12.0.1 rc2

Dimitry Andric dim at FreeBSD.org
Sun Jun 20 19:56:50 UTC 2021


On 20 Jun 2021, at 15:58, Hartmann, O. <o.hartmann at walstatt.org> wrote:
> 
> On Sat, 19 Jun 2021 18:11:04 GMT
> Dimitry Andric <dim at FreeBSD.org> wrote:
> 
>> The branch main has been updated by dim:
>> 
>> URL: https://cgit.FreeBSD.org/src/commit/?id=23408297fbf3089f0388a8873b02fa75ab3f5bb9
>> 
>> commit 23408297fbf3089f0388a8873b02fa75ab3f5bb9
>> Merge: cac129e60300 e4bbddaec868
>> Author:     Dimitry Andric <dim at FreeBSD.org>
>> AuthorDate: 2021-06-19 10:06:00 +0000
>> Commit:     Dimitry Andric <dim at FreeBSD.org>
>> CommitDate: 2021-06-19 18:09:28 +0000
>> 
>>    Merge llvm-project 12.0.1 rc2
>> 
>>    This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
>>    openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2.
...
> running  FreeBSD 14.0-CURRENT #13 main-n247423-7bd295750b1: Fri Jun 18 17:32:58 CEST 2021
> amd64, buildworld fails with the error
> 
> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1256:10: fatal error:
> 'emmintrin.h' file not found
> 
> How can I fix this?

I have never been able to figure out why some people encounter this,
except that they seem to have manually deleted files from their base
system, thereby effectively destroying their toolchain.

Normally these intrinsics headers are in /usr/lib/clang/X.Y.Z/include,
and you have to explicity rm -rf this directory to make them disappear.
Or maybe, if you install the base system via pkg, you can uninstall the
toolchain package?

In both cases, you'll have to find a backup of that directory, and
restore it. Or reinstall it from the installation media. With pkg-base,
you might be able to reinstall the toolchain package (if it exists).

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/dev-commits-src-all/attachments/20210620/ca495381/attachment.sig>


More information about the dev-commits-src-all mailing list