Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0

From: Sulev-Madis Silber (ketas) <"Sulev-Madis>
Date: Thu, 08 Jan 2015 14:06:23 +0200
Hello.

I have this issue where it's impossible to get 9.x (9.3) into state
where I can build clang 3.5.0 bootstrap of CURRENT. gcc works fine.

I've already discussed this with some people in EFNet :: #bsdmips


Currently I have this jail, built using:

WITH_CLANG_IS_CC
WITH_LIBCPLUSPLUS


I get strange errors like:

----------------------------------------------------
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp:15:
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/APFloat.h:20:
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/APInt.h:19:
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/ArrayRef.h:14:
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/ADT/SmallVector.h:20:
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Support/MathExtras.h:21:10:
fatal error: 'type_traits' file not found
#include <type_traits>
         ^
1 error generated.
----------------------------------------------------


Or:

----------------------------------------------------
In file included from
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/FileOutputBuffer.cpp:14:
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Support/Errc.h:33:10:
fatal error: 'system_error' file not found
#include <system_error>
         ^
1 error generated.
----------------------------------------------------


There are files:

----------------------------------------------------
/usr/include/c++/4.2/tr1/type_traits
/usr/include/c++/v1/type_traits
/usr/include/c++/v1/system_error
----------------------------------------------------

Where files in v1/ directory seem to be indeed correct ones and part of
clang. But include paths seem wrong? Or is it something else?


Full log:

http://ketas.si.pri.ee/bbb.build.1420677522.log


I don't know... if 9.x can't be used to build 11.x / CURRENT anymore,
maybe this should be put to UPDATING (that 9.x is not supported) and I
just upgrade to 10.x... which would solve everything (hopefully).


Thanks.
Received on Thu Jan 08 2015 - 11:06:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC