Date: Thu, 08 Jan 2015 14:06:23 +0200 From: "Sulev-Madis Silber (ketas)" <madis555@hot.ee> To: freebsd-current <freebsd-current@freebsd.org> Subject: Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0 Message-ID: <54AE72BF.5040405@hot.ee> In-Reply-To: <12132B80-E31B-4782-B69E-C9B8F6E6F0B8@netapp.com> References: <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <EFC6D802-831E-4FE7-B356-BB38A214EE11@netapp.com> <C159AC6F-9DD0-4A66-A665-ABEED5A3B368@gmail.com> <12132B80-E31B-4782-B69E-C9B8F6E6F0B8@netapp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54AE72BF.5040405>