Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 14:50:22 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        jbtakk@iherebuywisely.com
Cc:        current <current@freebsd.org>
Subject:   Re: llvm boostrap? Clang failures.
Message-ID:  <07AFE010-94E6-4747-B673-2F82B988ECA0@FreeBSD.org>
In-Reply-To: <E1ZDNWP-0006IN-C5@rmm6prod02.runbox.com>
References:  <E1ZDNWP-0006IN-C5@rmm6prod02.runbox.com>

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

--Apple-Mail=_376D25D5-D314-453A-A115-1321B380FBE8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 10 Jul 2015, at 03:54, Jeffrey Bouquet <jbtakk@iherebuywisely.com> =
wrote:
>=20
> The "update clang" messages in UPDATING seem to not fix...
> ...llvm/include/llvm/ADT/StringRef.h: fatal error:
> 'algorithm' file not found
> make stopped in /usr/src/lib/clang/lib/libllvmsupport...

Do you have the 'algorithm' file on your system, in /usr/include/c++/v1?
And is the rest of libc++ correctly installed?  You should have the
following libraries:

/usr/lib/libc++.a
/usr/lib/libc++.so
/usr/lib/libc++.so.1
/usr/lib/libc++_p.a


> The entire build fails similarly,
> also in any subtree I try to start from (clang, lib/clang... etc etc)
>=20
> Previously, the system was upgraded from another successful =
installworld by rsync'ing the
> /obj IIRC...
> Also I've tried parameters such as CPP=3D/usr/local/bin/clang-cpp36   =
to no avail...

Another possibility is that you are assigning to CFLAGS and/or CXXFLAGS
incorrectly.  Can you please post your make.conf and src.conf files?

Last but not least, from which version of FreeBSD are you building?  An
older copy of -CURRENT, or some -STABLE branch?

-Dimitry


--Apple-Mail=_376D25D5-D314-453A-A115-1321B380FBE8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

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

iEYEARECAAYFAlWfv5UACgkQsF6jCi4glqMWggCdHtmGwNQqLIzkWD1r991Fr0R/
+nkAoLAM4pRDbmFu2E90FKFvaflyXJ7x
=Jjep
-----END PGP SIGNATURE-----

--Apple-Mail=_376D25D5-D314-453A-A115-1321B380FBE8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07AFE010-94E6-4747-B673-2F82B988ECA0>