Date: Sun, 18 Feb 2018 13:00:19 -0800 From: Mark Millard <marklmi26-fbsd@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org> 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>
next in thread | raw e-mail | index | archive | help
[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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48402E6E-5F28-4D3B-AB9E-8F4ABC67A908>