From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 2 22:49:27 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EB3D106566B; Sat, 2 Apr 2011 22:49:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 08C2C8FC18; Sat, 2 Apr 2011 22:49:26 +0000 (UTC) Received: from [10.0.0.63] (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id p32MnMvX056507 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sat, 2 Apr 2011 16:49:22 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1082) From: Warner Losh In-Reply-To: Date: Sat, 2 Apr 2011 16:49:19 -0600 Message-Id: <5AF348C8-6AB6-490D-A12E-89A51528F58F@bsdimp.com> References: <4D934AF4.9080503@FreeBSD.org> <742085CD-7F6F-4879-9FFD-517EC3203D52@bsdimp.com> To: "Robert N. M. Watson" X-Mailer: Apple Mail (2.1082) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sat, 02 Apr 2011 16:49:22 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mdf@freebsd.org, Dimitry Andric , freebsd-hackers Subject: Re: Include file search path X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 22:49:27 -0000 On Apr 2, 2011, at 1:10 PM, Robert N. M. Watson wrote: > On 2 Apr 2011, at 19:47, Warner Losh wrote: >=20 >>> (2) Working clang/LLVM cross-compile of FreeBSD. This seems like a = basic >>> requirement to adopt clang/LLVM, and as far as I'm aware that's not = yet a >>> resolved issue? >>=20 >> 0 work has been done here to my knowledge. The world view for clang = and our in-tree gcc differ which makes it a challenge. >=20 > That's disappointing. I seem to recall it's more an issue of our build = integration with clang/LLVM than an underlying issue in clang/LLVM? Yes. The problem isn't hard, the cross compile paradigm is just a = little different. >>> We (Cambridge) are currently bringing up FreeBSD on a new soft-core = 64-bit MIPS platform. We're already using a non-base gcc for our boot = loader work, and plan to move to using clang/LLVM later in the year. = The base system seems a bit short on detail when it comes to the above, = currently. >>=20 >> Yes. I've had to add about a dozen changes so far to get close to = building with xdev compilers. A similar number are needed to make it = easy to configure and add systree support, I think. >=20 > Sounds like great progress -- do you think we'll ship 9.0 in a "just = works" state with regard to this? I sure hope so. I'd like to have demoable stuff by BSDcan. Warner