LLVM/project 243ddf6libc/src/__support freelist_heap.h block.h, libc/test/src/__support freelist_heap_test.cpp block_test.cpp

[libc] add shrink in-place support for reallocations (#200272)

This PR adds shrinking in-place for the freelist heap. This allows the
heap to reuse the place if the reallocation shrinks the size larger than
a minimal block unit.

Synthesized random action tests show that that increase heap utilization
rate from 87% to 97% percent, basically aligns with the expectation of
dlmalloc.

Assisted-by: AI tools, manually checked.
DeltaFile
+46-1libc/test/src/__support/freelist_heap_test.cpp
+37-3libc/src/__support/freelist_heap.h
+8-2libc/test/src/__support/block_test.cpp
+5-4libc/src/__support/block.h
+2-0libc/src/__support/freestore.h
+1-0libc/test/src/__support/CMakeLists.txt
+99-106 files

NetBSD/pkgsrc pz29JkRfilesystems/py-fuse-bindings Makefile

   filesystems/py-fuse-bindings: Clean up fuse bl3

   There was longstanding commented-out confusion about whether this
   depended on some fuse implementation or the specific standard but
   non-portable approach.  Decide that mk/fuse.buildlink3.mk is the right
   answer and just do that, without any commented-out alternatives.
VersionDeltaFile
1.28+1-6filesystems/py-fuse-bindings/Makefile
+1-61 files

NetBSD/pkgsrc Gh4Ycwrdoc CHANGES-2026

   doc: Updated filesystems/py-fuse-bindings to 1.0.9
VersionDeltaFile
1.3469+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc ZfFL6xcfilesystems/py-fuse-bindings Makefile distinfo, filesystems/py-fuse-bindings/patches patch-fuseparts___fusemodule.c

   filesystems/py-fuse-bindings: Update to 1.0.9

   Upstream's new tests fail, and I don't think that's a pkgsrc bug, but
   a test bug.

   Works with bup!

   Upstream NEWS:
     bug fixes and minor improvements
VersionDeltaFile
1.5+2-15filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c
1.27+4-10filesystems/py-fuse-bindings/Makefile
1.9+5-5filesystems/py-fuse-bindings/distinfo
1.11+1-2filesystems/py-fuse-bindings/PLIST
+12-324 files

LLVM/project 678891bclang/lib/CIR/CodeGen CIRGenExprConstant.cpp CIRGenModule.h, clang/test/CIR/CodeGen compound_literal.c

[CIR] Implement lowering for const-emitted global compound literals (#201152)

This came up in a test suite as a NYI, it is just emitting a
constant-backing literal for an initializer. These are specific to C, as
global compound literals have static storage duration in C. This patch,
just like classic codgen, just creates a '.compoundliteral' object as
backing for these variables, and lets us create references to them.

---------

Co-authored-by: Andy Kaylor <akaylor at nvidia.com>
DeltaFile
+67-0clang/test/CIR/CodeGen/compound_literal.c
+46-2clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+12-0clang/lib/CIR/CodeGen/CIRGenModule.h
+5-1clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
+130-34 files

NetBSD/pkgsrc-wip 9ab705e. Makefile, py-llama-cpp-scripts PLIST Makefile

py-llama-cpp-scripts: Add py-llama-cpp-scripts-0.0.0.9405

Scripts that ship with llama.cpp
DeltaFile
+263-0py-llama-cpp-scripts/PLIST
+41-0py-llama-cpp-scripts/Makefile
+15-0py-llama-cpp-scripts/DESCR
+5-0py-llama-cpp-scripts/distinfo
+4-0py-llama-cpp-scripts/ALTERNATIVES
+1-0Makefile
+329-01 files not shown
+330-07 files

NetBSD/pkgsrc-wip a709a9allama.cpp PLIST Makefile, llama.cpp/patches patch-vendor_minja_minja.hpp patch-common_common.cpp

llama.cpp: Update to b9405

Lots of changes.
DeltaFile
+35-4llama.cpp/PLIST
+0-22llama.cpp/patches/patch-vendor_minja_minja.hpp
+4-13llama.cpp/Makefile
+0-13llama.cpp/TODO
+2-11llama.cpp/patches/patch-common_common.cpp
+10-0llama.cpp/Makefile.common
+51-631 files not shown
+55-687 files

NetBSD/pkgsrc-wip f2c6540llama.cpp Makefile.common, py-gguf Makefile distinfo

py-gguf: Update to b9405

Lots of changes.
DeltaFile
+5-7py-gguf/Makefile
+3-3py-gguf/distinfo
+1-0llama.cpp/Makefile.common
+9-103 files

LLVM/project 3eb13f8lldb/source/API SystemInitializerFull.cpp, lldb/source/Plugins/ScriptInterpreter/Python CMakeLists.txt

[lldb] Stop hard-linking libpython into the dynamic Python plugin (#200530)

Drops ${Python3_LIBRARIES} from the SHARED build of
lldbPluginScriptInterpreterPython and lets undefined Python symbols
through at link time (`-undefined dynamic_lookup` on Darwin,
`--allow-shlib-undefined` on Linux; Windows keeps its existing
delay-load + import lib).

SystemInitializerFull::Initialize resolves the Python runtime loader
via ScriptInterpreterRuntimeLoader::Get(eScriptLanguagePython) and
calls Load() before initializing any plugin, so libpython is mapped
into the process before either entry point that references it: the
static script interpreter's Initialize() (which invokes Python via
the LLDB_PLUGIN_INITIALIZE loop) and the dynamic plugin's dlopen
(whose undefined references resolve against the in-process
libpython). This covers both LLDB_ENABLE_DYNAMIC_SCRIPTINTERPRETERS
=ON and =OFF, and keeps Windows working in static builds where the
delay-load thunks live in liblldb itself. The loader is
once_flag-cached, and errors propagate out via the existing Expected

    [14 lines not shown]
DeltaFile
+20-0lldb/source/API/SystemInitializerFull.cpp
+15-2lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
+11-0lldb/test/CMakeLists.txt
+46-23 files

NetBSD/pkgsrc vHCUKjXfilesystems/py-fuse-bindings PLIST Makefile, filesystems/py-fuse-bindings/patches patch-fuseparts___fusemodule.c

   filesystems/py-fuse-bindings: Adapt to python function deprecations

   convert to wheel.mk

   Now, importing fuse in python 3.13 succeeds, instead of failing with a
   missing symbol, as one would expect from the undefined name warning
   during the build.
VersionDeltaFile
1.4+15-2filesystems/py-fuse-bindings/patches/patch-fuseparts___fusemodule.c
1.10+6-4filesystems/py-fuse-bindings/PLIST
1.26+6-3filesystems/py-fuse-bindings/Makefile
1.8+2-2filesystems/py-fuse-bindings/distinfo
+29-114 files

OpenZFS/src e199f6dmodule/zfs vdev.c

Fix uninitialized variable warning in vdev_prop_get()

Update vdev_prop_get_objid() to set objid on error as the comment
in vdev_prop_get() describes.

    "objid is set to 0 when absent and the few cases that call
    zap_lookup directly guard against this below."

This resolves the following possible uninitialized variable warning.

    module/zfs/vdev.c: In function ‘vdev_prop_get’:
    module/zfs/vdev.c:6913:12: error: ‘objid’ may be used uninitialized
    in this function [-Werror=maybe-uninitialized]

Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18616
DeltaFile
+2-1module/zfs/vdev.c
+2-11 files

OpenZFS/src 0aa4088lib/libzfs libzfs_changelist.c libzfs_share.c

sharenfs: Check for invalid characters

Check for invalid characters in sharenfs/sharesmb dataset props.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tony Hutter <hutter2 at llnl.gov>
Closes #18613
DeltaFile
+12-3lib/libzfs/libzfs_changelist.c
+8-0lib/libzfs/libzfs_share.c
+20-32 files

LLVM/project 142ad48lldb/include/lldb/Host ScriptInterpreterRuntimeLoader.h, lldb/source/Host CMakeLists.txt

[lldb] Add PythonRuntimeLoader for runtime libpython lookup (NFC) (#200524)

Generalizes the Windows-only Python lookup in PythonPathSetup into a
cross-platform abstraction. Adds an abstract ScriptInterpreterRuntimeLoader
with a per-language factory. The Python implementation dynamically loads Python
library into the current process.

The loader no-ops when Python is already in the process, then walks
LLDB_PYTHON_LIBRARY env override, the build-time Python
(LLDB_PYTHON_RUNTIME_LIBRARY_BUILD_PATH) and finally a platform candidate list:

- Darwin: DEVELOPER_DIR, the bundled Xcode.app, and Command Line Tools joined
  against Python3.framework. Then python.org, /opt/homebrew, and /usr/local
  joined against Python.framework. Then xcrun -f python3 and if that fails,
  libpython3.dylib as a last resort.
- Linux: libpython3.so plus descending stable-ABI SONAMEs.
- Windows: the LLDB_PYTHON_RUNTIME_LIBRARY_FILENAME bare name (resolved via the
  loader's default search list) and the exe-relative
  LLDB_PYTHON_DLL_RELATIVE_PATH fallback (built off GetModuleFileNameW).

    [5 lines not shown]
DeltaFile
+162-0lldb/source/Host/common/PythonRuntimeLoader.cpp
+130-0lldb/source/Host/macosx/PythonRuntimeLoaderDarwin.cpp
+88-0lldb/source/Host/windows/PythonRuntimeLoaderWindows.cpp
+50-0lldb/include/lldb/Host/ScriptInterpreterRuntimeLoader.h
+41-0lldb/source/Host/CMakeLists.txt
+37-0lldb/unittests/Host/PythonRuntimeLoaderTest.cpp
+508-08 files not shown
+637-414 files

OpenBSD/ports brsLXdDgames/fna Makefile.inc, games/fna/faudio distinfo

   Update to FNA 26.06
VersionDeltaFile
1.9+2-2games/fna/fna3d/distinfo
1.9+2-2games/fna/fna/distinfo
1.9+2-2games/fna/faudio/distinfo
1.9+1-1games/fna/Makefile.inc
+7-74 files

LLVM/project d598997clang/test/OffloadTools/clang-linker-wrapper linker-wrapper-image.c, clang/tools/clang-linker-wrapper ClangLinkerWrapper.cpp

[clang-linker-wrapper] Drop SYCL dry-run stub-image special case (#201222)

Remove the `DryRun` branch in `bundleSYCL` that emitted a stub
`OffloadBinary`. SYCL goes through the same empty-buffer path as other
offload kinds, so the special case is no longer needed.

Update `linker-wrapper-image.c` to expect the resulting `[0 x i8]
zeroinitializer` constant and a size of `0` in the register/unregister
calls.

Assisted by Claude.
DeltaFile
+0-13clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
+3-3clang/test/OffloadTools/clang-linker-wrapper/linker-wrapper-image.c
+3-162 files

LLVM/project 26e44e6clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/test/CIR/CodeGen inline-forward-decl.c func-linkage-weak-import.c

[CIR] Set ExternalWeakLinkage on weak/weak_import function declarations (#198422)

Classic CodeGen's `SetFunctionAttributes` calls `setLinkageForGV` to force `ExternalWeakLinkage` on `__attribute__((weak))` and Darwin `weak_import` declarations.  CIR had no equivalent: weak function declarations were emitted with `ExternalLinkage` instead of `ExternalWeakLinkage`.

This adds `setLinkageForFunction` — the same weak/external-weak logic as `setLinkageForGV` — and calls it from `setFunctionAttributes`.  The underlying crash on inline forward declarations (the original motivation) is already fixed by #195257; what remains is this linkage gap.

`inline-forward-decl.c` covers `__attribute__((weak))` on an inline forward declaration; `func-linkage-weak-import.c` covers Darwin `weak_import` (→ `extern_weak` in CIR and LLVM).
DeltaFile
+25-0clang/test/CIR/CodeGen/inline-forward-decl.c
+20-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+19-0clang/test/CIR/CodeGen/func-linkage-weak-import.c
+64-03 files

LLVM/project ce46559llvm/lib/Target/NVPTX NVPTXLowerAggrCopies.cpp, llvm/test/CodeGen/NVPTX lower-aggr-copies.ll

[NVPTX] Fix aggregate load/store lowering for (potentially) overlapping copies (#201177)

NVPTXLowerAggrCopies lowers load/store pairs of large values into a loop
of smaller copies.

However, it was incorrectly assuming that the load/store pairs it found
never alias.

This patch adds an alias check.  If the pointers may alias, we emit a
memmov, which handles overlap correctly.

CUDA reproducer:

    typedef char vec __attribute__((vector_size(256)));

    __global__ void boom(char *p) {
      *(vec *)(p + 8) = *(vec *)p;
    }
DeltaFile
+118-1llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll
+50-11llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
+168-122 files

FreeBSD/ports ad94b3amultimedia/webcamd Makefile distinfo, multimedia/webcamd/files webcamd.in

multimedia/webcamd: Update to last commit, set maintainer

Commit log:
https://github.com/hselasky/webcamd/compare/v5.17.1.2...5e085e4

- Allow starting with -c for loopback virtual camera.
- Update to last commit (2 small commits).
- Fix warnings from portclippy.
- Parametrize webcamd with ${PORTNAME}.
- Split long lines.

PR:             295677
Sponsored by:   UNIS Labs
Co-authored-by: Nicolas Goy <me at kuon.ch>
DeltaFile
+39-49multimedia/webcamd/Makefile
+5-1multimedia/webcamd/distinfo
+1-1multimedia/webcamd/files/webcamd.in
+45-513 files

NetBSD/pkgsrc CuWGxPtwww/chromium distinfo, www/chromium/patches patch-third__party_perfetto_src_tracing_platform__posix.cc

   chromium: fix patch
VersionDeltaFile
1.44+2-2www/chromium/distinfo
1.21+2-2www/chromium/patches/patch-third__party_perfetto_src_tracing_platform__posix.cc
+4-42 files

NetBSD/pkgsrc-wip 7deaf4bchromium distinfo, chromium/patches patch-third__party_perfetto_src_tracing_platform__posix.cc

chromium: fix patch
DeltaFile
+1-1chromium/patches/patch-third__party_perfetto_src_tracing_platform__posix.cc
+1-1chromium/distinfo
+2-22 files

LLVM/project 2a936celldb/tools/debugserver/source DNB.cpp

[lldb][debugserver] Arguments to kill(2) are reversed (#201226)

This codepath is only executed as an attempt to clean up during a failed
launch, so the reversed arguments were rarely actually used.

rdar://175507620
DeltaFile
+1-1lldb/tools/debugserver/source/DNB.cpp
+1-11 files

LLVM/project 04d9e86llvm/lib/Transforms/Vectorize VPlanTransforms.cpp

[VPlan] Don't expand SCEVs without uses to VPInstructions (NFC). (#201221)

If a VPExpandSCEVRecipe does not have users, there's no benefit to
expand it to VPInstructions, which then have to get cleaned up.

This also prevents DCE from removing VPInstructions pointed to by
TripCount after expansion.
DeltaFile
+1-1llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+1-11 files

LLVM/project 72a05d5lldb/test/API/python_api/run_locker TestRunLocker.py

[lldb] Have TestRunLocker run both styles of launch (#200978)

While debugging flakey behavior with TestRunLocker, I noticed that is
intended to run its test once with a stop at the entry function (and
then Continues) and once where we launch to the main() loop. But we were
never exercising the stop-at-entry codepath.

This doesn't fix the flakey behavior, although that only happens with
the launch-directly-into-main() codepath; I don't get failures when I
stop at the entry point and then continue.
DeltaFile
+25-9lldb/test/API/python_api/run_locker/TestRunLocker.py
+25-91 files

NetBSD/pkgsrc YZquPWstime/R-nanotime Makefile distinfo, time/R-nanotime/patches patch-src_Makevars

   (time/R-nanotime) Fix build against R 4.6.0
VersionDeltaFile
1.1+17-0time/R-nanotime/patches/patch-src_Makevars
1.4+2-1time/R-nanotime/Makefile
1.4+2-1time/R-nanotime/distinfo
+21-23 files

FreeBSD/ports 0c22919science Makefile, science/moltui Makefile distinfo

science/moltui: New port: Terminal-based 3D molecular viewer
DeltaFile
+33-0science/moltui/Makefile
+3-0science/moltui/distinfo
+3-0science/moltui/pkg-descr
+1-0science/Makefile
+40-04 files

FreeBSD/ports dcd9f3bsecurity/trufflehog distinfo Makefile

security/trufflehog: update 3.95.4 → 3.95.5
DeltaFile
+5-5security/trufflehog/distinfo
+1-1security/trufflehog/Makefile
+6-62 files

FreeBSD/ports ef90cbfscience Makefile, science/py-plumed Makefile pkg-descr

science/py-plumed: New port: Python interface to PLUMED
DeltaFile
+25-0science/py-plumed/Makefile
+5-0science/py-plumed/pkg-descr
+3-0science/py-plumed/distinfo
+1-0science/Makefile
+34-04 files

FreeBSD/ports f157f33multimedia/py-torchcodec Makefile distinfo, multimedia/py-torchcodec/files patch-pyproject.toml

multimedia/py-torchcodec: update 0.12.0 → 0.13.0
DeltaFile
+13-0multimedia/py-torchcodec/files/patch-pyproject.toml
+6-5multimedia/py-torchcodec/Makefile
+3-3multimedia/py-torchcodec/distinfo
+22-83 files

FreeBSD/ports 11886fbbiology/py-pyfaidx Makefile distinfo

biology/py-pyfaidx: update 0.5.9.5 → 0.9.0.4
DeltaFile
+8-4biology/py-pyfaidx/Makefile
+3-3biology/py-pyfaidx/distinfo
+11-72 files

FreeBSD/ports e9132acscience/plumed pkg-plist Makefile

science/plumed: update 2.9.3 → 2.10.0
DeltaFile
+186-152science/plumed/pkg-plist
+9-6science/plumed/Makefile
+3-3science/plumed/distinfo
+198-1613 files