It is over a year old: $ ls -lh /usr/lib/libLLVM.so.* -r--r--r-- 1 root bin 47.3M Jul 28 2020 /usr/lib/libLLVM.so.2.0 -r--r--r-- 1 root bin 56.3M Aug 6 2020 /usr/lib/libLLVM.so.3.0 -r--r--r-- 1 root bin 56.4M Mar 9 19:17 /usr/lib/libLLVM.so.4.0
Do these removals follow any rule? I cannot tell from install.sub's CVS history, hence my judgement about library age. AFAICT from gnu/usr.bin/clang/libLLVM/shlib_version CVS history, 2.0 is from LLVM 8.0.0 after the `-msvr4-struct-return' ABI change. Feedback? Objections? OK? Index: install.sub =================================================================== RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.1162 diff -u -p -U6 -r1.1162 install.sub --- install.sub 12 Mar 2021 11:32:03 -0000 1.1162 +++ install.sub 18 Mar 2021 20:40:38 -0000 @@ -1674,13 +1674,13 @@ install_files() { # We are committed to installing new files. Attempt to cope with # potential space shortage in /usr by deleting a few versioned # areas which will be replaced from the new sets if [[ $MODE == upgrade ]]; then if isin base$VERSION.tgz $_get_sets; then rm -f /mnt/usr/share/relink/usr/lib/* - rm -rf /mnt/usr/lib/libLLVM.so.[01].0 + rm -rf /mnt/usr/lib/libLLVM.so.[012].0 rm -rf /mnt/usr/libdata/perl5 fi if isin comp$VERSION.tgz $_get_sets; then rm -rf /mnt/usr/lib/{gcc-lib,clang} rm -rf /mnt/usr/include/g++ fi