Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 May 2020 10:52:22 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        "bsd-lists@bsdforge.com" <bsd-lists@BSDforge.com>, current@freebsd.org
Subject:   Re: "make buildworld" fails for r360785?
Message-ID:  <BFF7CFB8-8058-43E8-9893-6AB051A538B1@FreeBSD.org>
In-Reply-To: <24246.7948.924564.999680@jerusalem.litteratus.org>
References:  <24244.52698.726479.288103@jerusalem.litteratus.org> <849835c13cac7bb6ce9f6e13eaa3b589@udns.ultimatedns.net> <24246.7948.924564.999680@jerusalem.litteratus.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 9 May 2020, at 05:10, Robert Huff <roberthuff@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXrZvRgAKCRCwXqMKLiCW
oynyAKD+yn+IJFUyWacomKuEm9qnN9u4XgCgyTfZ0c/kf7X+WtU0CzQzZQ6KjHU=
=TlFq
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFF7CFB8-8058-43E8-9893-6AB051A538B1>