Re: "make buildworld" fails for r360785?

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 9 May 2020 10:52:22 +0200
On 9 May 2020, at 05:10, Robert Huff <roberthuff_at_rcn.com> wrote:
> 
> Chris writes:
>>> 	"make buildowrld" fails with:
...
>>>> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:10:
>>>> fatal error: 'emmintrin.h' file not found
>>>> #include <emmintrin.h>
>>>>          ^~~~~~~~~~~~~
...
> In file included from /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:
> In file included from /usr/include/emmintrin.h:13:
> /usr/include/xmmintrin.h:27:10: fatal error: 'mm_malloc.h' file not found
> #include <mm_malloc.h>
>         ^~~~~~~~~~~~~
> 1 error generated.
> *** Error code 1

During which stage of buildworld is this? If it is during the
cross-tools stage, your host environment is busted somehow.

This appears to happen to some people on this list, for unknown reasons.
My guess is they either run "make delete-old" before running buildworld
(which is the wrong order!), or have done an earlier buildworld where
they explicitly disabled clang, so the intrinsics headers never get
installed.

-Dimitry


Received on Sat May 09 2020 - 06:52:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC