Date: Sun, 17 Nov 2013 22:45:26 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: "toolchain@freebsd.org" <toolchain@FreeBSD.ORG> Subject: Re: make xdev broken Message-ID: <C680D257-580C-4FE5-9ABE-3E68B01C10E2@FreeBSD.org> In-Reply-To: <A365BC6F-1774-4CE5-90F9-424CA6B74CD7@bsdimp.com> References: <A365BC6F-1774-4CE5-90F9-424CA6B74CD7@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 17 Nov 2013, at 20:37, Warner Losh <imp@bsdimp.com> wrote: > In 9.2 stable on amd64, make xdev is broken. >=20 > sudo make xdev XDEV=3Di386 XDEV_ARCH=3Di386 >=20 > terminates with >=20 > In file included from = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/lib/Analysis/CFG.cpp:17: > = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h: In static member function 'static bool = clang::MSInheritanceAttr::classof(const clang::Attr*)': > = /imp/svn/stable/9/lib/clang/libclanganalysis/../../../contrib/llvm/tools/c= lang/include/clang/AST/Attr.h:148: error: 'LAST_MS_INHERITABLE' is not a = member of 'clang::attr' >=20 > what's up with that? Any ideas on how to fix this? Was it ever supposed to work? As far as I can see in Makefile.inc1, it is only supposed to build binutils and gcc, but nothing clang-related. In any case, to build clang, you also need to build tblgen and clang-tblgen as bootstrap tools, otherwise you might end up with incorrectly generated .inc files. This is most likely the cause of the errors you list above. If the only purpose of xdev is to build binutils and gcc, the easiest solution is probably to exclude the clang libraries from the _xi-libraries target, for example by setting WITHOUT_CLANG to a non-empty value. -Dimitry --Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F 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) iEYEARECAAYFAlKJOP8ACgkQsF6jCi4glqMNlACdHvUNBKHLj7sJZ0xTdEw4dUMx /4sAoMscvAPd+UyEh7powdx1CGWJSUPY =0RGa -----END PGP SIGNATURE----- --Apple-Mail=_DCA9D479-6E3B-4580-8B49-FDF8FA42169F--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C680D257-580C-4FE5-9ABE-3E68B01C10E2>