Date: Mon, 11 Jun 2012 14:22:05 +0300 From: Alexander Panyushkin <vsityz@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-stable@freebsd.org Subject: Re: world not build Message-ID: <4FD5D4DD.2060403@gmail.com> In-Reply-To: <4FD5BC17.7040500@FreeBSD.org> References: <4FD5AE32.50601@gmail.com> <4FD5B788.1090700@FreeBSD.org> <4FD5BAD8.8080602@gmail.com> <4FD5BC17.7040500@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
11.06.2012 12:36, Dimitry Andric =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB= : > On 2012-06-11 11:31, Alexander Panyushkin wrote: >> 11.06.2012 12:16, Dimitry Andric =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0= =BB: >>> On 2012-06-11 10:37, Alexander Panyushkin wrote: > ... >>> Something in your make.conf is not working properly, causing mkdep to= >>> run with gcc instead of clang. I suggest removing the .if statements= , >>> and simply using: >>> >>> CC=3Dclang >>> CXX=3Dclang++ >>> CPP=3Dclang-cpp >> I removed make.conf, but the problem remains > You cannot build libc++ with g++, you must either use clang, or set > WITHOUT_LIBCPLUSPLUS. > > Which reminds me that we should really put a seatbelt in Makefile.inc1 > against this... :) > make.conf CPP=3Dclang-cpp CC=3Dclang CXX=3Dclang++ the same error [...cut...]/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:7= 31:2:=20 error: #error is_base_of not implemented. In file included from=20 /usr/src/lib/libc++/../../contrib/libc++/include/system_error:222, from=20 /usr/src/lib/libc++/../../contrib/libc++/src/system_error.cpp:10: /usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2:=20 error: #error is_base_of not implemented. In file included from=20 /usr/src/lib/libc++/../../contrib/libc++/include/__functional_base:15, from=20 /usr/src/lib/libc++/../../contrib/libc++/include/thread:90, from=20 /usr/src/lib/libc++/../../contrib/libc++/src/thread.cpp:10: /usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2:=20 error: #error is_base_of not implemented. In file included from=20 /usr/src/lib/libc++/../../contrib/libc++/include/exception:81, from=20 /usr/src/lib/libc++/../../contrib/libc++/include/typeinfo:61, from=20 /usr/src/lib/libc++/../../contrib/libc++/src/typeinfo.cpp:14: /usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2:=20 error: #error is_base_of not implemented. In file included from=20 /usr/src/lib/libc++/../../contrib/libc++/include/__tuple:16, from=20 /usr/src/lib/libc++/../../contrib/libc++/include/utility:125, from=20 /usr/src/lib/libc++/../../contrib/libc++/src/utility.cpp:11: /usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2:=20 error: #error is_base_of not implemented. In file included from=20 /usr/src/lib/libc++/../../contrib/libc++/include/cmath:302, from=20 /usr/src/lib/libc++/../../contrib/libc++/include/valarray:344, from=20 /usr/src/lib/libc++/../../contrib/libc++/src/valarray.cpp:10: /usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2:=20 error: #error is_base_of not implemented. mkdep: compile failed *** Error code 1 Stop in /usr/src/lib/libc++. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD5D4DD.2060403>