Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2026 21:42:51 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        jlduran@freebsd.org
Cc:        dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Ed Maste <emaste@freebsd.org>
Subject:   Re: git: c4f08d46c7f7 - main - llvm-*: Move all LLVM_BINUTILS symlinks to toolchain package
Message-ID:  <994cef06-a1c9-45b8-b807-3449517fe381@yahoo.com>
In-Reply-To: <CAPwQLccbvf9nqtctheYh7Lz3H1p4nZ7YnL_sMQz=6t1dWMFVRA@mail.gmail.com>
References:  <69f5387a.26bf3.36f56fa3@gitrepo.freebsd.org> <CAPwQLccbvf9nqtctheYh7Lz3H1p4nZ7YnL_sMQz=6t1dWMFVRA@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On 5/1/26 17:38, Jose Luis Duran wrote:
> On Fri, May 1, 2026 at 8:34 PM Ed Maste <emaste@freebsd.org> wrote:
>>
>> The branch main has been updated by emaste:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=c4f08d46c7f717cc8c66bf702c006765a5b6b1a9
>>
>> commit c4f08d46c7f717cc8c66bf702c006765a5b6b1a9
>> Author:     Ed Maste <emaste@FreeBSD.org>
>> AuthorDate: 2026-03-06 14:46:18 +0000
>> Commit:     Ed Maste <emaste@FreeBSD.org>
>> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?994cef06-a1c9-45b8-b807-3449517fe381>