From owner-freebsd-toolchain@freebsd.org Sun Feb 18 21:00:23 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 09F3CF03A60 for ; Sun, 18 Feb 2018 21:00:23 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic310-22.consmr.mail.ne1.yahoo.com (sonic310-22.consmr.mail.ne1.yahoo.com [66.163.186.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A14F6B336 for ; Sun, 18 Feb 2018 21:00:22 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: StHRjeAVM1nfgkQL3qFeZUTC9bnRRgvZy_Uav1g8KpWZ89_gtABbSWHHUZLlr2S wbzt2AzxKeVqb.jM6L266x9_WgWfnXIMdNKXg8CmG9wnEf4n6HK2sr2RPd3zRvVnSmuF3yHVc2S4 8vn2ib83MyniOE9MESZYWB.6Xm7dBy4DlKss.fFH8Y5XQHlPRbPYhqGZ1ZqBaGuQs0Ozmko7ZrRe 6raqe70hEC2J0wbNUjhs2AkCuqsq4hHbope3EQ.sZJJocXtbX_xXxymhPMCGhqohkDdZvZ0DWRz5 SiSWVy4OLW2G.cxUGSlrXziz9YhFrpJrQLoMshkPecyheKxMRk0hNsWE7zVY6aE1y5zaJhPcI.9Y Ku96SpUdkf.picYveaHOXRYw3janpmBMr53aIa4RXKZk7wsWX9vgupJrYcfVTw_KkxZD_1jNXWRB MIfCkPcX.Sfy7zU9V4CTFP3Tjt9T7.eP.PVm.952pyMFtKf98VlCOBHjrJI20if1RbET6 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sun, 18 Feb 2018 21:00:21 +0000 Received: from smtp230.mail.ne1.yahoo.com (EHLO [192.168.1.25]) ([10.218.253.211]) by smtp401.mail.ne1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID e2d762112b092e3d63ec01c620dff965 for ; Sun, 18 Feb 2018 21:00:20 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: head -r329447: delete-old does not clean up after switching from WITH_CLANG_IS_CC to WITHOUT_CLANG_IS_CC Message-Id: <48402E6E-5F28-4D3B-AB9E-8F4ABC67A908@yahoo.com> Date: Sun, 18 Feb 2018 13:00:19 -0800 To: FreeBSD Toolchain X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 21:00:23 -0000 [I historically experiment with system clang as the system compiler for powerpc64 and powerpc. Thus the context here is odd.] As part of getting ready to test base/binutils and base/gcc I changed how I build for powerpc64 to use WITHOUT_CLANG_IS_CC=3D . I expected that after installing (updating) to a a local directory tree that delete-old would remove the prior materials. But it reports nothing as deleted and looking finds the files still in place . . . # = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutil= s-amd64-host.sh check-old = DESTDIR=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils Script started, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:38:47 >>> Checking for old files >>> Checking for old libraries >>> Checking for old directories To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. Script done, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:38:47 # = ~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutil= s-amd64-host.sh delete-old = DESTDIR=3D/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils Script started, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:41:47 >>> Removing old files (only deletes safe to delete libs) >>> Old files removed >>> Removing old directories >>> Old directories removed To remove old libraries run 'make delete-old-libs'. Script done, output file is = /root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinut= ils-amd64-host-2018-02-18:12:41:47 # ls -lTdt = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/* | = tail -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/read -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/type -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/ulimit -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/umask -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/unalias= -r-xr-xr-x 15 root wheel 155 Feb 18 12:37:13 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/wait -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/c++ -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/cc -r-xr-xr-x 3 root wheel 73815680 Feb 18 08:42:47 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/cpp -r-xr-xr-x 1 root wheel 147 Feb 18 08:42:45 2018 = /usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils/usr/bin/CC The relevant files from the prior build stayed in place. Context: # uname -apKU FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r329447M amd64 = amd64 1200058 1200058 I had been running -r329465 but was having panics in fork activity, so there is a reversion to -r329447 between the old and new builds. (I'm testing if I see problems in -r329447 .) =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late)