Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 02:04:14 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Roberto Rodriguez Jr <rob.rodz.jr9@gmail.com>
Cc:        Cy Schubert <Cy.Schubert@komquats.com>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: buildworld error
Message-ID:  <5CB065B0-5A7D-4A50-A722-8EA579A67188@FreeBSD.org>
In-Reply-To: <CACnPvjK2fQ9aWyXoq_UrVSyGZDDD_jEsLWUGpoJPnBPj5r2wKA@mail.gmail.com>
References:  <rob.rodz.jr9@gmail.com> <CACnPvjJUpfp_r0jf30p_7GR9fmaGqpVZA%2BrLXEtfDoLhGb2yhg@mail.gmail.com> <201703120038.v2C0cF2V088898@slippy.cwsent.com> <CACnPvjKee5HsLTHe0B6v75i=D4shGeS8-uzOVspTLce58%2BCm-w@mail.gmail.com> <CACnPvjK2fQ9aWyXoq_UrVSyGZDDD_jEsLWUGpoJPnBPj5r2wKA@mail.gmail.com>

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

--Apple-Mail=_A0AD1F4B-1279-4DA7-85F9-FB9846A878D7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 12 Mar 2017, at 01:55, Roberto Rodriguez Jr <rob.rodz.jr9@gmail.com> =
wrote:
>=20
> Now...
> make buildworld
...
> In file included from /usr/src/contrib/llvm/lib/Support/APInt.cpp:15:
> In file included from =
/usr/src/contrib/llvm/include/llvm/ADT/APInt.h:20:
> In file included from
> /usr/src/contrib/llvm/include/llvm/Support/MathExtras.h:19:
> In file included from /usr/include/c++/v1/algorithm:634:
> In file included from /usr/include/c++/v1/memory:604:
> /usr/include/c++/v1/new:73:10: fatal error: '__undef___deallocate' =
file not
> found
> #include <__undef___deallocate>
>         ^

Yes, this is because of the bad advice to run "make delete-old" before
you had run "make installworld".  You had an older version of libc++ in
/usr/include/c++, but that still required the __undef___deallocate
header, which has now been deleted by "make delete-old".

Your best chance is to build and install libc++ first, if possible, by
doing:

cd /usr/src/lib/libc++
make obj
make depend
make
make install

Then retry building world.

-Dimitry


--Apple-Mail=_A0AD1F4B-1279-4DA7-85F9-FB9846A878D7
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAljEnpYACgkQsF6jCi4glqPOoACggltzSf6pPy05Y3w7yUk/1XXm
5iMAnAvdwG8GpvxfnIQqIgRT10XeDvjt
=1z10
-----END PGP SIGNATURE-----

--Apple-Mail=_A0AD1F4B-1279-4DA7-85F9-FB9846A878D7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CB065B0-5A7D-4A50-A722-8EA579A67188>