From owner-freebsd-toolchain@FreeBSD.ORG Fri Jul 6 22:32:05 2012 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1582E1065670; Fri, 6 Jul 2012 22:32:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2E51E8FC08; Fri, 6 Jul 2012 22:32:03 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA09754; Sat, 07 Jul 2012 01:31:58 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SnH4A-0008wy-0X; Sat, 07 Jul 2012 01:31:58 +0300 Message-ID: <4FF7675D.9090609@FreeBSD.org> Date: Sat, 07 Jul 2012 01:31:57 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120620 Thunderbird/13.0.1 MIME-Version: 1.0 To: Dimitry Andric References: <4FF60A9E.5070503@FreeBSD.org> <4FF6DB51.40904@FreeBSD.org> <508B8B4E-DF5E-412B-BD2B-86F21EBF4C8C@bsdimp.com> <4FF700CF.2000206@FreeBSD.org> <1DED79CC-CACD-4D22-9F1F-E3EB17938EB6@bsdimp.com> <4FF7182A.9070803@FreeBSD.org> <714BF622-A1B3-4A4A-A8BC-DCA82B4434A2@FreeBSD.org> <4FF75C5E.3020105@andric.com> In-Reply-To: <4FF75C5E.3020105@andric.com> X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: toolchain@FreeBSD.org, David Chisnall Subject: Re: gcc46 header search path X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 22:32:05 -0000 on 07/07/2012 00:45 Dimitry Andric said the following: > On 2012-07-06 22:44, Warner Losh wrote: > ... >> The reasons are that /usr/local/include superceds anything in /usr/include. This is dangerous. Users should get just the system default libraries and headers when they compile unless they ask for more. That's what makes it stupid. > > Well, one issue is that it becomes tricky to *remove* /usr/local/include > from the include path, if you so desire, since it's built-in... Unless > you start fiddling with -nostdinc, but that is rather painful. > My opinion is that system builds (buildworld, buildkernel) must use -nostdinc. Other types of build should accept the state of matters. -- Andriy Gapon