Hello, Any clues if those symlinks are related?
``` # ./tools/build/stale-symlink-buildworld.sh stale symlink detected: lrwxr-xr-x 1 root wheel 12 May 4 07:53 /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/c++filt -> llvm-cxxfilt stale symlink detected: lrwxr-xr-x 1 root wheel 8 May 4 07:53 /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/gcov -> llvm-cov stale symlink detected: lrwxr-xr-x 1 root wheel 12 May 4 07:53 /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/objdump -> llvm-objdump stale symlink detected: lrwxr-xr-x 1 root wheel 12 May 4 07:53 /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/readelf -> llvm-readelf ``` Thanks Mark Millard <[email protected]> escreveu (sábado, 2/05/2026 à(s) 05:45): > On 5/1/26 17:38, Jose Luis Duran wrote: > > On Fri, May 1, 2026 at 8:34 PM Ed Maste <[email protected]> wrote: > >> > >> The branch main has been updated by emaste: > >> > >> URL: > https://cgit.FreeBSD.org/src/commit/?id=c4f08d46c7f717cc8c66bf702c006765a5b6b1a9 > >> > >> commit c4f08d46c7f717cc8c66bf702c006765a5b6b1a9 > >> Author: Ed Maste <[email protected]> > >> AuthorDate: 2026-03-06 14:46:18 +0000 > >> Commit: Ed Maste <[email protected]> > >> CommitDate: 2026-05-01 23:33:51 +0000 > >> > >> llvm-*: Move all LLVM_BINUTILS symlinks to toolchain package > >> > >> Some of the LLVM binary utilities were included in the Clang package > >> (because they did not set an explicit PACKAGE). > >> > >> Add a new Makefile under clang/toolchain to create the symlinks and > man > >> links for ar, c++filt, nm, and so on (without the llvm-* prefix) > when > >> LLVM_BINUTILS is enabled (as it is by default). > >> > >> PR: 293610 > >> Reviewed by: bapt, ivy, brooks > >> Sponsored by: The FreeBSD Foundation > >> Differential Revision: https://reviews.freebsd.org/D55692 > >> --- > >> ... > >> +.if ${MK_LLVM_BINUTILS} != "no" > >> +PKG_DEPS.toolchain+= llvm > > > > Is there an llvm package (FreeBSD-llvm)? > > > > For reference, for main [so: 16 at this point]: > (context predates the above change) > > > # pkg search -rFreeBSD-base -g FreeBSD-llvm\* > # > > # pkg search -rFreeBSD-base -g FreeBSD-binutils\* > # > > So: no for FreeBSD-llvm . > > > But for things that do exist that internally are based on some of llvm: > (the context has all the FreeBSD-* base packages installed) > > # pkg info -dl FreeBSD-\* \ > | grep -v -e /contrib/ -e /src/ -e /man1/ \ > | grep -e ^FreeBSD- \ > -e llvm- \ > -e libprivateclang \ > -e libprivatellvm \ > -e libcompiler_rt \ > | grep -B1 -v ^FreeB > FreeBSD-clang-16.snap20260430194422 > FreeBSD-libcompiler_rt-dev-16.snap20260425150102 > /usr/bin/llvm-addr2line > /usr/bin/llvm-cov > /usr/bin/llvm-cxxfilt > /usr/bin/llvm-objcopy > /usr/bin/llvm-objdump > /usr/bin/llvm-profdata > /usr/bin/llvm-readelf > /usr/bin/llvm-readobj > /usr/bin/llvm-strings > /usr/bin/llvm-strip > /usr/bin/llvm-symbolizer > /usr/lib/libprivateclang.so.21 > /usr/lib/libprivatellvm.so.21 > FreeBSD-clang-dbg-16.snap20260430194422 > /usr/lib/debug/usr/bin/llvm-cov.debug > /usr/lib/debug/usr/bin/llvm-cxxfilt.debug > /usr/lib/debug/usr/bin/llvm-objcopy.debug > /usr/lib/debug/usr/bin/llvm-objdump.debug > /usr/lib/debug/usr/bin/llvm-profdata.debug > /usr/lib/debug/usr/bin/llvm-readobj.debug > /usr/lib/debug/usr/bin/llvm-strings.debug > /usr/lib/debug/usr/bin/llvm-symbolizer.debug > /usr/lib/debug/usr/lib/libprivateclang.so.21.debug > /usr/lib/debug/usr/lib/libprivatellvm.so.21.debug > FreeBSD-clang-dev-16.snap20260428205205 > FreeBSD-clang-16.snap20260430194422 (libprivatellvm.so.21) > /usr/lib/libprivateclang.so > /usr/lib/libprivatellvm.so > -- > FreeBSD-libcompiler_rt-dev-16.snap20260425150102 > /usr/lib/libcompiler_rt.a > FreeBSD-libcompiler_rt-dev-lib32-16.snap20260425150102 > /usr/lib32/libcompiler_rt.a > -- > FreeBSD-lld-16.snap20260430194422 > FreeBSD-clang-16.snap20260430194422 (libprivatellvm.so.21) > -- > FreeBSD-lldb-16.snap20260430194422 > FreeBSD-clang-16.snap20260430194422 (libprivateclang.so.21) > FreeBSD-clang-16.snap20260430194422 (libprivatellvm.so.21) > -- > FreeBSD-set-devel-16.snap20260424143247 > FreeBSD-libcompiler_rt-dev-16.snap20260425150102 > -- > FreeBSD-set-lib32-16.snap20260424143247 > FreeBSD-libcompiler_rt-dev-lib32-16.snap20260425150102 > -- > FreeBSD-toolchain-16.snap20260430194422 > FreeBSD-clang-16.snap20260430194422 (libprivatellvm.so.21) > /usr/bin/llvm-ar > /usr/bin/llvm-nm > /usr/bin/llvm-ranlib > /usr/bin/llvm-size > FreeBSD-toolchain-dbg-16.snap20260430194422 > /usr/lib/debug/usr/bin/llvm-ar.debug > /usr/lib/debug/usr/bin/llvm-nm.debug > /usr/lib/debug/usr/bin/llvm-size.debug > > > That should at least give an idea, even if it might be incomplete. > > > -- > === > Mark Millard > marklmi at yahoo.com > > -- Nuno Teixeira FreeBSD UNIX: <[email protected]> Web: https://FreeBSD.org
