[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= .
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_altbinutils-amd64-host.sh
 check-old DESTDIR=/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils
Script started, output file is 
/root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinutils-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_altbinutils-amd64-host-2018-02-18:12:38:47

# 
~/sys_build_scripts.amd64-host/make_powerpc64vtsc_nodebug_clang_altbinutils-amd64-host.sh
 delete-old DESTDIR=/usr/obj/DESTDIRs/clang-powerpc64-installworld_altbinutils
Script started, output file is 
/root/sys_typescripts/typescript_make_powerpc64vtsc_nodebug_clang_altbinutils-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_altbinutils-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 .)

===
Mark Millard
marklmi at yahoo.com
( markmi at dsl-only.net is
going away in 2018-Feb, late)

_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to