From owner-freebsd-arch@freebsd.org Thu Nov 5 07:46:24 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57A4FA26DD3; Thu, 5 Nov 2015 07:46:24 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x230.google.com (mail-pa0-x230.google.com [IPv6:2607:f8b0:400e:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25F1A1317; Thu, 5 Nov 2015 07:46:24 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by pabfh17 with SMTP id fh17so79887729pab.0; Wed, 04 Nov 2015 23:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vkdbg5npOsaCupkskya0uWlFAkvvWKeWxNqVI++XAro=; b=lJbUxcr3t5x25wRGbdi9I5IfHbDSJCuQMnUaV7KqsVzHdV/XdWHs6qvoixhHNx54rp siHsIgUqcTzaVwMF1RqeJMuBt8YpAYQm3919Hro+bM5TofjenthJq7wjrCVwpLYvI497 7zyt819Dx3KKl201v1yl7UxGHg3ju/lQ3FK7KsPwNtDkpinhgdhCqbqdj4p3OJ/caYph SMe6wGuuSD84P5I+3bfCb21j8vHK0kGxBaU0juR0fDkhdM0zk1y0k+DR2VGux82t8nsP /mwlB6qIPwx188RtsXAxo2F6TZFjm89uVaBJrBQoJpPnw31cH+ZSI8xO9c68KOQ7tOSb 5aXw== X-Received: by 10.66.160.35 with SMTP id xh3mr7718817pab.22.1446709583774; Wed, 04 Nov 2015 23:46:23 -0800 (PST) Received: from [192.168.20.7] (c-24-16-212-205.hsd1.wa.comcast.net. [24.16.212.205]) by smtp.gmail.com with ESMTPSA id ve8sm6135994pbc.48.2015.11.04.23.46.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Nov 2015 23:46:23 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: COMPILER_TYPE and installworld From: NGie Cooper In-Reply-To: <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au> Date: Wed, 4 Nov 2015 23:46:21 -0800 Cc: Adrian Chadd , "freebsd-mips@freebsd.org" , "freebsd-arch@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <35BA9AA9-6DFA-4CFC-8AA8-25B1D9EDD494@gmail.com> References: <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au> To: "O'Connor, Daniel" X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 07:46:24 -0000 > On Nov 4, 2015, at 23:08, O'Connor, Daniel wrote: >=20 >=20 >> On 5 Nov 2015, at 16:31, Adrian Chadd wrote: >> So! In the short term, is there any way that during >> installworld/installkernel we can also set CC, etc appropriately? >> Otherwise we're either using the wrong compiler logic/version >> (installkernel) or we're just plain not going to work (installworld.) >=20 > Why does installworld/kernel care what the compiler type is? >=20 > Or is it just something incidental which gets pulled in that complains = because it can't work it out? If so perhaps the easiest way would be to = add a flag which turns off compiler detection and set it for install* >=20 > If install* _do_ need to know the compiler type then, bleh.. It shouldn=E2=80=99t care. bsd.compiler.mk just has the intelligence of = a stump and Makefile.inc1 doesn=E2=80=99t tell bsd.compiler.mk to do = otherwise in the distribution/install phases. If it were up to me, CC would be false when make install* is run from = Makefile.inc1.=