From owner-svn-src-all@FreeBSD.ORG Fri Apr 19 15:42:23 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3ADB5B8; Fri, 19 Apr 2013 15:42:23 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 8D79DABD; Fri, 19 Apr 2013 15:42:23 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r3J4oZmS084018; Fri, 19 Apr 2013 04:50:35 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.123] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id xdzbter7edbb8atavpcv2f8ygi; Fri, 19 Apr 2013 04:50:35 +0000 (UTC) (envelope-from kientzle@freebsd.org) Subject: Re: svn commit: r249484 - head/lib Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=iso-8859-1 From: Tim Kientzle In-Reply-To: <1FEABB1B-ADDE-412A-9D40-F9FB2822B654@freebsd.org> Date: Thu, 18 Apr 2013 21:50:33 -0700 Content-Transfer-Encoding: 7bit Message-Id: <647B67E8-152A-47A8-89E4-E15075D20992@freebsd.org> References: <201304141913.r3EJDqPI095965@svn.freebsd.org> <516D54F5.4010501@FreeBSD.org> <2A0FC59F-E043-4B4E-BABE-E16C6A1FBF5C@freebsd.org> <475555FA-DF6A-42FA-990D-4224ECAEAE52@FreeBSD.org> <516E900B.9090300@FreeBSD.org> <1FEABB1B-ADDE-412A-9D40-F9FB2822B654@freebsd.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1283) Cc: Ed Schouten , src-committers@freebsd.org, Juli Mallett , svn-src-all@freebsd.org, Brooks Davis , svn-src-head@freebsd.org, Tijl Coosemans X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 15:42:23 -0000 On Apr 17, 2013, at 10:33 AM, Dimitry Andric wrote: > In any case, the layout has been like this since the initial clangbsd > import, and I never saw any reason to change it. Maybe Ed can tell a > bit more, since he seems to have done the initial infrastructure setup. FreeBSD/ARM just switched from GCC to Clang, which is why this just got noticed. U-Boot is used quite heavily for FreeBSD/ARM (and MIPS and PowerPC as well, I believe). Here are the options I see for getting cc -print-file-name=include to work again: * Hack clang to handle -print-file-name=include specially. I did this for GCC already, but I'm not thrilled about it. * Configure clang differently so that this option works. * Symlink /usr/include to appear somewhere that clang expects. * Rearrange our directory layout slightly to match clang's expectations. Tim