Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2174325pxk; Mon, 14 Sep 2020 06:43:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBBrQgRxTxX4FBEn50Rv9fJ7aHs0AqY24G4uuv0cGPgmhCGbMuYc0z1Z2wU+Pbypa31g4Y X-Received: by 2002:a17:906:fb8c:: with SMTP id lr12mr15528455ejb.9.1600091032239; Mon, 14 Sep 2020 06:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600091032; cv=none; d=google.com; s=arc-20160816; b=yC4a+8sHwj8hf1ZPPdCXHMK/uB+HTJ0T9/lOVnlWuZMHAixHDG3ykyXCJXlrjK1Ct7 fP/FOTo4dQyQZ8U9nVrujz17oZZZibA2oKRp0rMC4kVopY656gp0JwbeZPympwsKAiJn VDf1sKcgz31SA2rM9b95GWXD7XDiH5sLlGXw+xumZ8LAFKM+kXpDz+Y4mnfB23FXrVMY oYRQ/O6f1ZdguvE1yQdDkzZKwFdTgDv4WkVk3Ymd1cYe7J8oAK+fothOFC+bJoPBgmA2 Iud5wxytISuiqzkt+nlcQjpI5hpFpvfflNvLTlIt9RrOMTfPuoz2CdctVZnZE7QnM75Q AuaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=gdhmugLqW7kZFrfvX3M00eU7dg8wTThNgVclxlTgViM=; b=PSpdaJOgYNgjjIXDqBVTnJe/1hyr/Ndne1uNupiQL3LY9+025tGyCjyeFPy7jHAWXY 0D6ZfZ18jPVmW9Wt+RIWoo3ncmP8rB1+yxQs5a7wZYpB7ksbQK8zqAmJeph2mpZEy1Zw Zi1dZlvb9DaoC7rkQ4keNJLujzcx9Lu+S7Zn5dqIpMnWtdMOqJ8EHV5DYXBkhE/vlkJd qa6FcpdWIeIi3vL6DWAHPal2Qmgkb2vxFM4RMMN5GijTymW8Bpzhaq8w/MJlgZdlEwmO rzvp1faVyXoJjrLPRKMjgn82yDTW8IsSqRGVqno5qKnCedQec/ZYapGDW/hiFZ2DP2Ib dL5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e7fyEFcE; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d16si6927747edr.309.2020.09.14.06.43.29; Mon, 14 Sep 2020 06:43:52 -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=@gmail.com header.s=20161025 header.b=e7fyEFcE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgINNkr (ORCPT + 99 others); Mon, 14 Sep 2020 09:40:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726749AbgINNgI (ORCPT ); Mon, 14 Sep 2020 09:36:08 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E426C06174A; Mon, 14 Sep 2020 06:36:03 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id e17so71526wme.0; Mon, 14 Sep 2020 06:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=gdhmugLqW7kZFrfvX3M00eU7dg8wTThNgVclxlTgViM=; b=e7fyEFcEndcJpteBlRD60kFt98Z69+lfT6bkXtZoa9qDJV0+gtG/vOmS/JdZXXtZiM F9dc885pna3iqyCzQqaMQ0H2voJeG90Oh3b+FjP9MNfPxmieGThCAB2Ztwt5kN5iF8U3 LNbvu0RVEffgIJuCTQ7eyH+xWLrTnHVkaGAU2ihK9aqi0fyfwlqKLUePA6L90ERXWbU7 9tXhjFJ1sqN2/+vsj+rSTkAvVM+gedJENBOloau/bjczRAz7ia158ClEjnkce+9K9Vp/ 3Pc4qd702VNQL9kwQo+COLOy4AdxVgo00MTgX3N9GUshFA55ZGnln3A9DhNKLhuosNVj p44g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=gdhmugLqW7kZFrfvX3M00eU7dg8wTThNgVclxlTgViM=; b=ACGP96OCNvz3uQMWIvZa6sTBKwQ9TkSx5XtVLvODeLfeOQeyfWYZvCgpFlM2tDnie4 zR7OLHcDKICMUrOyo/9vmlRHtk1ZJRcN48tq42Gkcw+HdOQ2vRz7F1829d60GVdDumnT Lg9SInZFw4GPTvYngtPiKFm/qhFk5J1HIlvfppwBGaXZPDVNcYep2n+5aWEdjW8iH7iv LPIO+toEHTH4Gg13CMhRvF/oXuot1F1K88OjFUFFGDIspSvd8l6yGKZKnwYKfBR52sCJ RNpb5lxOO4pDttFCnJC4lDr/uKqzaunkLQVLa3Kg8BVG0qmtDmtQHn1uytLz3r5doGCY 5MJw== X-Gm-Message-State: AOAM5300tB5bGtGJAbhDBIVuJAuo9+IZmnMX+sPimgDkHp1YSKSvp7MW GyRg2LEHylBZM1SDv2yEbQ== X-Received: by 2002:a1c:4c0d:: with SMTP id z13mr14408941wmf.113.1600090562397; Mon, 14 Sep 2020 06:36:02 -0700 (PDT) Received: from localhost.localdomain ([46.53.251.238]) by smtp.gmail.com with ESMTPSA id s67sm20034759wmf.38.2020.09.14.06.36.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 06:36:01 -0700 (PDT) Date: Mon, 14 Sep 2020 16:35:59 +0300 From: Alexey Dobriyan To: mingo@kernel.org Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, masahiroy@kernel.org Subject: Re: [PATCH] kbuild: Run syncconfig with -s Message-ID: <20200914133559.GA126210@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > BTW., there's another, rather spurious bug I recently triggered in kbuild. > > Occasionally when I Ctrl-C a kernel build on a system with a lot of CPUs, > the .o.cmd file gets corrupted: Those are temporary files, truncated at page boundary. $ stat -c %s XXX.pata_sil680.mod.o.cmd 12288 I tried to fix this by inserting shell 'trap' directive but it failed somewhere else. cmd_and_fixdep = \ $(cmd); \ scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\ rm -f $(depfile)