world not build

Alexander Panyushkin vsityz at gmail.com
Mon Jun 11 11:18:50 UTC 2012


11.06.2012 12:36, Dimitry Andric написал:
> On 2012-06-11 11:31, Alexander Panyushkin wrote:
>> 11.06.2012 12:16, Dimitry Andric написал:
>>> 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=clang
>>> CXX=clang++
>>> CPP=clang-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=clang-cpp
CC=clang
CXX=clang++


the same error

[...cut...]/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
error: #error is_base_of not implemented.
In file included from 
/usr/src/lib/libc++/../../contrib/libc++/include/system_error:222,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/src/system_error.cpp:10:
/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
error: #error is_base_of not implemented.
In file included from 
/usr/src/lib/libc++/../../contrib/libc++/include/__functional_base:15,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/include/thread:90,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/src/thread.cpp:10:
/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
error: #error is_base_of not implemented.
In file included from 
/usr/src/lib/libc++/../../contrib/libc++/include/exception:81,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/include/typeinfo:61,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/src/typeinfo.cpp:14:
/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
error: #error is_base_of not implemented.
In file included from 
/usr/src/lib/libc++/../../contrib/libc++/include/__tuple:16,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/include/utility:125,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/src/utility.cpp:11:
/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
error: #error is_base_of not implemented.
In file included from 
/usr/src/lib/libc++/../../contrib/libc++/include/cmath:302,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/include/valarray:344,
                  from 
/usr/src/lib/libc++/../../contrib/libc++/src/valarray.cpp:10:
/usr/src/lib/libc++/../../contrib/libc++/include/type_traits:731:2: 
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.







More information about the freebsd-stable mailing list