kernel build failed

David Wolfskill david at catwhisker.org
Sun Mar 29 11:12:39 UTC 2020


On Sun, Mar 29, 2020 at 02:02:02PM +0300, Alexandr Krivulya wrote:
> 28.03.20 18:32, Dimitry Andric пишет:
> ...
> > This typically happens if you don't run "make buildworld", or at least
> > "make kernel-toolchain" before running "make buildkernel", and your
> > userland is missing those headers, for some reason. (Usually people
> > seem to do a WITHOUT_CLANG installation or strip out 'unnecessary'
> > stuff manually...)
> > 
> 
> I have updated source tree to r359419 and now make builworld failed with an
> error:
> 
> ...
> --- Basic/SourceManager.o ---
> /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1228:10:
> fatal error: 'emmintrin.h' file not found
> #include <emmintrin.h>
>          ^~~~~~~~~~~~~
> 1 error generated.
> *** [Basic/SourceManager.o] Error code 1
> ....

Perhaps it would be helpful for you specify precisely what commands you
invoked once the source tree was updated.

For example, the process I use is documented in
http://www.catwhisker.org/~david/FreeBSD/upgrade.html

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Trump on sale of GM's Lordstown, OH plant: "GREAT NEWS FOR OHIO!" May 2019
"MUST immediately open their stupidly abandoned Lordstown ...." March 2020

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20200329/42d9a89e/attachment.sig>


More information about the freebsd-current mailing list