Dimitry Andric wrote on 25.04.2014 01:58:
On 24 Apr 2014, at 19:05, Ruslan Makhmatkhanov <cvs-...@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


It actually bombed in different places across the toolchain. I replaced the clang/llvm bits from fresh -current ISO and everything builds fine now. Thank you!

--
Regards,
Ruslan

T.O.S. Of Reality
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to