From owner-freebsd-stable@FreeBSD.ORG Sat Sep 29 10:32:41 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77734106566B for ; Sat, 29 Sep 2012 10:32:41 +0000 (UTC) (envelope-from norbert.aschendorff@yahoo.de) Received: from nm31-vm5.bullet.mail.gq1.yahoo.com (nm31-vm5.bullet.mail.gq1.yahoo.com [98.136.216.212]) by mx1.freebsd.org (Postfix) with SMTP id 1A16B8FC12 for ; Sat, 29 Sep 2012 10:32:40 +0000 (UTC) Received: from [98.137.12.174] by nm31.bullet.mail.gq1.yahoo.com with NNFMP; 29 Sep 2012 10:29:28 -0000 Received: from [208.71.42.210] by tm13.bullet.mail.gq1.yahoo.com with NNFMP; 29 Sep 2012 10:29:28 -0000 Received: from [127.0.0.1] by smtp221.mail.gq1.yahoo.com with NNFMP; 29 Sep 2012 10:29:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1348914568; bh=auPnsU6WfU58ZRWZHMVj2HpSAyg9borI2NkYdTCY0gY=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=gLCZy20UTSZWfE+LL3HAwlCIiD+20hztgz/+LuPoyI92ihW27l0NATD7ynDh93bNdJnZr6LqE3qsBMOmW5oTylDLtLpVtzlz0jQhoJtkFmGdxbDk/Ff/YQjLw9ydfFcwLIRYau25za21i+B7u8tZSYRdRwTSYTUxF5/jGmHNQqI= X-Yahoo-Newman-Id: 187562.92586.bm@smtp221.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XRDQ09wVM1k6wpIbjx5uN6Qcw7ygOBo0sQwSsd_ufvy9pDn d7wNTlp3akbTuTLelXqoYExMHIn_NCNLEsTIdenSlSYPY.gTIhHHiBdASwmQ OqDUCRNVjub_WVvD13fkps5ef8IGBONdUAZZSfb1EWMkbnJbTiPyysynVvKs dq16JwPUm2H.7xbrbOtgSzs5Yfg.OlSaOOUZWQl1sNNgExUssVwT5jldPgfJ w4JhBV_6osTfXkKqjZEv6gga9aOmTMtyuRj53dEmB2OItbOX.JWFB2ztSVwF z0cxdhbAa5u6pmnTx.lyjKxLYI1YkGxrH9EXa.Y4gGhLvD_KACxGlhEgQK8h Fk_WGgnx4vlEBRW6AsP1lKYTpZeAwObSc4Fe8N1NSOA36ShjGtsHHg5QE3fn 3UeVhpKwWrykJOA94s1UPouf10_MkZk.QoVy_4WTJJyUwfG6Oi6UFVhgOfTN _VkynLGYPqNtz6KC3cFoojyyU3D4zvV7tnSOo74l_1h0pQWR.S13la4QX0wk Y8IvmpkmajA995TyP X-Yahoo-SMTP: d20YFqmswBAWc4wd23BcX3DKFU.SSFWadKORXj_BQPQ- Received: from vostro-linux.goebo.site (norbert.aschendorff@85.216.84.153 with plain) by smtp221.mail.gq1.yahoo.com with SMTP; 29 Sep 2012 03:29:28 -0700 PDT Message-ID: <5066CD86.1020900@yahoo.de> Date: Sat, 29 Sep 2012 12:29:26 +0200 From: Norbert Aschendorff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120418 Icedove/11.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Building FreeBSD-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2012 10:32:41 -0000 Hey, I downloaded FreeBSD-STABLE source via SVN and I'm now at r241038 from 2012-09-28 22:29:06 +0200 (Fri, 28 Sep 2012). If I want to build world (make buildworld), I get the following errors: http://pastebin.com/raw.php?i=Yrs8JSwg I've set the CC and CXX variables in make.conf to gcc respectively g++. If I set CC and CXX to clang/clang++, the same error appears: --- /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp:15:10: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h" ^ 1 error generated. --- The error stems obviously from C++ files including files from the wrong place (following code taken from contrib/llvm/lib/Support/APInt.cpp): #include "llvm/ADT/APInt.h" #include "llvm/ADT/FoldingSet.h" #include "llvm/ADT/Hashing.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/raw_ostream.h" The files included here are actually located at contrib/llvm/include/llvm. As far as I currently see, all files needed by the C++ files are there, so the only action which should be taken is to change/add a C Preprocessor include switch in the correct Makefile, right? Or is the error located between chair and screen and I don't see the solution? --Norbert