"make buildworld" fails for r360785?

Dimitry Andric dim at FreeBSD.org
Sat May 9 08:52:31 UTC 2020


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

-------------- 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/freebsd-current/attachments/20200509/2b57c0de/attachment.sig>


More information about the freebsd-current mailing list