An odd "pkg info -d llvm20" result from pkg 2.1.0? : "gcc14-14.2.0_3 (libgcc_s.so.1)"; more; ldd -a does not agree
Date: Fri, 09 May 2025 22:25:16 UTC
# pkg info -d llvm20
llvm20-20.1.1:
python311-3.11.11
perl5-5.36.3_2
FreeBSD-clibs-15.snap20250505052519 (libc.so.7)
FreeBSD-clibs-15.snap20250505052519 (libcxxrt.so.1)
FreeBSD-clibs-15.snap20250505052519 (libdl.so.1)
libedit-3.1.20250104,1 (libedit.so.0)
FreeBSD-libexecinfo-15.snap20250505031148 (libexecinfo.so.1)
FreeBSD-clibs-15.snap20250505052519 (libformw.so.6)
gcc14-14.2.0_3 (libgcc_s.so.1)
FreeBSD-clibs-15.snap20250505052519 (libgcc_s.so.1)
FreeBSD-runtime-15.snap20250505162903 (libkvm.so.7)
lua53-5.3.6_1 (liblua-5.3.so)
FreeBSD-liblzma-15.snap20250505031148 (liblzma.so.5)
FreeBSD-clibs-15.snap20250505052519 (libm.so.5)
FreeBSD-clibs-15.snap20250505052519 (libncursesw.so.9)
FreeBSD-clibs-15.snap20250505052519 (libpanelw.so.6)
python311-3.11.11 (libpython3.11.so.1.0)
FreeBSD-clibs-15.snap20250505052519 (librt.so.1)
FreeBSD-clibs-15.snap20250505052519 (libthr.so.3)
FreeBSD-clibs-15.snap20250505052519 (libtinfow.so.9)
FreeBSD-runtime-15.snap20250505162903 (libz.so.6)
zstd-1.5.7 (libzstd.so.1)
# pkg info -r gcc14
gcc14-14.2.0_3:
bonnie++-1.98_1 (libgcc_s.so.1)
nmap-7.94_3 (libgcc_s.so.1)
smartmontools-7.4_2 (libgcc_s.so.1)
usbtop-1.0_7 (libgcc_s.so.1)
icu-76.1,1 (libgcc_s.so.1)
boost-libs-1.87.0_1 (libgcc_s.so.1)
source-highlight-3.1.9_12 (libgcc_s.so.1)
gdb-15.1_2 (libgcc_s.so.1)
ztop-0.3.0_1 (libgcc_s.so.1)
cmake-core-3.31.6 (libgcc_s.so.1)
jsoncpp-1.9.6_1 (libgcc_s.so.1)
libunwind-20240221_2 (libgcc_s.so.1)
mpdecimal-4.0.0 (libgcc_s.so.1)
gettext-runtime-0.23.1 (libgcc_s.so.1)
gmp-6.3.0 (libgcc_s.so.1)
gnutls-3.8.9 (libgcc_s.so.1)
python311-3.11.11 (libgcc_s.so.1)
py311-cryptography-42.0.8_7,1 (libgcc_s.so.1)
llvm20-20.1.1 (libgcc_s.so.1)
rust-1.85.1 (libgcc_s.so.1)
binutils-2.44,1 (libgcc_s.so.1)
FreeBSD-clibs-dev-15.snap20250505232657 (libgcc_s.so.1)
FreeBSD-devd-15.snap20250505031148 (libgcc_s.so.1)
FreeBSD-libexecinfo-15.snap20250505031148 (libgcc_s.so.1)
FreeBSD-libexecinfo-dev-15.snap20250427072831 (libgcc_s.so.1)
FreeBSD-libopencsd-15.snap20250427072831 (libgcc_s.so.1)
FreeBSD-libopencsd-dev-15.snap20250427072831 (libgcc_s.so.1)
FreeBSD-acct-15.snap20250505162903 (libgcc_s.so.1)
compat-libraries-20250505223026 (libgcc_s.so.1)
FreeBSD-clang-15.snap20250505210511 (libgcc_s.so.1)
FreeBSD-clang-dev-15.snap20250427072831 (libgcc_s.so.1)
FreeBSD-tests-15.snap20250505232657 (libgcc_s.so.1)
FreeBSD-tests-dev-15.snap20250504234620 (libgcc_s.so.1)
FreeBSD-utilities-15.snap20250505232657 (libgcc_s.so.1)
FreeBSD-utilities-dev-15.snap20250505210511 (libgcc_s.so.1)
FreeBSD-zfs-15.snap20250505162903 (libgcc_s.so.1)
e2fsprogs-core-1.47.2_1 (libgcc_s.so.1)
Using bonnie++ as a simple example showing that actually
used is /lib/libgcc_s.so.1 :
# ldd -a /usr/local/sbin/bonnie++
/usr/local/sbin/bonnie++:
libthr.so.3 => /lib/libthr.so.3 (0x439cd32b3000)
libc++.so.1 => /lib/libc++.so.1 (0x439cd8f80000)
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x439cd3efa000)
libm.so.5 => /lib/libm.so.5 (0x439ce4d50000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x439cd2845000)
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
/lib/libthr.so.3:
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
libsys.so.7 => /lib/libsys.so.7 (0x439ce8260000)
/lib/libc++.so.1:
libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x439cd3efa000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x439cd2845000)
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
/lib/libcxxrt.so.1:
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x439cd2845000)
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
/lib/libm.so.5:
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
/lib/libgcc_s.so.1:
libc.so.7 => /lib/libc.so.7 (0x439cd6000000)
/lib/libc.so.7:
libsys.so.7 => /lib/libsys.so.7 (0x439ce8260000)
===
Mark Millard
marklmi at yahoo.com