Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp309621imm; Tue, 5 Jun 2018 20:33:02 -0700 (PDT) X-Google-Smtp-Source: ADUXVKICByTRlSczsRqIxCGpI45zygnqYS/hsbDfmno/Anb+0A8Jpp2e/wwMp8eVIUNgy6yzoRgo X-Received: by 2002:a17:902:bcc4:: with SMTP id o4-v6mr1449965pls.69.1528255982704; Tue, 05 Jun 2018 20:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528255982; cv=none; d=google.com; s=arc-20160816; b=gHkEXNifCNzGXmBJX0i0XVkJXDvrtuW53nDpyMoSB0dhLjTtO1oeZ5f/ktviIdBRz0 82gdtyYCkeYsQ3P+JJ7x0rBppBjsFCrZqoeoI1mhxQ9cD0ZKz0ygqpMaayHCDXna8Gwj bxSsQJgNR8dz7dPPs11z1zjuUVl0pU/F8QrujyMV2N0rG0xmRBh+uqmmr7KAQchkxGQk 5b0vA9DkBKYdd/jnxOgikHQibw6lyCBMqwdjsfVMTgI4lmhBS2bKCH4j36nX7rfooDh7 dFv0wXzijf1lPX3JK+PH7eCPlhcPi5XIRD6qM22ZJgb4YiXiSL/H50kiwYqE31a1+FD3 HnTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=EVTzvjkE6ywB5EABmwb6yj1mZEwKq63Z5QbbHwxylNY=; b=KNOuHVX9rA57cZL1kz3GNtXYos5Y0NTp0ywmoijzAi8e2pmS4idHOqXCuTuJQ1hkL3 pmcyF8YKhl4OPnqA2MoqG3t5/vvn5casdldFPD0LI6LUcv595+yAiuoF/+iy0N4I6Vy6 +5f6cZ+aqbw+BHRX3w6vU1fgXBdx/jfOUBNaXwiWtcJdkpHKO0XzvjH41KGPXE2+2ONG AxXyJmnp3fxC7z7oyA23VJoIvT+vi87vtZR3Rm8hJGRzl4Z+8oygNoyU1zNYbEDDcLRf V0A0CU6fjrt7XEP22B4KaYJxgEiBEtzNQcuuNg/TOpRDoEUgM0yoyAtvl2A1OP/G7Iha s9sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Bp/n2VM9; 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 q12-v6si26309504pgc.619.2018.06.05.20.32.35; Tue, 05 Jun 2018 20:33:02 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Bp/n2VM9; 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 S932107AbeFFDcE (ORCPT + 99 others); Tue, 5 Jun 2018 23:32:04 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:36808 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752762AbeFFDcD (ORCPT ); Tue, 5 Jun 2018 23:32:03 -0400 Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w563VppX029387 for ; Wed, 6 Jun 2018 12:31:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w563VppX029387 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1528255912; bh=EVTzvjkE6ywB5EABmwb6yj1mZEwKq63Z5QbbHwxylNY=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=Bp/n2VM9jksuqlWQcC8/Ba2baRexMnAHitixT8WsJVIsi+yRnnkxpU06XsAb/yxOi 32uFRPTANCjUuQslli+aI6VDqY01wKM1zsbFrkHKzofUmLCvX1+CVk5W38Fbf8muj+ BkxwehBlmv6nT3e2Dp02HRrL4dV0/RWGctHkf0vRwwb3bBPR4ezzl3cd885bauQrPS KSvilV/PeKmFqWXyslNPAH4GrfeUCfXVg7lThdjqft+Llhx3OvvKkFiKh0FqOzHtLA tDbAIb0B9XmRmjgrRvGRItEfhzTt1KwafZovn3L2RSXK0FgdRWEifCA69uF1ABwFv6 9tWPvKycTc5hA== X-Nifty-SrcIP: [209.85.217.176] Received: by mail-ua0-f176.google.com with SMTP id z16-v6so3140414uaz.10 for ; Tue, 05 Jun 2018 20:31:52 -0700 (PDT) X-Gm-Message-State: APt69E1YfqOdtygEyJgDJjzJB3jcbviobTxRSZCiPAiwBryDAPY//rdK e98cVv1VFendN1RYAizqeOJMP42jM5QHF8NaPrQ= X-Received: by 2002:ab0:2e3:: with SMTP id 90-v6mr829277uah.144.1528255911087; Tue, 05 Jun 2018 20:31:51 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 20:31:10 -0700 (PDT) In-Reply-To: References: <8f46ed9a-85c0-8df4-2d1e-d268cbc9d0e9@mageia.org> <7a5458da-4222-7480-00ed-a51bed2c1e39@mageia.org> From: Masahiro Yamada Date: Wed, 6 Jun 2018 12:31:10 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: building in 32bit chroot on x86_64 host broken To: Linus Torvalds Cc: tmb@mageia.org, Ulf Magnusson , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, 2018-06-06 11:19 GMT+09:00 Linus Torvalds : > On Tue, Jun 5, 2018 at 6:54 PM Linus Torvalds > wrote: >> >> But once you *have* that particular Kconfig, I do think that "make >> oldconfig" should just work. And it apparently used to. >> >> So I think this is a behavioral regression. > > That doesn't necessarily mean that he fix should be to revert. If this is a regression, I am OK with the revert, and it is the only quick solution. > Maybe the fix is to simply change how we generate the ARCH variable. > > Right now, in the Makefile, it is > > ARCH ?= $(SUBARCH) > > so basically "if the user didn't specify ARCH, we pick it from SUBARCH". > > But that doesn't make much sense for "make oldconfig" does it? > > So maybe we could make the rule be that if the user didn't specify > ARCH explicitly, we take it from SUBARCH, _except_ if we are doing > "make oldconfig", in which case we take it from the .config file. > > That makes a certain amount of sense, wouldn't you agree? Doing > "oldconfig" and silently changing ARCH under the user seems pretty > user-hostile. > > In fact, I think it would _always_ make sense to take ARCH from the > config file, _unless_ we're actively generating a new config file > entirely (ie "make *config", not counting "oldconfig"). > > Hmm? > > Linus This is a big hammer. It is difficult to make a quick answer. In fact, I saw a patch series a few years ago. https://lkml.org/lkml/2014/9/1/70 It was not accepted. (I was not a maintainer at that time) I do not remember the details, but I thought it was a double-edged sword. -- Best Regards Masahiro Yamada