Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3705178ybv; Sun, 16 Feb 2020 03:54:48 -0800 (PST) X-Google-Smtp-Source: APXvYqz5Lzg0iRyn7ZIk6sTcaeEVfGE3OygeHTbbI5rmT3MGkqmJh/6iiU0ysCHciTi5j4YExtEP X-Received: by 2002:aca:ab52:: with SMTP id u79mr6693218oie.145.1581854088678; Sun, 16 Feb 2020 03:54:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581854088; cv=none; d=google.com; s=arc-20160816; b=iOSQHOkg6CQYLirBhy+Ymov/X3MMwdszZGgFoXHinpiJeWheu+GS3dEgNEm0PF/xAz lXc0bW8pP01uVfbyPeb4BDW35YXmHktqKaBg84mhnUcdzVLC0+09Y5JCZBfed2B2uQQO 1YGpARTlw1b+QH6xnISZulWYCwRCB9xmmbo+jB6x+2L6/3HhCLiHimcEs4Dd9aePUa6a QiMykBxhulMD924Cbf9pUSL6R0SC5atqCmZHZAteXDtSzUuq0lT1u/pzuOmS3HhSDnat NjxAJtOjiYJBQe5LrhQG7MgGyBApqXo1W+VD7ifTNhhwrEHSfwtP4SGlscgGJRpgfb1a 4N1g== 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:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=GZIc7P0G1/JUkwKtzLRD2+1b1DnogPOt/ACkqfOwTSw=; b=jIqVrhIkJ+JA6Af8q0mlI87kwRzcbD91gJPQcaHNgc+To6u52LVLGUmHel22bixsNC fglMz+VM89Ov0Zidu9WRamdD7Jp3Yw+9w9HkJqVrgMTdcnblnRWfsZjAndm5/VXYYEv5 Ull8cHzR/DVLnUzdRAvubT0Q214kGJ4omglnYmAlxj7PCH3SE2a56OXNxD3Gsj7yBl+j m0nD/QouzOtDQgL7FX37IySelCsPtp5gesuD8U3RHJlMyDkx2QxMcnQ+sK3poV/4CwTy HNPloB6Kcz/YwzVC2NkuOVnzQT7caesweR06NKgtFL+Uf0cjGrk/VPuOvgKo+7wpTt6i H0IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=lClVNzu+; 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 t128si4874035oie.176.2020.02.16.03.54.37; Sun, 16 Feb 2020 03:54:48 -0800 (PST) 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=@landley-net.20150623.gappssmtp.com header.s=20150623 header.b=lClVNzu+; 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 S1728128AbgBPLyO (ORCPT + 99 others); Sun, 16 Feb 2020 06:54:14 -0500 Received: from mail-pg1-f174.google.com ([209.85.215.174]:46886 "EHLO mail-pg1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726651AbgBPLyO (ORCPT ); Sun, 16 Feb 2020 06:54:14 -0500 Received: by mail-pg1-f174.google.com with SMTP id b35so7416689pgm.13 for ; Sun, 16 Feb 2020 03:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=GZIc7P0G1/JUkwKtzLRD2+1b1DnogPOt/ACkqfOwTSw=; b=lClVNzu+n0Nk/nXJrhxPh37NHZ7KlJyyFWI5EPszPrJtn13NN/eZ6y3pOK3fyOiiKP T2uZjPMXsJp1MckFaih2zJxn0XkDRl0JIe34q4vkZhd2flEkh+zvafYb5ZBPyJNQ4Hha 9v/fFn/LpydMMOYvz8wabqeNF8o7tTa21gxkwxUWO/JMDRACeURK16kyviAODcEHOc1i kzo9Kjze0uFtys6nElipPfeR/8Z+cliqlVjerWXcTaDtycWxNDcJdbQDqgTFST0YEFtc YWjICsJinL4ngMH8LUaYdwkbodx4XJcLwGzI72gEed+JDginE0LcaMdvZurk6gVNkMd5 M4yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=GZIc7P0G1/JUkwKtzLRD2+1b1DnogPOt/ACkqfOwTSw=; b=oBzjL9gfuWWQQcQLqC+XozuaN6b4GeS7uVd5rpx1OoXTaUI5NDYFD7TqK5gM112FTg v0ABoFnP3xGeHv9Ez0gzJ9fEAOGWRhK942Gatq8Hv7HIME1nH7Uf0h1c+rNUeekTclE4 4LxPvsrf5MTSrNnXDzeXAxEz915reSo7XDjjUsdJp6FxR0dcan5DC96c1jb2QYZ6WZk7 chJdORp/w82EANeZaFI2P7chkaRCEDj4Pm/kMm9wKYyRV8oKNpAUynHCW39tuhM6tIYi oXLCryMqhJBNnCH4z7SRsaIg/tSbLhNc7FYUMW3dyufdtR5Dj0vCbIkRPNwlny9fUh0m FGYQ== X-Gm-Message-State: APjAAAXwcuMKHrxMaWTiosIPTMHWtLp87iWLSPDlTM/H/UpAKeBsC9du sRvSX/3GsIrGmzN8ZZkgafXc4T7zd0k= X-Received: by 2002:aa7:8695:: with SMTP id d21mr12189311pfo.199.1581854053410; Sun, 16 Feb 2020 03:54:13 -0800 (PST) Received: from [192.168.11.4] (softbank126112255110.biz.bbtec.net. [126.112.255.110]) by smtp.googlemail.com with ESMTPSA id w128sm13239379pgb.53.2020.02.16.03.54.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Feb 2020 03:54:12 -0800 (PST) To: linux-kernel@vger.kernel.org From: Rob Landley Subject: [BUG] distclean gets confused by cp -sfR Message-ID: Date: Sun, 16 Feb 2020 05:59:07 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If you copy a dirty linux dir as a tree of symlinks and then "make distclean" in the copy, most of the .o files get skipped. $ cd linux; make defconfig; make -j $(nproc); cd .. $ cp -sfR $PWD/linux boing $ cd boing $ make distclean $ find . -name '*.o' | wc 892 892 20017 Reproduced in commit gb19e8c684703 on x86-64 (devuan ascii).