git: 23408297fbf3 - main - Merge llvm-project 12.0.1 rc2

Cy Schubert Cy.Schubert at cschubert.com
Mon Jun 21 13:07:24 UTC 2021


In message <20210620225350.06d559a8 at hermann.fritz.box>, "Hartmann, O." 
writes:
> --Sig_/T.8cBIoLbtVCh5/H4xqFwKF
> On Sun, 20 Jun 2021 21:56:40 +0200
> Dimitry Andric <dim at FreeBSD.org> wrote:
>
> > On 20 Jun 2021, at 15:58, Hartmann, O. <o.hartmann at walstatt.org> wrote:
> > >=20
> > > On Sat, 19 Jun 2021 18:11:04 GMT
> > > Dimitry Andric <dim at FreeBSD.org> wrote:
> > >  =20
> > >> The branch main has been updated by dim:
> > >>=20
> > >> URL: https://cgit.FreeBSD.org/src/commit/?id=3D23408297fbf3089f0388a88=
> 73b02fa75ab3f5bb9
> > >>=20
> > >> commit 23408297fbf3089f0388a8873b02fa75ab3f5bb9
> > >> Merge: cac129e60300 e4bbddaec868
> > >> Author:     Dimitry Andric <dim at FreeBSD.org>
> > >> AuthorDate: 2021-06-19 10:06:00 +0000
> > >> Commit:     Dimitry Andric <dim at FreeBSD.org>
> > >> CommitDate: 2021-06-19 18:09:28 +0000
> > >>=20
> > >>    Merge llvm-project 12.0.1 rc2
> > >>=20
> > >>    This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb=
>  and
> > >>    openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2. =20
> > ...
> > > running  FreeBSD 14.0-CURRENT #13 main-n247423-7bd295750b1: Fri Jun 18 =
> 17:32:58 CEST
> > > 2021 amd64, buildworld fails with the error
> > >=20
> > > /usr/src/contrib/llvm-project/clang/lib/Basic/SourceManager.cpp:1256:10=
> : fatal error:
> > > 'emmintrin.h' file not found
> > >=20
> > > How can I fix this? =20
> >=20
> > I have never been able to figure out why some people encounter this,
> > except that they seem to have manually deleted files from their base
> > system, thereby effectively destroying their toolchain.
>
> I think in my case it is very simple - first of all: thanks for the explana=
> tion, the
> folder "/usr/lib/clang/" is empty and that is the result of "make delete-ol=
> d".
>
> The running system as shown above has llvm 12.0.0 and I forgot to run "make=
>  delete-old"
> days ago when FreeBSD 14-CURRENT moved towards 12.0.0. Obviously, there was=
>  anlther move
> towards 12.0.1 today or yesterday, I pulled the sources and did a rebuild o=
> f the whole
> system - and issued then make delete-old. That renders the system unusabel.=
>  Desperate and
> not with the full understanding what happened before your mail, I also made=
>  a "make
> cleanworld" to "rebuild/rescue" the system - with the result reported here.=
>  Havoc.

Your email suggests you ran make delete-old before running make 
installworld.


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy at nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.




More information about the dev-commits-src-all mailing list