Date: Thu, 29 Jan 2026 00:07:17 +0000 From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 48c3a932166f - stable/15 - OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries Message-ID: <697aa4b5.dc7b.6b1a6582@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=48c3a932166faef2d7b46d04fd9eefa0eb98d567 commit 48c3a932166faef2d7b46d04fd9eefa0eb98d567 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2026-01-20 17:07:21 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2026-01-29 00:06:58 +0000 OptionalObsoleteFiles.inc: Treat compat runtime loaders as libraries Binaries require the runtime loader to use shared libraries, and removing the runtime loader in `make delete-old` while leaving the libraries around makes it impossible to use those shared libraries. Treat rtld as a de facto dependency of shared libraries to ensure it is not removed until the corresponding shared libraries are removed. Differential Revision: https://reviews.freebsd.org/D52210 (cherry picked from commit 8e1c85f03260ff9d214fcd99c7ad1a848e3ac23b) --- tools/build/mk/OptionalObsoleteFiles.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 4e602c929568..0ceb480d6e04 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -3838,7 +3838,7 @@ OLD_DIRS+=usr/share/moused .for LIBCOMPAT libcompat in ${_ALL_LIBCOMPATS_libcompats} . if ${MK_LIB${LIBCOMPAT}} == no OLD_FILES+=etc/mtree/BSD.lib${libcompat}.dist -OLD_FILES+=libexec/ld-elf${libcompat}.so.1 +OLD_LIBS+=libexec/ld-elf${libcompat}.so.1 . if exists(${DESTDIR}/usr/lib${libcompat}) LIB${LIBCOMPAT}_DIRS!=find ${DESTDIR}/usr/lib${libcompat} -type d \ | sed -e 's,^${DESTDIR}/,,'; echohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?697aa4b5.dc7b.6b1a6582>
