LLVM/project a5db372 — lld/test/ELF eh-frame-rel.s eh-frame.s, lld/test/ELF/Inputs eh-frame.s

[ELF,test] Enhance eh-frame-merge.s to test CIE/FDE grouping order (#235525)

Fold eh-frame.s, eh-frame-multiple-cie.s, and eh-frame-rel.s into it.
DeltaFile
+121-7lld/test/ELF/eh-frame-merge.s
+0-50lld/test/ELF/eh-frame-multiple-cie.s
+0-12lld/test/ELF/eh-frame.s
+0-7lld/test/ELF/eh-frame-rel.s
+0-3lld/test/ELF/Inputs/eh-frame.s
+121-795 files

FreeBSD/ports 0014fd7 — misc/py-mmcv Makefile, misc/py-mmcv/files patch-mmcv_utils_ext__loader.py patch-setup.py

misc/py-mmcv: Fix build on Python 3.13 and the runtime dependencies

PR:     299961

setup.py exec()s mmcv/version.py and then reads __version__ back
from locals(), which no longer works on 3.13 (PEP 667): exec into an
explicit namespace instead.

The package also could not be installed or imported on its own: the
extension links against libc10.so from py-pytorch (only a build
dependency so far), and mmcv.image imports cv2 at the top level.  Add
both py-pytorch and py-opencv-python-headless to RUN_DEPENDS.

While here, follow the Python Ports Policy, add concurrent to
USE_PYTHON, fix portlint warnings and document the patches.
DeltaFile
+24-5misc/py-mmcv/files/patch-setup.py
+21-0misc/py-mmcv/files/patch-mmcv_utils_ext__loader.py
+10-8misc/py-mmcv/Makefile
+55-133 files

LLVM/project 8e09a8e — llvm/include/llvm/ADT DenseMap.h

[ADT] Visit used buckets a word at a time in DenseMap::remove_if (NFC) (#235350)

Use forEachUsed in remove_if. This reduces compile-time a bit, due it
reading used bits in 32 bit chunks, skipping unused buckets.

stage1-O3: +0.10%
stage1-ReleaseThinLTO: +0.06%
stage1-ReleaseLTO-g: +0.08%
stage1-aarch64-O3: +0.10%
stage2-O3: +0.07%
stage2-clang: -0.04%


https://llvm-compile-time-tracker.com/compare.php?from=ebf8c8be5da855de878865b62ca129f543c7528b&to=32d6f33c39f4ceb9f763feb766b52129254b2cc3&stat=instructions:u

Aided by Opus 5.5

PR: https://github.com/llvm/llvm-project/pull/235350
DeltaFile
+2-4llvm/include/llvm/ADT/DenseMap.h
+2-41 files

NetBSD/pkgsrc-wip 31e075b — clang PLIST

wip/clang: restore PLIST proper
DeltaFile
+13-14clang/PLIST
+13-141 files

LLVM/project 5f7a1e3 — llvm/test/LTO/X86 library-options.ll, llvm/tools/llvm-lto llvm-lto.cpp

[llvm-lto] Initialize targets before parseCommandLineOptions (#235523)

Target library options are registered when targets are initialized, so
llvm-lto rejects them as unknown arguments.

Reorder parseCommandLineOptions similar to llvm-lto2.
DeltaFile
+7-6llvm/tools/llvm-lto/llvm-lto.cpp
+5-0llvm/test/LTO/X86/library-options.ll
+12-62 files

LLVM/project 08680c8 — llvm/lib/Target/ARM ARMTargetMachine.cpp

[ARM] Register the Thumb2ITBlockPass. NFC (#235521)

This was missing from the list of initialized passes, add it so that
print-after and pass options work.
DeltaFile
+1-0llvm/lib/Target/ARM/ARMTargetMachine.cpp
+1-01 files

NetBSD/pkgsrc-wip 5edb062 — chawan PLIST Makefile

www/chawan: update to 0.5.1

This commit updates the chawan package to version 0.5.1, which fixes the
following issues:

* remove non-functional btoa symlink
* fix broken subnet classification procedure
* fix all history entries being truncated in some cases
* fix crash on invoking functions on detached SelectBuilder
* fix chahash on big-endian platforms
* fix calls to invalidated SelectBuilder crashing the browser
* fix select being incorrectly positioned at the screen's edge
* fix crashed buffers crashing the pager too in some cases
* report invalid match/nc-match regexes in mailcap

For further information, please consult the projects news page:
https://chawan.net/news/chawan-0-5-1.html
DeltaFile
+3-3chawan/distinfo
+1-1chawan/Makefile
+0-1chawan/PLIST
+4-53 files

OpenZFS/src b7ccc77 — lib/libnvpair libnvpair.abi, lib/libzfs libzfs.abi

abi: update for libspl kthread changes

Sponsored-by: TrueNAS
Reviewed-by: Kamil Monicz <kamil at monicz.dev>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes 19508
DeltaFile
+88-10lib/libnvpair/libnvpair.abi
+82-9lib/libzfs_core/libzfs_core.abi
+40-8lib/libzfs/libzfs.abi
+210-273 files

OpenZFS/src c3a9342 — lib/libspl rwlock.c mutex.c, lib/libspl/include/sys rwlock.h mutex.h

libspl: updated "owned" primitives to track curthread

kmutex_t and krwlock_t both have an owner field, tracking the owner.
These can now use a kthread_t* and the curthread pointer like everything
else.

Sponsored-by: TrueNAS
Reviewed-by: Kamil Monicz <kamil at monicz.dev>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes 19508
DeltaFile
+6-6lib/libspl/condvar.c
+5-5lib/libspl/mutex.c
+4-4lib/libspl/rwlock.c
+3-2lib/libspl/include/sys/rwlock.h
+3-2lib/libspl/include/sys/mutex.h
+21-195 files

OpenZFS/src 2473094 — lib/libspl thread.c, lib/libspl/include/sys thread.h

libspl/thread: rewrite for kthread semantics and to hide pthread

The libspl kthread implementation was previously a simple wrapper around
POSIX threads. This was subtly wrong in a handful of ways, mostly in
that a pthread does not have exactly the same lifetime as a kthread, and
pthread_t neither represents exactly the same thing as kthread_t*, nor
is it guaranteed to be the same size and shape.

This commit properly implements the kthread semantics and API on top of
pthreads, while largely hiding the pthread use inside as an
implementation detail.

Sponsored-by: TrueNAS
Reviewed-by: Kamil Monicz <kamil at monicz.dev>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes 19508
DeltaFile
+315-55lib/libspl/thread.c
+13-7lib/libspl/include/sys/thread.h
+328-622 files

OpenZFS/src 68e109b — module/zfs spa.c

spa: extend HAVE_SPA_THREAD gate to all uses of spa_did

thread_join(spa->spa_did) was always compiled in, which was ok while
thread_join() is either a no-op or takes a type trivially convertible to
a uintptr_t. Next commit will change the latter for userspace, breaking
the build.

Since this is all part of the currently-unused "SPA thread" mechanism,
it should go behind the same compilation gate.

Sponsored-by: TrueNAS
Reviewed-by: Kamil Monicz <kamil at monicz.dev>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Closes 19508
DeltaFile
+4-0module/zfs/spa.c
+4-01 files

LLVM/project 79ab176 — llvm/test/Transforms/LoopInterchange loop-control-available-in-outer-preheader.ll

[LoopInterchange] Add tests for loop control values in the outer preheader (NFC)

Add test cases where it matters whether the loop control values (the
initial and final values of the IVs) are available in the outer loop
preheader. These are corner cases where the work in #235496 changes
what loop-interchange can handle.

Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+126-0llvm/test/Transforms/LoopInterchange/loop-control-available-in-outer-preheader.ll
+126-01 files

NetBSD/pkgsrc-wip 0b9ed24 — chawan Makefile

www/chawan:

Fix build for platforms that do not use clang, like Linux. This was tested on
GnomeOS.
DeltaFile
+4-0chawan/Makefile
+4-01 files

LLVM/project f0b840b — llvm/test/Transforms/GVN ptr-vector-coercion.ll

[GVN] Add negative test for pointer size mismatch
DeltaFile
+18-0llvm/test/Transforms/GVN/ptr-vector-coercion.ll
+18-01 files

OpenZFS/src c8534b9 — include/sys vdev_raidz.h, module/zfs vdev_raidz.c

raidz: don't lose the expansion wakeup when a resilver ends early

When a pass of a RAID-Z expansion fails, because a child cannot be
read or its DTL_MISSING is not empty, spa_raidz_expand_thread() waits
for the txgs of that pass to sync, and only then sets
vre_waiting_for_resilver.  raidz_dtl_reassessed() resumes the
expansion only if that flag is already set.  A DTL reassessment that
lands in between is lost, and the expansion stays paused with every
child healthy, until something else reassesses the DTLs.

This is what happens after "zpool online" of a child that was offline
during an expansion.  The online wakes the thread, the next pass fails
again because the child's DTL_MISSING is not empty yet, and the
resilver of a short outage ends, and reassesses the DTLs, while the
thread is still in txg_wait_synced().

Count the reassessments in vre_dtl_gen, and do not set
vre_waiting_for_resilver if the count has moved since the pass
started: the zthr then runs the next pass at once, as a wakeup would

    [13 lines not shown]
DeltaFile
+149-0tests/zfs-tests/tests/functional/raidz/raidz_expand_011_pos.ksh
+14-2module/zfs/vdev_raidz.c
+5-1include/sys/vdev_raidz.h
+1-1tests/runfiles/common.run
+1-0tests/zfs-tests/tests/Makefile.am
+170-45 files

LLVM/project 06eaf2c — llvm/include/llvm/CodeGen/GlobalISel MIPatternMatch.h, llvm/unittests/CodeGen/GlobalISel PatternMatchTest.cpp

[GlobalISel] Move extracted constants into matcher bindings (#235510)

Move from successful local optional results in m_ICst and m_ICstOrSplat
instead of copying their values immediately before destruction. Wide
APInts can transfer their storage to the output binding.

Assisted by: GPT-6.1-Sol
DeltaFile
+17-0llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp
+3-3llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
+20-32 files

LLVM/project ce72631 — llvm/lib/Transforms/Scalar DeadStoreElimination.cpp

[DSE] Check constant offsets before querying AA in isOverwrite (NFCI) (#235355)

If both accesses have the same underlying object, isOverwrite queries AA
first and only then compares the constant offsets of both pointers to a
common base. The AA-based checks can only return OW_Complete if the
offset comparison does too, so only query AA if the offsets cannot be
compared.

stage1-O3: -0.29%
stage1-ReleaseThinLTO: -0.55%
stage1-ReleaseLTO-g: -0.34%
stage1-aarch64-O3: -0.28%
stage2-O3: -0.26%
stage2-clang: -0.20%


https://llvm-compile-time-tracker.com/compare.php?from=da057cc5880020ccff5fee17ffa145383dcef723&to=4cfa41b754b4f777aba17dc53f62ae89fe7bbd79&stat=instructions:u

Aided by Opus 5.5

PR: https://github.com/llvm/llvm-project/pull/235355
DeltaFile
+26-22llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+26-221 files

LLVM/project e94a754 — llvm/lib/Analysis TargetTransformInfo.cpp, llvm/test/Analysis/CostModel/X86 reduction.ll

[TTI] Remove unused -costmodel-reduxcost (#235517)

Added in cae8735a5465 (2013, "Costmodel: Add support for horizontal
vector reductions")
and removed by https://reviews.llvm.org/D105484
DeltaFile
+6-6llvm/test/Analysis/CostModel/X86/reduction.ll
+0-4llvm/lib/Analysis/TargetTransformInfo.cpp
+1-1llvm/test/Transforms/LoopUnroll/X86/pr46430.ll
+1-1llvm/test/Transforms/LoopUnroll/X86/pr46430-inseltpoison.ll
+8-124 files

GhostBSD/ghostbsd 8e2b9f4 — sys/conf package-version

Bump version to 26.2-R15.1p6
DeltaFile
+1-1sys/conf/package-version
+1-11 files

FreeBSD/ports 7068428 — science/py-vedo Makefile

science/py-vedo: fix RUN_DEPENDS which was oberwritten; sort various elements in Makefile

PR:             299734
DeltaFile
+11-9science/py-vedo/Makefile
+11-91 files

GhostBSD/ghostbsd 561aa56 — secure/caroot/trusted ePKI_Root_Certification_Authority.pem SECOM_TLS_RSA_Root_CA_2024.pem, secure/caroot/untrusted Telia_RSA_Email_Root_CA_v3.pem SECOM_SMIME_RSA_Root_CA_2024.pem

Merge remote-tracking branch 'freebsd/releng/15.1' into releng/15.1
DeltaFile
+99-65usr.sbin/bhyve/pci_xhci.c
+135-0secure/caroot/untrusted/SECOM_SMIME_RSA_Root_CA_2024.pem
+0-134secure/caroot/trusted/ePKI_Root_Certification_Authority.pem
+134-0secure/caroot/untrusted/Telia_RSA_Email_Root_CA_v3.pem
+134-0secure/caroot/trusted/SECOM_TLS_RSA_Root_CA_2024.pem
+134-0secure/caroot/trusted/Telia_RSA_TLS_Root_CA_v3.pem
+636-19960 files not shown
+1,649-88166 files

LLVM/project bf7ce8d — lldb/test/API/functionalities/builtin-debugtrap TestBuiltinDebugTrap.py

[LLDB] Changing the SIGILL handling for FreeBSD also
DeltaFile
+7-7lldb/test/API/functionalities/builtin-debugtrap/TestBuiltinDebugTrap.py
+7-71 files

FreeBSD/ports 2650b86 — x11 Makefile, x11/bhotkeys-dwm pkg-descr distinfo

x11/bhotkeys-dwm: New port

Stock dwm chords for bhotkeys. SUPERASMODKEY installs those
rows with Super as Mod, for a dwm built with that option.

Reviewed by:    fuz (previous revision), jrm (previous revision)
Differential Revision:  https://reviews.freebsd.org/D60934
DeltaFile
+1,020-0x11/bhotkeys-dwm/files/superasmodkey-patch
+63-0x11/bhotkeys-dwm/pkg-plist
+23-0x11/bhotkeys-dwm/Makefile
+3-0x11/bhotkeys-dwm/pkg-descr
+3-0x11/bhotkeys-dwm/distinfo
+1-0x11/Makefile
+1,113-06 files

LLVM/project cbe838b — llvm/lib/Target/AMDGPU SIFrameLowering.cpp

AMDGPU: Add implicit buffer pointer live-in for compute shaders (#235508)

When setting up the scratch resource for Mesa compute shaders, the
implicit buffer pointer was copied with S_MOV_B64 without being added
as a live-in, so the machine verifier reported a use of an undefined
register. Only the graphics path, which loads through the pointer,
added it. Add the live-in on both paths.

This was exposed by the new test in #235258.

Co-authored-by: Claude Opus 5.5 <noreply at anthropic.com>
DeltaFile
+3-3llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
+3-31 files

LLVM/project a2d5d37 — llvm/lib/Target/RISCV RISCVPromoteConstant.cpp RISCVLoadStoreOptimizer.cpp

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+153-33llvm/lib/Target/RISCV/RISCV.h
+78-46llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+61-58llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
+72-37llvm/lib/Target/RISCV/RISCVMoveMerger.cpp
+66-32llvm/lib/Target/RISCV/RISCVLoadStoreOptimizer.cpp
+44-31llvm/lib/Target/RISCV/RISCVPromoteConstant.cpp
+474-23716 files not shown
+903-42822 files

LLVM/project dcef07b — llvm/lib/Target/RISCV RISCVZilsdOptimizer.cpp RISCVLoadStoreOptimizer.cpp

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+162-35llvm/lib/Target/RISCV/RISCV.h
+78-46llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+61-58llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
+72-37llvm/lib/Target/RISCV/RISCVMoveMerger.cpp
+66-32llvm/lib/Target/RISCV/RISCVLoadStoreOptimizer.cpp
+64-23llvm/lib/Target/RISCV/RISCVZilsdOptimizer.cpp
+503-23117 files not shown
+980-45523 files

OpenZFS/src abd1561 — cmd zarcsummary

zarcsummary: handle reset output pipes

A reader closing the output early can raise ConnectionResetError rather
than BrokenPipeError. Handle both with the existing successful exit path
and preserve the handling of other exceptions.

Assisted-by: OpenAI Codex
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: ooonea <35407790+ooonea at users.noreply.github.com>
Closes #19547
DeltaFile
+1-1cmd/zarcsummary
+1-11 files

OpenZFS/src b7cddd9 — include/os/linux/kernel/linux simd_aarch64.h

Linux: fix zfs_sha256_available() on ARM CPUs that also have SHA-512

ID_AA64ISAR0_EL1.SHA2 is 0b0001 when SHA-256 is implemented and 0b0010
when SHA-256 and SHA-512 both are. zfs_sha256_available() tested bit 0
of the field, so on every CPU that also implements SHA-512, which
includes Apple silicon and recent Cortex and Neoverse cores, it reported
SHA-256 as absent. The sha256 armv8-ce implementation was then never
listed and the slower NEON variant was the fastest available, while
zfs_sha512_impl correctly offered armv8-ce on the same CPU.

Treat any nonzero field value as SHA-256 present, matching the kernel's
HWCAP_SHA2 logic. FreeBSD and userspace use HWCAP and were already
correct.

Reviewed-by: Tino Reichardt <milky-zfs at mcmilk.de>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Signed-off-by: Walter McKelvie <walt at mckelvie.org>
Closes #19536
DeltaFile
+11-6include/os/linux/kernel/linux/simd_aarch64.h
+11-61 files

LLVM/project a83dd35 — lldb/source/Plugins/Process/gdb-remote ProcessGDBRemote.cpp, lldb/source/Target Platform.cpp

[LLDB] Support transfer in local machine

A trasnfer can also happen in local machine if the src and dest are not
the same. Support local machine transfer for this case. In Linux, we
never hits this as they don't support coredump and will be bailed out
eariler.
DeltaFile
+10-8lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+5-0lldb/source/Target/Platform.cpp
+15-82 files

OpenBSD/ports JeIGTh0 — net/unifi/snappy-java Makefile

   tweak ordering of make vars
VersionDeltaFile
1.17+9-9net/unifi/snappy-java/Makefile
+9-91 files