Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4435442pxa; Mon, 10 Aug 2020 09:01:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgk+KndGJHXT8Q2mMJVMKlWo9WGQN1CkwQ6QKeMpur93+nK6GFyn6Yxg895Cg7XA53rXpk X-Received: by 2002:a17:906:c7d2:: with SMTP id dc18mr23146101ejb.135.1597075302597; Mon, 10 Aug 2020 09:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597075302; cv=none; d=google.com; s=arc-20160816; b=bkQLQAv85MlPXesKyloHPld4ogVXpmaSLE4N0arBKIH9Vew66xg7YPexdDFbOnYdZL EeZ+TfnlbMbZAF24X4Xce0ceYZytg9Qdj6KHofntRBJY8MWjC4sNaqrucEA5MGka8/58 4Lt273moF8O+rI99gm3xsYEpE7ZdSxLwQLnOK1KO9A5aBoRC7F53gSEphUs/o87KCPde MZbbanDzcCgjJbaWu0KR+OsS1UK0RKTIRuqviUUZbViDOU4UR1Mw41goq4ThQBDQyKRb mHWQfW68GX2O5LEsZHzh2lUxSu+JaLSmlnkCEljaTSQyCkTreWsENnRWy9v67BgeGRVj CllQ== 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:mime-version :message-id:date:subject:to:from:dkim-signature; bh=J5putFXdjtBiiOZjaW1jRRPwgbKFumMUrDaAe/TfxPY=; b=rzisDZe8k04uf0tOZZ6Og/pNuKOAXRlg/AgUwTbLKCQsUl6/BGJuSiz7VCSCvVqh6b xUyojEJuziPHrI5xAlHNMPMMnh8WBSL80ArzcJqDW7/ME53XPhB+bZKAXujZB5HKNDrA XJj8214774X8bf/a121XzR85yQrIcFIlhYcb5oC/1TVajM+QWI255B88Xe5AAGIxRBSU 5FrPwo92/VKycFROIjvrdXNcT779+9p8YBljKBWdl+Id1hoURhjzE5e7aWqzhN4XRQkZ /+q6CXvuIBku+3cHQt2bcvv5oD+L7KI3K+i8FNb7W+njEqlwUn92w80IorhD+Iu0w920 lKeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uignxrhs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z20si10932890ejm.732.2020.08.10.09.01.18; Mon, 10 Aug 2020 09:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uignxrhs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727826AbgHJP7z (ORCPT + 99 others); Mon, 10 Aug 2020 11:59:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbgHJP7y (ORCPT ); Mon, 10 Aug 2020 11:59:54 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77222C061756 for ; Mon, 10 Aug 2020 08:59:54 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id a65so7648493otc.8 for ; Mon, 10 Aug 2020 08:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=J5putFXdjtBiiOZjaW1jRRPwgbKFumMUrDaAe/TfxPY=; b=uignxrhsl7YqL25IJPzaeQXCoDgqMrVG9f+CPe4/oYGjkrjCNccX9cxo55Q0FIZqWi r8H6U36L0yuC4+zpiRiy3XA5NfVlOFKrYHhF4j4kmUwG+sgpKCzCainG9M60wqFgqvY3 KGAVS9udnWAAByIIrLA00VkzjQqhgPzcPjx5g5gK9ZrPn5KinNo09hTEoqMjj9qiuNML YQysgdbWXfuSxDGdalQBVaYHSGYv397P3GBgXS51nuycnaAdxk/GDhsaducV9ZGj8NDM ITxDUHMWnQFCKU+C0jbGmdkrvgmseHh+dsXYa86kyIMcmMaDzX3R4vKb6lb3LOOf/jn+ e9sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=J5putFXdjtBiiOZjaW1jRRPwgbKFumMUrDaAe/TfxPY=; b=NFAuc9EnbQvSJ+LQwXvNaPX2DJDrRdMMlSJk9KYmcSAtdoSZh1hGW2xfmswsyr3xgu QUndo+kMr/i9Rbr490dFgB1Ksx5D2L5Jhj2wAkG4Qv0juji10F7Kj/CB/u+JCRgIyaTY TbECjIzCJnjo1+HOOxIqEbkc3F/aagu3lXIhsC91Us8WS1aj9jzVQWQbA+hTyUT2IsKx f2qE0ApAC5lKSOxyUeyYKNCqtIvCez8coFwiBIvQYTXOq8deQ10gBP0RMvRhYUx8fau7 3iL26MWsE9eAzB0A9IQ2mAli1LLAsNehisRPm94Vk62jNtG9HiPN6YedJ5M0vf3QuOs1 xP/A== X-Gm-Message-State: AOAM532bAW0UtMQ3BunG3sz7/1lnNPenUUKjkDnbDw15JyFWNH6vGfAj dNC8Kt6gFV9OfhIdNOGXh0j3Q3LkMuQ= X-Received: by 2002:a9d:12ce:: with SMTP id g72mr1317273otg.306.1597075193722; Mon, 10 Aug 2020 08:59:53 -0700 (PDT) Received: from alago.cortijodelrio.net (CableLink-189-219-73-83.Hosts.InterCable.net. [189.219.73.83]) by smtp.googlemail.com with ESMTPSA id h23sm970148otn.54.2020.08.10.08.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Aug 2020 08:59:53 -0700 (PDT) From: =?UTF-8?q?Daniel=20D=C3=ADaz?= To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), "H. Peter Anvin" , Randy Dunlap , Jens Axboe , "Martin K. Petersen" , =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= , =?UTF-8?q?Daniel=20D=C3=ADaz?= , Sedat Dilek , Masahiro Yamada , linux-kernel@vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)) Subject: [PATCH] x86/defconfigs/32: Unset 64BIT Date: Mon, 10 Aug 2020 10:59:42 -0500 Message-Id: <20200810155943.2583275-1-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A recent refresh of the defconfigs got rid of the following (unset) config: # CONFIG_64BIT is not set Innocuous as it seems, when the config file is saved again the behavior is changed so that CONFIG_64BIT=y. Currently, $ make i386_defconfig $ grep CONFIG_64BIT .config CONFIG_64BIT=y whereas previously (and with this patch now): $ make i386_defconfig $ grep CONFIG_64BIT .config # CONFIG_64BIT is not set This was found with weird compiler errors on OpenEmbedded builds, as the compiler was unable to cope with 64-bits data types: NOTE: make -j1 bzImage CC=i686-linaro-linux-gcc -fuse-ld=bfd -fdebug-prefix-map=/oe/build/tmp/work/intel_core2_32-linaro-linux/linux-generic-mainline/5.8+gitAUTOINC+1d0e12fd3a-r0=/usr/src/debug/linux-generic-mainline/5.8+gitAUTOINC+1d0e12fd3a-r0 -fdebug-prefix-map=/oe/build/tmp/work/intel_core2_32-linaro-linux/linux-generic-mainline/5.8+gitAUTOINC+1d0e12fd3a-r0/recipe-sysroot= -fdebug-prefix-map=/oe/build/tmp/work/intel_core2_32-linaro-linux/linux-generic-mainline/5.8+gitAUTOINC+1d0e12fd3a-r0/recipe-sysroot-native= -fdebug-prefix-map=/oe/build/tmp/work-shared/intel-core2-32/kernel-source=/usr/src/kernel -ffile-prefix-map=/oe/build/tmp/work/intel_core2_32-linaro-linux/linux-generic-mainline/5.8+gitAUTOINC+1d0e12fd3a-r0/git=/kernel-source/ LD=i686-linaro-linux-ld.bfd GEN Makefile CC scripts/mod/empty.o cc1: error: code model 'kernel' not supported in the 32 bit mode cc1: sorry, unimplemented: 64-bit mode not compiled in /oe/build/tmp/work-shared/intel-core2-32/kernel-source/scripts/Makefile.build:280: recipe for target 'scripts/mod/empty.o' failed make[2]: *** [scripts/mod/empty.o] Error 1 /oe/build/tmp/work-shared/intel-core2-32/kernel-source/Makefile:1174: recipe for target 'prepare0' failed make[1]: *** [prepare0] Error 2 /oe/build/tmp/work-shared/intel-core2-32/kernel-source/Makefile:185: recipe for target '__sub-make' failed make: *** [__sub-make] Error 2 Fixes: 1d0e12fd3a84 ("x86/defconfigs: Refresh defconfig files") Signed-off-by: Daniel Díaz --- arch/x86/configs/i386_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index d7577fece9eb..4cfdf5755ab5 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -19,6 +19,7 @@ CONFIG_CGROUP_CPUACCT=y CONFIG_BLK_DEV_INITRD=y # CONFIG_COMPAT_BRK is not set CONFIG_PROFILING=y +# CONFIG_64BIT is not set CONFIG_SMP=y CONFIG_X86_GENERIC=y CONFIG_HPET_TIMER=y -- 2.25.1