Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Mar 2020 14:41:30 +0300
From:      Alexandr Krivulya <shuriku@shurik.kiev.ua>
To:        freebsd-current@freebsd.org
Subject:   Re: kernel build failed
Message-ID:  <63e186dd-17c1-ce36-099d-3228b1a639ed@shurik.kiev.ua>
In-Reply-To: <20200329111217.GF1511@albert.catwhisker.org>
References:  <672d55ce-0949-2397-0a3c-3a86020381a4@shurik.kiev.ua> <20200328123542.GR1511@albert.catwhisker.org> <4ee54436-0c15-41c3-3581-053da0a08181@shurik.kiev.ua> <9E22D99A-63CB-4CCB-B3C1-3838F1769BED@FreeBSD.org> <1829bb5e-22aa-ca15-de07-2a930dacbe3c@shurik.kiev.ua> <20200329111217.GF1511@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
29.03.20 14:12, David Wolfskill пишет:
> 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
>

Nothing specific, I use this scenario for years:

svnlite up /usr/src
rm -rf /usr/obj
cd /usr/src
make buildworld
make kernel
mergemaster -p
make installworld
mergemaster -Ui
reboot
make delete-old
make delete-old-libs





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63e186dd-17c1-ce36-099d-3228b1a639ed>