libllvmmc build is broken on i386
Dimitry Andric
dim at FreeBSD.org
Thu Apr 24 21:59:08 UTC 2014
On 24 Apr 2014, at 19:05, Ruslan Makhmatkhanov <cvs-src at yandex.ru> wrote:
> I can't build current on i386 (last tried revision is 264886) for couple of days. Every time trying to build with making `make clean` and rm'ing /usr/obj first.
>
> The first error is appearing when building MCAsmBackend.cpp:
> """
> /../contrib/llvm/lib/MC/MCAsmBackend.cpp -o MCAsmBackend.o
> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/lib/MC/MCAsmBackend.cpp:10:
> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/MC/MCAsmBackend.h:13:
> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/ADT/ArrayRef.h:14:
> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/ADT/SmallVector.h:17:
> In file included from /usr/src/lib/clang/libllvmmc/../../../contrib/llvm/include/llvm/Support/AlignOf.h:19:
> In file included from /usr/include/c++/v1/cstddef:36:
> /usr/include/c++/v1/__config:314:2: error: invalid preprocessing directive
> """
>
> Here is the full buildlog: http://pastebin.com/mp4mrUTb
Looks like your /usr/include/c++/v1/__config file is corrupt. Try reinstalling the file, e.g.:
sudo install -o root -g wheel -m 444 /usr/src/contrib/libc++/include/__config /usr/include/c++/v1
Or alternatively, running:
sudo make -C /usr/src/lib/libc++ install
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140424/f7f01b64/attachment.sig>
More information about the freebsd-current
mailing list