Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1239430imm; Tue, 5 Jun 2018 11:11:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLsYq/JSVg/1o860r8rEHobAIwgTC3aIFhJDtWfDlF7Fkaxmte3j1LH1pTSzlWRpYP7EzRP X-Received: by 2002:a63:700e:: with SMTP id l14-v6mr11157771pgc.206.1528222291184; Tue, 05 Jun 2018 11:11:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528222291; cv=none; d=google.com; s=arc-20160816; b=cRyqKvddiBRLBtH5nUs3yzUxjW5mJe5plMWpgILYXWvrptizyDOoluytkkxe5rmwT3 RGLtO28lnNR7jFOly68QS3c0jZ4wYTjPI4PyaMFJsnons7wiR2ZqJ3ueRahjhLZNWD+S ax34hXcSHjxWzgbPnCWL91D4YrOeYytkFZmvOEDIDJ5UCJLyrI5fqDF2EYB9Dc0rfx1w 85xknCKPBwJR3PpKDRbpSwOH/vy9dB6JbLbzpHOWRcWJ1pk8aU38IuwEs21i84729c4p IVqclKEH7cafNfBqfAqfAv1nXpJ7vTga7GzGDCERVNDrY0WqQIoMdhKG7NgRlNlLb5F6 hQmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:date:message-id :references:cc:to:from:subject:arc-authentication-results; bh=MNB6KtyJvBx6d3XOZ386zhpUa13YfMtjypdGrb+ikyI=; b=S/NVm9dp4E5aBAoH6zE/4vbwh7dx6Uy9PuJU0zl+1FNDQVWhtACIKcnbTRVSOezJSM MNcnd9xpTfoNoRoirlGP7kMH4CevBg0qQkcepiJTVwwGm2UT5+7lw8h0nelP5KVd2Kpc 3EPU4nhTyPQPgZ5oqMBHgKQwRTY+3NC3/gSb4qdX1Nh8mwA7Gp828C64bs7zWWCdBWvL rYKxqLn+xR/B1N5ynMfPdimZVQWK73UZgFW/n5wC6buw05IAyu1RS178PPNlk/jXIfFf SERqS+nGEeg8Pejv/itSBjhQKOAoAnUkhXxcG27Htj3dfIJeZRWHxnRqbzVR3t+SFzZQ HtfQ== 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 33-v6si50314674plu.385.2018.06.05.11.11.15; Tue, 05 Jun 2018 11:11:31 -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 S1751928AbeFESKv (ORCPT + 99 others); Tue, 5 Jun 2018 14:10:51 -0400 Received: from mx2.yrkesakademin.fi ([85.134.45.195]:28641 "EHLO mx2.yrkesakademin.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751830AbeFESKu (ORCPT ); Tue, 5 Jun 2018 14:10:50 -0400 Subject: Re: building in 32bit chroot on x86_64 host broken - IGNORE From: Thomas Backlund To: Linux Kernel Mailing List CC: Linus Torvalds References: <8f46ed9a-85c0-8df4-2d1e-d268cbc9d0e9@mageia.org> Message-ID: <48aa249f-22e8-924c-120c-8384eff9efb4@mageia.org> Date: Tue, 5 Jun 2018 21:11:01 +0259 MIME-Version: 1.0 In-Reply-To: <8f46ed9a-85c0-8df4-2d1e-d268cbc9d0e9@mageia.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-WatchGuard-Spam-ID: str=0001.0A0C0202.5B16D22A.0143,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-WatchGuard-Spam-Score: 0, clean; 0, virus threat unknown X-WatchGuard-Mail-Client-IP: 85.134.45.195 X-WatchGuard-Mail-From: tmb@mageia.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 2018-06-05 kl. 20:52, skrev Thomas Backlund: > > I have a 32bit x86 and a 64bit x86_64 install on the system. > > With linux source up to 4.16.x I could do: > > setarch i686 (or use command linux32) > chroot /path/to/32bit/ > (/dev, /proc, /sys, /run is bind mounted in the chroot) > > Then I could build a 32bit kernel in the chroot without booting the > 32bit system... > > (host is running a 4.14 longterm kernel) > > but building from 4.17 source in the chroot I get: > > > $ uname -m > i686 > $ make oldconfig > scripts/kconfig/conf  --oldconfig Kconfig > * > * Restart config... > * > * > * Linux/x86 4.17.0 Kernel Configuration > * > 64-bit kernel (64BIT) [Y/n/?] (NEW) > > > > > So it does not pick up 32bit anymore ... > > Is this intentional ? If so, why ? If not, how can I fix it ? > Never mind... For some reason I seem to have lost this in the .config update to 4.17: # CONFIG_64BIT is not set Re-adding it restores proper behaviour... Sorry for the noise... -- Thomas