Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1877imm; Fri, 7 Sep 2018 15:07:15 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY+nz1YZcVeHTmb1xVvQagIXUn3PYvRdDCxJuiB1/tIyvELEXRW4/9SLO6eBNbtmpJ4AeQk X-Received: by 2002:a17:902:bc4b:: with SMTP id t11-v6mr10035530plz.262.1536358035721; Fri, 07 Sep 2018 15:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536358035; cv=none; d=google.com; s=arc-20160816; b=z1Sp8/81d/dFSEyoLrVVR7yi6ofh+msjC9Lk0o7/K0+nJPJkxdI1lS9dCn5bHzElE7 c+uGHXXP3UZshlwGlUm169mkG+pB0UvMhw5enwfBJkna4jwYgRVRcju2zjPReQqyJnMB saw+uaYSZxcFHv63VqKOD2nqypOZ1Njdc3wfEJFkkCo1/P757VudwO/+V35+ATPo+Au2 j1/HRFyup5hqW9WbFBUHjiC1MRvM0fmAd9PJ0Z8QWc27Mlj4eDr37NGcTGLL4UXCtr2F T029FQA1lKaiEiaT2lL9bYEWm1G7vr6acX9085tlOj5qMDQKDmqhlnWpkGRAv59iW+iP NYgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UL1j7MZmvXl4KqAJwW+Icb9qyQvvZ9knN+yRFXnU5To=; b=biNYKNMPEjAoMyX1Y0Z2mD6sKzCnXLzS0WCYtr2gSrslYylm+y4YN4bv2LMov3FG0l xjDXmla6gqLiI47Iyq+xBRy0PC8LUkv36/DX+/+VXI2EEBi6Q8EwanmBW4v714KlWene T5az9DCUcsKJ0okI57UUP9JUEajrjMsPxCEiT/FTYIR/HxIufDS+AwDdBgadodZ5e0lP v1k1OAGSM2cBY/lZ20/uPjefPMoMPY2XbmI2rjqadP+epALt8dN9A+vKeJ7cvlml6GB3 cHrDgNpaWNskoyKl5uuRA0MaRIhlqpXiJy0nYIFfw09E5QHaYNnuNMKN7EWCRXTsXqaF hW7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si8698657pli.238.2018.09.07.15.06.58; Fri, 07 Sep 2018 15:07:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726599AbeIHCsd (ORCPT + 99 others); Fri, 7 Sep 2018 22:48:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:33686 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726237AbeIHCsd (ORCPT ); Fri, 7 Sep 2018 22:48:33 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id ADACFAEF4; Fri, 7 Sep 2018 22:05:28 +0000 (UTC) Subject: Re: [RFC PATCH 0/3] kbuild: support syncing .config non-interactively and record ARCH in spec file To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Javier Martinez Canillas , Laura Abbott , Jiri Kosina , Ben Hutchings , =?UTF-8?B?TWljaGFsIFN1Y2jvv73vv73vv71uZWs=?= , Takashi Iwai , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Michal Marek References: <1535968916-9159-1-git-send-email-yamada.masahiro@socionext.com> From: Jeff Mahoney Message-ID: <130981b1-436c-d3e3-d22b-c1cd8cba374c@suse.com> Date: Fri, 7 Sep 2018 18:05:23 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:63.0) Gecko/20100101 Thunderbird/63.0a1 MIME-Version: 1.0 In-Reply-To: <1535968916-9159-1-git-send-email-yamada.masahiro@socionext.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4h8woEc4Tu8MoRajYynmXFCksSXXoY89k" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4h8woEc4Tu8MoRajYynmXFCksSXXoY89k Content-Type: multipart/mixed; boundary="7D1l3XnUHvhPuSEN52aaqgGqHVU9MDQZ9"; protected-headers="v1" From: Jeff Mahoney To: Masahiro Yamada , linux-kbuild@vger.kernel.org Cc: Sam Ravnborg , Javier Martinez Canillas , Laura Abbott , Jiri Kosina , Ben Hutchings , =?UTF-8?B?TWljaGFsIFN1Y2jvv73vv73vv71uZWs=?= , Takashi Iwai , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Michal Marek Message-ID: <130981b1-436c-d3e3-d22b-c1cd8cba374c@suse.com> Subject: Re: [RFC PATCH 0/3] kbuild: support syncing .config non-interactively and record ARCH in spec file References: <1535968916-9159-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1535968916-9159-1-git-send-email-yamada.masahiro@socionext.com> --7D1l3XnUHvhPuSEN52aaqgGqHVU9MDQZ9 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 9/3/18 6:01 AM, Masahiro Yamada wrote: > This work was prompted by the criticism about the recent Kconfig change= : > https://lkml.org/lkml/2018/6/27/254 >=20 > I may not fully understand his concern, though. I don't think you do. Here's the use case for us and, I expect, most distro kernel maintainers out there. We build kernels on 8 architectures, with 3 or more configs for each architecture. Each product release uses a different build environment. Between SLE and openSUSE we have 6 build environments at the moment. Our update process for configs is to run a script that adds the change to every affected config and then run a script that does a 'make oldconfig' on every architecture/config combination to sync them up and ensure options that may have been enabled by the change are synced up. Those changes are also automatically propagated to other configs. The config updates can be done on pretty much any linux system capable of building a kernel. This is a process that has worked for us for at least 15 years. It doesn't now with the GCC_VERSION changes. Today, I went to do a simple config change: disable an option on every arch/config combination for a single branch (that wasn't the one that matched the build environment of the running system) and instead of it running more or less silently as it has for years, it wanted to change all the compiler options. Of course, those changes shouldn't be pushed to the repository because they'll be wrong for the build environment. In this simple example it was easy to just modify the option in-place, but it would've been painful if I was enabling an option that guarded other new options instead. Lastly, we fail our builds if there are unresolved config options. A build that silently ignored them and accepted defaults isn't something we'd use. Otherwise, we could start our builds with yes '' | make oldconfig and be done with it. Requiring the config to be generated using the same environment that will ultimately build the kernel is a huge usability regression for us and, I would assume, others. -Jeff --=20 Jeff Mahoney SUSE Labs --7D1l3XnUHvhPuSEN52aaqgGqHVU9MDQZ9-- --4h8woEc4Tu8MoRajYynmXFCksSXXoY89k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8wzgbmZ74SnKPwtDHntLYyF55bIFAluS9iMACgkQHntLYyF5 5bKU1A//RDi1hqWJ+0cqtWsJhWYxz2UV1tKAQWy/O5lMHfzuoVF7Su75+nAJuZSn E+qRRGpBIs94reX716zt+9eKEsOAH2DZ0bvGEuL+/TdnBuqMxT3BehFVHEXdW6pt wwirNm5L0wX9jPC0XXOxBr9z+wCw4uAizNTaqcQD/6BPOSIEKtlxTctnOip5F7BP OECzZj854Aiu48uRU84aLFrSYKcDbfA8yzDRHcdb31SBzhtYxYMs/+AwXqlJQTrj PTdB4LeZcnx/Y/8TR0t8j8wYsPYjHcx+u2k78mkn+zNN17sCFiHE9h6hHtVQIf6Q XoTEPWUOXOccekz/u4+7x6BgJRznNIBkd5FryeRrriALHKfAK0Lw9ROxItRlZdYC EZ3xwGFyr7mlr+dov6++4rj1kqwxfdzO+mUfGsD6G6DO3GojA0HciKT831cVJpE3 pOExlQOWFwtMGzOG9W3Im0g6jxGG68acpjuZme8E8uFh7nnxwE6ZjoM6ND18m4vo YOKP9nkPX7xT0nPksPouFpQ6zPcjzwlIxJ9iUWy+rle4iPeHHCd+DmyJpnb+z4Pg iGMAxV5Ml/i+rRfL9CV37crM0grRJUH3MPVhgIIUZJHpz5B3GbFAtPmUORAr6lOR JCXsqb+2b5VNcQc+r7Zt6aTsYLcA3Fgj49GW3YMoLVOm6tezo78= =rG0d -----END PGP SIGNATURE----- --4h8woEc4Tu8MoRajYynmXFCksSXXoY89k--