From owner-freebsd-current@FreeBSD.ORG Fri May 17 21:54:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CEF02229; Fri, 17 May 2013 21:54:31 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 92181D81; Fri, 17 May 2013 21:54:31 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:1d62:14ca:3c29:bff9]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id A448E4AC59; Sat, 18 May 2013 01:54:29 +0400 (MSK) Date: Sat, 18 May 2013 01:54:11 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <229674360.20130518015411@serebryakov.spb.ru> To: Dimitry Andric Subject: Re: WITHOUT_CLANG + WITHOUT_GCC vs XCC + WITHOUT_CROSS_COMPILER In-Reply-To: References: <1713488536.20130518004618@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Brooks Davis X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 21:54:31 -0000 Hello, Dimitry. You wrote 18 =D0=BC=D0=B0=D1=8F 2013 =D0=B3., 1:35:25: >> Do we need such mode? DA> Well, if you are not interested in having any compilers (or toolchain DA> components) in your final world, they should not be built, right? Yes, it is perfectly valid to build system without compiler at all, IMHO. I mean, do we need mode, when "some" tools is used for compilation, and compiler is not configured by hands (via new XCxx variables) and not build at cross-tools stage. As I already said, I will be glad to see DIFFERENT knobs to select stage-3-built (and later used) compiler (external, configured explicitly via XCxx variables OR clang from sources OR gcc from sources -- three variants, clang from sources by default, as it is now) and other set of knobs (current WITHOUT_CLANG and WITHOUT_GCC) to disable these compilers as parts of TARGET system, like WITHOUT_BIND and others WITHOUT_xxx. These two+ compilers are different ones! And now we haven't any way to control them separately. Or, really, we have half-backed control: we could say "don't build cross-compiler, use external one", but we have no way to say "build cross-compiler, but not target one". It annoys me. But I afraid, I don't understand out build system well enough to provide patches, sorry. BTW, there is no way not to build binutils, as "install -s" used on "installworld" stage needs "strip". >> Is current behavior (risky on, IMHO) Ok? DA> No, obviously not. If you build world with "old" system headers (for DA> example when building head on stable/9), there will be trouble. Exactly! --=20 // Black Lion AKA Lev Serebryakov