Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1303150imm; Tue, 5 Jun 2018 12:16:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJRzDgtDNhH16JR4nmWbtmQ7KyPLtkavmjURQukUrN52Ibw7M7oaIe6OE1O57TjRHHUwmIs X-Received: by 2002:a63:78c6:: with SMTP id t189-v6mr3873880pgc.239.1528226181336; Tue, 05 Jun 2018 12:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528226181; cv=none; d=google.com; s=arc-20160816; b=gmlrxs3ALP/Pxuby87395/oHTYISfm5V9+Roe86UVAZoBI4VJJuSXnOASthiZPOZ7g NlkafCaWdTOZrZLzlHuDzUb0FeU/cXnXa2MqZXFG+6OHzx4vdKA/RicyIODl2Ga71ivO cXPdFzXDe6odr6Thyaec9ovYydJNdYqm1KdUsXEm85yQj0DZjsf8pKRomECSnasG1o4c xf79ObHWF6P6znBHyxpX7xP+EeGBY+LdCuA2Wp40n0vOf7zmFn4xvJYot6TNGN+Azm7+ vPCv5NRuJO4gx4WUALgwvHU7YpJZWiFbvFpR9MaeuEMXDcZ7+PW4EPHTpzEmW/q0uu9I w/Ig== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=Luw6GnJSyU3GRGsTEHW6Vw8Fzm8VSja1dwx+k7dlYr0=; b=uxGqt6Mr/oen0boNBavXiSd32xIMm317J4e/N1rV6EH3WYXUMtvVfp212XUAeDYxlE PiEPMz3P0E+6Bofc3nw1zz/ABVfftK010K+W6lCnoMJMW8TjUG3BZ5LM9a3oiEln4vLj huOxOitUOnmy15bZabciNYHGRXy9dhWlAMbQJTy4NYDNXKAyHUwlytTHiQJaj7sUsAxG oT4lEumMAd9L5goem2gqnhYO7eLJf2u0P8hRqlJuvWijlJ6MKPoZqeWBVEoK5OwGHohG l+Uw96FESzwUkJez/Q1PeCQ606UilHBkpeb122fJABqeowm2pUfvabX0LEmcgyf2hGTZ yOfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Visnvoot; 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 h10-v6si36163240pgq.131.2018.06.05.12.16.07; Tue, 05 Jun 2018 12:16:21 -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=@linux-foundation.org header.s=google header.b=Visnvoot; 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 S1752545AbeFETOI (ORCPT + 99 others); Tue, 5 Jun 2018 15:14:08 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:38180 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbeFETOG (ORCPT ); Tue, 5 Jun 2018 15:14:06 -0400 Received: by mail-it0-f66.google.com with SMTP id v83-v6so4812192itc.3 for ; Tue, 05 Jun 2018 12:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Luw6GnJSyU3GRGsTEHW6Vw8Fzm8VSja1dwx+k7dlYr0=; b=Visnvootlvycx9b1jEOADy9JZIRaie2VznX0SDGe7gUshB4A1IfF8lAc8wrO5QRRAL X7bGenaXpYqWztbhMCbAoGQ6ymHBizfoyMuizeKbqFk/seGYWTex/u7WOXUPS5pUtrWL fsAfvHzbYL/fYqcGktkOUV1l6HbawNyLvKSS4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Luw6GnJSyU3GRGsTEHW6Vw8Fzm8VSja1dwx+k7dlYr0=; b=NkaAeSqkhThj9ooVCi1/pV3nG0YA3cA+UHqVWWKgkt8116fRE8MM5ji2oKm/D0DEiY aoh7rJEWdHYDH936ofqPDsQkrx4WRUMm7C7ibGvuG5Guq5TY8OeNHmATyQhuXaZgUZXb HYFXQqrKNSz0MHAOIGoMMkk76xBDFGXId2sW2vguOk44wNNY/SQBIxUIzGB9W7tYwMI0 dj/ekhpYdejvvA+59fSt7Ltxv8oWBiwR13hOaodoNt9d2QfZo/8crvGvERjaxTnQdtoC TwdEY0XonX5E0vw9IqDiRutNbqCfM1UaBwtHDdksipkWU7Jn7GwQxwIO2dd0s3Z2CeIA bvvQ== X-Gm-Message-State: APt69E3U8LzdJ7R4d5mAh4UgFecXB+0os9Nf5sG4K9GT/769PnerCaD8 6DVUrdzpIT9Woz8ZkL4oUHwgQuVMX/Lpe0USDEc= X-Received: by 2002:a24:6b14:: with SMTP id v20-v6mr533476itc.100.1528226045968; Tue, 05 Jun 2018 12:14:05 -0700 (PDT) MIME-Version: 1.0 References: <8f46ed9a-85c0-8df4-2d1e-d268cbc9d0e9@mageia.org> <7a5458da-4222-7480-00ed-a51bed2c1e39@mageia.org> In-Reply-To: From: Linus Torvalds Date: Tue, 5 Jun 2018 12:13:54 -0700 Message-ID: Subject: Re: building in 32bit chroot on x86_64 host broken To: tmb@mageia.org, Ulf Magnusson Cc: Masahiro Yamada , 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 On Tue, Jun 5, 2018 at 11:50 AM Thomas Backlund wrote: > > > > but why do you care? > > Because without it running the build in the 32bit chroot will get the > initial reported issue: Ahh. I can re-create that now. Yes, doing make ARCH=i386 allnoconfig followed by make oldconfig is broken. And doing a trivial "git bisect run" to pinpoint where CONFIG_64BIT goes away gives us f467c5640c29ad258c3cd8186a776c82fc3b8057 is the first bad commit which does that "kconfig: only write '# CONFIG_FOO is not set' for visible symbols" and it turns out that CONFIG_64BIT is not a visible symbol on x86-32, because that question is disabled when ARCH != "x86". bool "64-bit kernel" if ARCH = "x86" And the problem with that, is that *next* time around this config file is used, because we don't have that # CONFIG_64BIT is not set line, we don't turn it into CONFIG_64BIT=n and then the "depends on" in X86_64 config X86_64 def_bool y depends on 64BIT no longer hides it. Hmm. Ulf, Masahiro, comments? Should we just revert that commit? Thomas, can you verify that a git revert f467c5640c29ad258c3cd8186a776c82fc3b8057 fixes the problem for you? Linus