Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2014 22:36:33 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-toolchain@freebsd.org
Subject:   Re: [CFT] Update to clang 3.4
Message-ID:  <F3FF55CD-4F78-4107-A595-BA6D91F0AFD3@FreeBSD.org>
In-Reply-To: <264FAA6E-871A-48AF-A8D9-EC431A537195@FreeBSD.org>
References:  <541C998A-071A-4917-9D91-DD00CB0E2689@FreeBSD.org> <63BD3165-A62E-4FE7-9817-4A2692584916@bsdimp.com> <264FAA6E-871A-48AF-A8D9-EC431A537195@FreeBSD.org>

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

--Apple-Mail=_1ED05C19-E732-4A91-B612-E5ED3ED8B997
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 02 Jan 2014, at 01:11, Dimitry Andric <dim@freebsd.org> wrote:
> On 01 Jan 2014, at 23:37, Warner Losh <imp@bsdimp.com> wrote:
>> I'd add to the list the upgrade path (from 9.x, 10.x and current) as =
well, just to make sure they all still work... If there are problems =
with the 9.x upgrade path, we'll need to call them out since 10.0 hasn't =
been released yet and there's still a lot of 9.x boxes in the wild...
>=20
> Ah yes, I already found one issue when building head on 9-STABLE:
>=20
> In file included from contrib/llvm/lib/Support/Signals.cpp:30:
> contrib/llvm/lib/Support/Unix/Signals.inc:22:11: fatal error: =
'execinfo.h' file not found
> # include <execinfo.h>         // For backtrace().
>          ^
>=20
> This is of course a detection from autoconf which finds execinfo.h on
> -current.  So I will need to make that __FreeBSD_version dependent.

I have fixed this particular problem, new patch is here:

http://www.andric.com/freebsd/clang/head-r260112-clang34-2.diff.xz
SHA256 (head-r260112-clang34-2.diff.xz) =3D =
4c602b42e890f82cbf5f7ee4aecb91a77ce3dcaacc01c210953e1cdd29d1ac21

This will only use execinfo.h and backtrace() for the world stage of the
build, when the libraries that supply them have already been built.

With this diff, I have successfully built head on 9.2-STABLE with gcc as
the base compiler.  I will also test it on 10.0-RC4, but I foresee no
problems there.

-Dimitry


--Apple-Mail=_1ED05C19-E732-4A91-B612-E5ED3ED8B997
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.22 (Darwin)

iEYEARECAAYFAlLF2+sACgkQsF6jCi4glqNyEwCaA6HqGXAwrZgDldkVGsYSgLdv
JC8AnjhVkAdsNJ4rUFf6b5Z3wOdIu4L/
=RDyI
-----END PGP SIGNATURE-----

--Apple-Mail=_1ED05C19-E732-4A91-B612-E5ED3ED8B997--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F3FF55CD-4F78-4107-A595-BA6D91F0AFD3>