Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1963819imm; Sat, 9 Jun 2018 05:19:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK9YDvtDd1vzRUxchSbHEvfHRcVXDBSqq2iY44Rz5CgiO9VXkbVYrDBZVbUWjAv8VUuS6IC X-Received: by 2002:a63:b008:: with SMTP id h8-v6mr8602002pgf.137.1528546744144; Sat, 09 Jun 2018 05:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528546744; cv=none; d=google.com; s=arc-20160816; b=ZI0ToTC/TR4d/1MkbsFpzbrjqFBnmx5e2HiGpopIq1GTinVEcN4V7eZe61t/uy/KNo ueOmyQxiiHXfcnNdB2B8JYKBkx9RdAevxJgPBNGczm3tipvGUvHcKTZIEFtb9f+el8yv 0ziBxNvb8sqo1G6r+aCvwmFZ3gKZd2MnCN/+cSCUsbef39+xQhYoWj8fZuMI4ARH/7Vq dvcLUbv8gTQZLW+ywtkNU2PguhRFC2vONYsXqa7waVd0JI5Sa+mt8lhb7zE7BnLv/tv4 aJv61jC9MYJ/itNiKvmI90jMA/39YZQwxlhpq8HGothKVYRdBo97aabGdDio1eqx7FgW D9IQ== 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=X6AOlhC2rJJQXSuIWpUbByVrVAi64vekmYeNLzRIP2U=; b=htQkbGnaajD408ulgIZ3dKtc1bk4TFGUNYLzy7hkbtbZVv3ZPSkbBn63fSU7HvBdfl csGzNtx9l3vlZzRwG2yofyQAv0pOwLmox+Yv5fmMEIy6ztGayz5hCW91IuUr5sFLupAW xCvHw4xew15+vSlXPca6PlDM43gldFtEsmFTVISJ7+U209r0UpEv15W0nhBnhmeEfXlw Mret2Ps/Rk8w1llrl5ojJe/5R9hU69ymzA/8mo5VLDNW/Yp2TDTaS4kK47C515PaFCCt u0r39yu1OQLieYfY1tiAKE0HR9YsZENzr8umC2oZ8HdGyULkde3LYAMa9y/b5s2T1WJV WFGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=wyUvB40V; 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 89-v6si30565249plf.224.2018.06.09.05.18.49; Sat, 09 Jun 2018 05:19:04 -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=wyUvB40V; 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 S1753253AbeFIMRM (ORCPT + 99 others); Sat, 9 Jun 2018 08:17:12 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:60935 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979AbeFIMRK (ORCPT ); Sat, 9 Jun 2018 08:17:10 -0400 Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com [209.85.213.41]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w59CGoXC006071 for ; Sat, 9 Jun 2018 21:16:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w59CGoXC006071 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1528546611; bh=X6AOlhC2rJJQXSuIWpUbByVrVAi64vekmYeNLzRIP2U=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=wyUvB40VdWV+gs1inwk+aei3StnNCUNlpMocketk8lepvxy285/JTX3QlB4flNRyK +1QC2VkHmNeUp2i7i2sKXRzvwjTNzeJBIbW6cHA6jknRPtn9M4T9RhGpkD3SNywVgt geiUUio1y3oaO3clax/IRoRy/E4nL+KPvlgWRN2Pvw40EbU6M7y7u9XtNWUhYpQ/yL MQ6PEj9t6wVhYJkouoPgv5aDVRhqtrdvgfQr29YlnVXbsSee29ECTT40NV/sYO7eNv w6UUPsOs886WaUi7b+RrBa/NM8gyltnNHfjwiHQlKEP1/thOikhOVyXpPIoAGyl0f0 eb1tvbMik5INg== X-Nifty-SrcIP: [209.85.213.41] Received: by mail-vk0-f41.google.com with SMTP id q135-v6so9798554vkh.1 for ; Sat, 09 Jun 2018 05:16:51 -0700 (PDT) X-Gm-Message-State: APt69E0OLbctbrMR+YPfi53OwPVkY3ebfuSovrQGCT1xu0cNUFMTF7mF z/NzA1giVofRG9QbppfqFu6Uhilluse4Spd+j9E= X-Received: by 2002:a1f:cc85:: with SMTP id c127-v6mr6213662vkg.166.1528546610207; Sat, 09 Jun 2018 05:16:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 05:16:09 -0700 (PDT) In-Reply-To: <67595efc-410d-7517-d788-eb3c4d2d7129@mageia.org> References: <8f46ed9a-85c0-8df4-2d1e-d268cbc9d0e9@mageia.org> <7a5458da-4222-7480-00ed-a51bed2c1e39@mageia.org> <67595efc-410d-7517-d788-eb3c4d2d7129@mageia.org> From: Masahiro Yamada Date: Sat, 9 Jun 2018 21:16:09 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: building in 32bit chroot on x86_64 host broken To: Thomas Backlund Cc: Linus Torvalds , 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 2018-06-08 4:49 GMT+09:00 Thomas Backlund : > > Den 2018-06-07 kl. 22:40, skrev Linus Torvalds: >> >> On Thu, Jun 7, 2018 at 12:35 PM Thomas Backlund wrote: >>> >>> I can work around it for now (or keep the revert in our kernel builds >>> for now) until it gets properly fixed... >> >> So rather than doing the revert, it's probably better if your >> workaround just does >> >> make ARCH=i386 oldconfig >> >> (or maybe even just a "export ARCH=i386" in the environment) >> >> That should get you to continue to otherwise do the same thing. >> >> And if it turns out that your flow is the *only* one affected by this, >> and nobody else complains, maybe we can just say "yeah, slight change >> in build rules, easy to work around" and leave it at that. >> >> Linus > > > Yeah, I can live with that too :) > > I just wanted to point out the regression in case it was not (sort of) > intentional... If you want to do 'make oldconfig' without setting ARCH, maybe the following could work. diff --git a/Makefile b/Makefile index 019a5a0..b491e86 100644 --- a/Makefile +++ b/Makefile @@ -292,7 +292,7 @@ export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION # then ARCH is assigned, getting whatever value it gets normally, and # SUBARCH is subsequently ignored. -SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ +SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/x86_64/x86/ \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/s390x/s390/ -e s/parisc64/parisc/ \ or diff --git a/Makefile b/Makefile index 019a5a0..3586967 100644 --- a/Makefile +++ b/Makefile @@ -292,7 +292,7 @@ export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION # then ARCH is assigned, getting whatever value it gets normally, and # SUBARCH is subsequently ignored. -SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ +SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ \ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/s390x/s390/ -e s/parisc64/parisc/ \ -- Best Regards Masahiro Yamada