Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2021 23:18:04 +0200
From:      "Hartmann, O." <o.hartmann@walstatt.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 23408297fbf3 - main - Merge llvm-project 12.0.1 rc2
Message-ID:  <20210620231804.3fdb719f@hermann.fritz.box>
In-Reply-To: <4980855F-B22C-46C8-B833-D3D0AC664B81@FreeBSD.org>
References:  <202106191811.15JIB4nu002236@gitrepo.freebsd.org> <20210620155800.236bb4b8@hermann.fritz.box> <3960850F-E446-45F1-A79B-F31D832F20BA@FreeBSD.org> <20210620225350.06d559a8@hermann.fritz.box> <4980855F-B22C-46C8-B833-D3D0AC664B81@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/+uXGWkKkimjxlZLAOnXHS2R
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sun, 20 Jun 2021 23:07:41 +0200
Dimitry Andric <dim@FreeBSD.org> wrote:

> On 20 Jun 2021, at 22:53, Hartmann, O. <o.hartmann@walstatt.org> wrote:
> >=20
> > On Sun, 20 Jun 2021 21:56:40 +0200
> > Dimitry Andric <dim@FreeBSD.org> wrote:
> >  =20
> >> On 20 Jun 2021, at 15:58, Hartmann, O. <o.hartmann@walstatt.org> wrote=
: =20
> >>>=20
> >>> On Sat, 19 Jun 2021 18:11:04 GMT
> >>> Dimitry Andric <dim@FreeBSD.org> wrote:
> >>>  =20
> >>>> The branch main has been updated by dim:
> >>>>=20
> >>>> URL:
> >>>> https://cgit.FreeBSD.org/src/commit/?id=3D23408297fbf3089f0388a8873b=
02fa75ab3f5bb9
> >>>>=20
> >>>> commit 23408297fbf3089f0388a8873b02fa75ab3f5bb9
> >>>> Merge: cac129e60300 e4bbddaec868
> >>>> Author:     Dimitry Andric <dim@FreeBSD.org>
> >>>> AuthorDate: 2021-06-19 10:06:00 +0000
> >>>> Commit:     Dimitry Andric <dim@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, lld=
b and
> >>>>   openmp to llvmorg-12.0.1-rc2-0-ge7dac564cd0e, a.k.a. 12.0.1 rc2. =
=20
> >> ... =20
> >>> running  FreeBSD 14.0-CURRENT #13 main-n247423-7bd295750b1: Fri Jun 1=
8 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. =20
> >=20
> > I think in my case it is very simple - first of all: thanks for the exp=
lanation, the
> > folder "/usr/lib/clang/" is empty and that is the result of "make delet=
e-old".
> >=20
> > 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. Obvi=
ously, there
> > was anlther move towards 12.0.1 today or yesterday, I pulled the source=
s and did a
> > rebuild of the whole system - and issued then make delete-old. That ren=
ders the
> > system unusabel. =20
>=20
> Ah yes, at least it is now clear that was the problem. Always run
> "make delete-old" *after* installworld, etcupdate and so on, as the very
> last step.
>=20
> Or even better, run "make check-old" and use the list of files and
> directories it outputs, so you can optionally make a backup of those
> first. I can remember instances of ports not starting up anymore,
> because they were still linked to some old system library that had been
> cleaned up...
>=20
> -Dimitry
>=20

Now I try to find in which package the content of /usr/lib/clang might resi=
de in one of
the pkg-base tarballs one could find here:

https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest/

to extract the part missing in the hope I can fire up buildworld again.
I tried the usual suspects like those packages with "lib" or "compiler" in =
the name,
without success :-(

Kind regards,

oh

--Sig_/+uXGWkKkimjxlZLAOnXHS2R
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYM+wjAAKCRA4N1ZZPba5
RyRgAQCDSUWleayTwlk4ioNEt4NgpMc/tf264l/+mo6Jug5W/wD9ECwm5WU2vpi7
rYYhv9+WJX2+J9ag52CFCSJeXBJv4go=
=+weq
-----END PGP SIGNATURE-----

--Sig_/+uXGWkKkimjxlZLAOnXHS2R--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210620231804.3fdb719f>