From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 12:06:38 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DA981275 for ; Thu, 8 Jan 2015 12:06:37 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F844793 for ; Thu, 8 Jan 2015 12:06:37 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so2805610wid.3 for ; Thu, 08 Jan 2015 04:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=I/7Kyqik9TXEyk2GIS6J/mAmJ7HjpC983NXXGMFSq1k=; b=ltLZBfvtLF7XBNfOgkzgT17sW0+ZzBee2LOib26wSaWgPWF+JDvkBMbQcBIM1g7W3V p3+5QHFDAC6nghzZKti46Nsvg1TLfnNlUhXo04TU/TMAGw4dwWN1HoI1W2vY0TL239nt cmKHivFJuOsNDMwHIgdjfL/lCnKtkYM2qtsCDoBw63F9KegTOGAZP1LdS/4NXYvuSfyv LldNtEICjeAq6B/pHcjucggOMGlO1lUdOLOQ7J1oaZUBSuvO/fZSmacw5Kj+fA13Wjpa u3M62HRFmaQAU1AIwtpdq8yukpTStUZbGBIslPZZreeslOGGIE4Gj3zV9PzkL9/lrycx IUfA== X-Received: by 10.180.126.99 with SMTP id mx3mr19128208wib.66.1420718795766; Thu, 08 Jan 2015 04:06:35 -0800 (PST) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id a14sm21574186wib.22.2015.01.08.04.06.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 08 Jan 2015 04:06:34 -0800 (PST) Sender: Sulev-Madis Silber Message-ID: <54AE72BF.5040405@hot.ee> Date: Thu, 08 Jan 2015 14:06:23 +0200 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-current Subject: Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0 References: <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <12132B80-E31B-4782-B69E-C9B8F6E6F0B8@netapp.com> In-Reply-To: <12132B80-E31B-4782-B69E-C9B8F6E6F0B8@netapp.com> X-TagToolbar-Keys: D20150108140623474 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 12:06:38 -0000 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 ^ 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 ^ 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.