NetBSD/pkgsrc-wip 5b4afd0crush Makefile go-modules.mk

crush: Update to 0.96.1

Changelog
Other stuff
56abdfa: themes: prefix diff theme keys with diff_ (@meowgorithm)
a88b573: themes: small adjustments to the key names in the theme API (@meowgorithm)
DeltaFile
+9-9crush/distinfo
+2-2crush/go-modules.mk
+1-1crush/Makefile
+12-123 files

LLVM/project 854a9b8lldb/include/lldb/Host LZMA.h, lldb/source/Host/common LZMA.cpp

[Support][lldb] Port xz (lzma) decompression from LLDB into LLVM (#220092)

### Summary
LLDB's `lldb_private::lzma` is currently the only xz decompressor in the
tree. It reads the ELF `.gnu_debugdata` (MiniDebugInfo) section, whose
embedded symbol table can sometimes be the only source of function names
in a stripped binary. Move it to `'llvm::compression::xz` so that other
tools like llvm-gsymutil can use it.
- Only decompression is implemented and it's kept out of
`compression::Format` since it's not written by LLVM and is produced by
an extra packaging step. It also doesn't model the schemes usable for
SHF_COMPRESSED sections, which are self-describing via some type of
`ELFCOMPRESS_*` constant, which doesn't exist for XZ.
- Reformats the ported code to LLVM standards, but avoids other
functional changes unless a comment was specifically made on the PR to
address it. There is a latent bug in the ported code where
`lzma_index_buffer_decode()` was passed a pointer to the stream index
but the size of the whole stream, which could've caused it to
technically read past the end of the buffer. Valid streams aren't

    [15 lines not shown]
DeltaFile
+0-146lldb/source/Host/common/LZMA.cpp
+124-0llvm/lib/Support/Compression.cpp
+84-0llvm/unittests/Support/CompressionTest.cpp
+0-35lldb/include/lldb/Host/LZMA.h
+33-0utils/bazel/llvm-project-overlay/third-party/BUILD.bazel
+1-27utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+242-20827 files not shown
+387-23633 files

OpenBSD/ports ODIGUcCdevel/xtensa-lx106-elf/binutils Makefile

   xtensa-lx106-elf/binutils is no longer BROKEN on sparc64
VersionDeltaFile
1.12+0-2devel/xtensa-lx106-elf/binutils/Makefile
+0-21 files

FreeBSD/src f1a4ac4share/man/man4 uipaq.4

uipaq.4: Canonicalize SYNOPSIS, tag SPDX

MFC after:      3 days
DeltaFile
+8-13share/man/man4/uipaq.4
+8-131 files

FreeBSD/src f4e7e5eshare/man/man4 ukbd.4

ukbd.4: Canonicalize SYNOPSIS, tag SPDX

Also add a missing Cd tag for consistency.

MFC after:      3 days
DeltaFile
+24-14share/man/man4/ukbd.4
+24-141 files

OpenZFS/src 0cd0ef3config zfs-build.m4

rpm: Pass --nodebuginfo to rpmbuild when debuginfo is disabled by configure

This fixes an issue where the system rpmbuild configuration is setup
to generate debuginfo rpms and will fail in make rpm-kmod if the needed
debuginfo source files are empty. Since by default debuginfo generation
is not enabled, this will fail reliably. Tell rpmbuild to not try to
build debuginfo rpms, when debuginfo generation is not enabled by
configure, by passing it the --nodebuginfo option.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Glenn Washburn <development at efficientek.com>
Closes #19146
DeltaFile
+2-0config/zfs-build.m4
+2-01 files

LLVM/project 31c7055flang/lib/Parser prescan.h prescan.cpp, flang/test/Preprocessing fixed-c-comment04.f fixed-c-comment03.f

[flang] Accept C-style comments in label fields (#207012)

The main goal of this patch is to make multi-language header files
easier to write and use in fixed format sources. For this reason, and
for simplicity, C-style comments after labels, directives and OpenMP
conditional compilation sentinels are not supported.

Fixes #127426

Assisted-by: Claude Opus 5
DeltaFile
+139-46flang/lib/Parser/prescan.cpp
+68-0flang/test/Preprocessing/fixed-c-comment01.F
+40-0flang/test/Preprocessing/fixed-c-comment02.F
+22-0flang/test/Preprocessing/fixed-c-comment03.f
+11-0flang/test/Preprocessing/fixed-c-comment04.f
+8-2flang/lib/Parser/prescan.h
+288-488 files not shown
+321-5114 files

LLVM/project b006244llvm/lib/Target/RISCV RISCVAsmPrinter.cpp

clang-format
DeltaFile
+2-1llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
+2-11 files

LLVM/project 8078ccacross-project-tests/riscv lto-inline-asm-abi.c, llvm/lib/Target/RISCV/AsmParser RISCVAsmParser.cpp

[RISC-V][MC] Update ELF streamer ArchString when emitting RISCVAttrs::ARCH

During LTO, the TargetMachine subtarget is initialized with the linker's
default CPU (e.g. `generic-rv64`, `rv64i2p1`), while
RISCVAsmPrinter::emitStartOfAsmFile() reconstructs the module's actual ISA from
the `riscv-isa` module flag and emits RISCVAttrs::ARCH via
RISCVTargetELFStreamer::emitTextAttribute(). Previously only
RISCVAsmParser::parseDirectiveAttribute() called setArchString() after
emitTextAttribute(RISCVAttrs::ARCH, ...), so direct object emission bypassed
the update and tagged `.text` with `$xrv64i2p1` instead of the module's
full architecture string.

Move the setArchString() call into RISCVTargetELFStreamer::emitTextAttribute()
when emitting RISCVAttrs::ARCH so both `.attribute arch` and
RISCVTargetStreamer::emitTargetAttributes() update the active mapping symbol
ISA.

This commit was created with the help of AI tools
DeltaFile
+22-10llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
+8-11cross-project-tests/riscv/lto-inline-asm-abi.c
+6-0llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
+36-213 files

LLVM/project 0604e5fcross-project-tests .clang-format, cross-project-tests/riscv lto-inline-asm-abi.c

clang-format
DeltaFile
+2-6cross-project-tests/riscv/lto-inline-asm-abi.c
+2-0cross-project-tests/.clang-format
+4-62 files

FreeBSD/src b27a221usr.sbin/bhyve pci_emul.c

bhyve: fix boot device ordering

EDK2's QemuBootOrderLib inspects the bootorder file provided
via fw_cfg and requires it to be NUL-terminated. Otherwise,
it rejects the supplied bootorder and falls back to its
default boot order.

Currently, bhyve registers bootorder with qemu_fwcfg_add_file()
using bootorder_len returned by open_memstream(), which excludes
the trailing NUL byte.

Fix that by passing bootorder_len + 1 to qemu_fwcfg_add_file() so
the fw_cfg payload is properly NUL-terminated.

PR:             279720
Reviewed by:    markj
Found with:     codex (gpt-5.6-sol)
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59859
DeltaFile
+1-1usr.sbin/bhyve/pci_emul.c
+1-11 files

OpenZFS/src 0eb67be. Makefile.am

build: Fix AM_V_GEN usage in gitrev recipe

AM_V_GEN must be placed at the start of the recipe line because it gets
expanded to "@echo" which the shell doesn't know what to do with. The
@-prefix is interpreted by make, but only at the beginning of a recipe
line.

Fixes: 7adc908d3 (build: Add gitrev as a dependency to specific targets that require it)

Reviewed-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Glenn Washburn <development at efficientek.com>
Closes #19145
DeltaFile
+2-2Makefile.am
+2-21 files

LLVM/project efb894dllvm/lib/Target/RISCV RISCVISelLowering.cpp

fixup! Loosen the mask conditions
DeltaFile
+3-11llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+3-111 files

LLVM/project 5e14ef5llvm/docs/GlobalISel GenericOpcode.md, llvm/include/llvm/Target GenericOpcodes.td

[RISCV][GlobalISel] Add G_CLMULR support (#224525)

Add G_CLMULR to represent reversed carry-less multiplication in generic
Machine IR.

Translate llvm.riscv.clmulr to G_CLMULR and mark it legal for native
XLEN scalar types when Zbc is available.
DeltaFile
+42-0llvm/test/CodeGen/RISCV/GlobalISel/clmulr-rv64.ll
+16-3llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+15-0llvm/test/CodeGen/RISCV/GlobalISel/clmulr-rv32.ll
+12-0llvm/docs/GlobalISel/GenericOpcode.md
+10-0llvm/include/llvm/Target/GenericOpcodes.td
+2-2llvm/test/TableGen/get-named-operand-idx.td
+97-54 files not shown
+107-510 files

FreeBSD/src 00d693eshare/man/man4 ufoma.4

ufoma.4: Improve HARDWARE introductory sentence

MFC after:      3 days
DeltaFile
+2-2share/man/man4/ufoma.4
+2-21 files

OpenZFS/src 477a0d4config zfs-build.m4 rpm.am, rpm/generic zfs-kmod.spec.in

rpm: Add support for building akmod packages

Add akmod (Automatic Kernel Module) support to ZFS, providing a third
packaging option alongside the existing DKMS and kmod packages.

Akmod packages automatically build binary kmod RPMs when new kernels
are installed, enabling:
- Automatic kernel module rebuilds on kernel updates
- Distribution of binary kmod RPMs without recompilation
- Seamless minor version upgrades on RHEL/Fedora and clones

Key changes:
- rpm/generic/zfs-kmod.spec.in: Add conditional akmod support via
  rpmbuild --define '_enable_akmod 1'. When enabled, sets
  buildforkernels=akmod and repo=rpmfusion so kmodtool generates
  an akmod-zfs package. Add -common subpackage for shared
  license/doc files. Guard chmod and %files sections for empty
  kernel_versions. Make kmod-devel packages opt-in via
  %bcond_with devel to prevent akmods from installing unnecessary

    [35 lines not shown]
DeltaFile
+32-19scripts/kmodtool
+35-6rpm/generic/zfs-kmod.spec.in
+15-5config/rpm.am
+3-3config/zfs-build.m4
+85-334 files

FreeBSD/src 7d1edc5share/man/man4 uhid.4

uhid.4: Canonicalize SYNOPSIS, tag SPDX

MFC after:      3 days
DeltaFile
+14-13share/man/man4/uhid.4
+14-131 files

FreeBSD/src 2407b84share/man/man4 uhso.4

uhso.4: describe better, SYNOPSIS, HARDWARE, SPDX

+ Update SYNOPSIS to the new standard format
+ Give this a clearer description in apropos
+ Give this a clearer description in hardware note
+ Spinoff SYSCTL VARIABLES from HARDWARE
+ Pet linter for long lines and trailing punctuation
+ Tag SPDX

MFC after:      3 days
DeltaFile
+33-22share/man/man4/uhso.4
+33-221 files

FreeBSD/src 6a07579share/man/man4 ugold.4

ugold.4: Canonicalize SYNOPSIS, HARDWARE, tag SPDX

MFC after:      3 days
DeltaFile
+11-15share/man/man4/ugold.4
+11-151 files

OpenZFS/src b45a5b5config zfs-build.m4 rpm.am, rpm/generic zfs-kmod.spec.in

rpm: Add support for building akmod packages

Add akmod (Automatic Kernel Module) support to ZFS, providing a third
packaging option alongside the existing DKMS and kmod packages.

Akmod packages automatically build binary kmod RPMs when new kernels
are installed, enabling:
- Automatic kernel module rebuilds on kernel updates
- Distribution of binary kmod RPMs without recompilation
- Seamless minor version upgrades on RHEL/Fedora and clones

Key changes:
- rpm/generic/zfs-kmod.spec.in: Add conditional akmod support via
  rpmbuild --define '_enable_akmod 1'. When enabled, sets
  buildforkernels=akmod and repo=rpmfusion so kmodtool generates an
  akmod-zfs package. Add -common subpackage for shared license/doc
  files. Guard chmod and %files sections for empty kernel_versions.
  Make kmod-devel packages opt-in via %bcond_with devel to prevent
  akmods from installing unnecessary devel packages on every kernel

    [34 lines not shown]
DeltaFile
+32-19scripts/kmodtool
+35-6rpm/generic/zfs-kmod.spec.in
+15-5config/rpm.am
+3-3config/zfs-build.m4
+85-334 files

OpenZFS/src bb1c7edconfig zfs-build.m4 rpm.am, rpm/generic zfs-kmod.spec.in

rpm: Add support for building akmod packages

Add akmod (Automatic Kernel Module) support to ZFS, providing a third
packaging option alongside the existing DKMS and kmod packages.

Akmod packages automatically build binary kmod RPMs when new kernels
are installed, enabling:
- Automatic kernel module rebuilds on kernel updates
- Distribution of binary kmod RPMs without recompilation
- Seamless minor version upgrades on RHEL/Fedora and clones

Key changes:
- rpm/generic/zfs-kmod.spec.in: Add conditional akmod support via
  rpmbuild --define '_enable_akmod 1'. When enabled, sets
  buildforkernels=akmod and repo=rpmfusion so kmodtool generates an
  akmod-zfs package. Add -common subpackage for shared license/doc
  files. Guard chmod and %files sections for empty kernel_versions.
  Make kmod-devel packages opt-in via %bcond_with devel to prevent
  akmods from installing unnecessary devel packages on every kernel

    [34 lines not shown]
DeltaFile
+32-19scripts/kmodtool
+35-6rpm/generic/zfs-kmod.spec.in
+15-5config/rpm.am
+3-3config/zfs-build.m4
+85-334 files

LLVM/project 4791c30llvm/lib/Transforms/Utils ScalarEvolutionExpander.cpp, llvm/test/Analysis/ScalarEvolution ranges.ll max-backedge-taken-count-guard-info.ll

[SCEV] Propagate a recurrence's nuw flag to mul in exit value. (#224974)

Follow-up to #217378. The same reasoning applies to the multiply emitted
as well:

A recurrence's exit value is its closed form Start + BTC * Step. The
multiply does not wrap, if the recurrence does not wrap: the recurrence
reached iteration BTC, so the value it computes there is the value the
recurrence had, and that did not wrap.

Alive2 Proof: https://alive2.llvm.org/ce/z/S3_sRh

Also includes small SCEVExpander changes to thread through operands as
SCEVUse.

PR: https://github.com/llvm/llvm-project/pull/224974
DeltaFile
+12-12llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info-rewrite-expressions.ll
+11-7llvm/test/Analysis/ScalarEvolution/exit-value-nowrap-flags.ll
+5-5llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
+4-5llvm/test/Transforms/IndVarSimplify/exit-value-nowrap-flags.ll
+4-4llvm/test/Analysis/ScalarEvolution/ranges.ll
+4-4llvm/test/Analysis/ScalarEvolution/max-backedge-taken-count-guard-info.ll
+40-373 files not shown
+47-439 files

LLVM/project cb92868mlir/lib/Dialect/XeGPU/Transforms XeGPUPeepHoleOptimizer.cpp, mlir/test/Dialect/XeGPU peephole-optimize.mlir

[mlir][xegpu] Fold memref offset in peephole create_nd_tdesc rewrite (#224459)

XeGPUCreateNdDescOpPattern in peephole optimization only extracted
strided metadata for dynamic-shape
memrefs, but hasStaticShapeAndStrides() ignores the offset — so a
static-shape memref with a nonzero or dynamic offset (e.g. from a
subview) would silently read from offset 0. This PR changes it to always
extract and fold the offset into the base pointer.


Assisted by Claude
DeltaFile
+39-8mlir/test/Dialect/XeGPU/peephole-optimize.mlir
+12-17mlir/lib/Dialect/XeGPU/Transforms/XeGPUPeepHoleOptimizer.cpp
+51-252 files

FreeBSD/ports 4de86f7math/py-islpy distinfo Makefile

math/py-islpy: update 2026.1 → 2026.2.2
DeltaFile
+4-7math/py-islpy/Makefile
+3-3math/py-islpy/distinfo
+7-102 files

LLVM/project d6da65amlir/lib/Dialect/OpenACC/Transforms ACCCGToGPU.cpp, mlir/test/Dialect/OpenACC acc-cg-to-gpu-thread-private-storage-remark.mlir

[mlir][openacc] Report privates using thread-private storage (#224398)

ACCCGToGPU reports privates it places in GPU shared memory, but says
nothing when a private is given per-thread storage instead. Collect
those names too and emit a matching remark.
DeltaFile
+57-0mlir/test/Dialect/OpenACC/acc-cg-to-gpu-thread-private-storage-remark.mlir
+31-0mlir/lib/Dialect/OpenACC/Transforms/ACCCGToGPU.cpp
+88-02 files

FreeBSD/ports 114e039devel/py-nanobind distinfo Makefile, science/py-gemmi Makefile

devel/py-nanobind: update 2.13.0 → 3.1.0
DeltaFile
+7-12devel/py-nanobind/Makefile
+5-3devel/py-nanobind/distinfo
+2-0science/py-gemmi/Makefile
+14-153 files

OPNSense/core 7e20f0asrc/etc/inc filter.inc, src/etc/inc/plugins.inc.d pf.inc

Cleanup: Move firewall enabled to its own general setting page with the standard enabled boolean, move alias before logging in dialog
DeltaFile
+33-35src/opnsense/mvc/app/controllers/OPNsense/Firewall/forms/settings.xml
+6-4src/opnsense/mvc/app/models/OPNsense/Firewall/Filter.xml
+2-2src/www/guiconfig.inc
+3-1src/opnsense/mvc/app/models/OPNsense/Firewall/Migrations/MFP1_1_0.php
+1-1src/etc/inc/plugins.inc.d/pf.inc
+1-1src/etc/inc/filter.inc
+46-446 files

LLVM/project 37f85adclang/lib/CodeGen CGExprScalar.cpp, clang/test/CodeGen catch-pointer-overflow-volatile.c catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c

[clang][CodeGen] Use ptrtoaddr for the pointer-overflow check (#223446)

Since 052dde9c3a62 ("[SCEV] Do not represent ptrtoint as ptrtoaddr")
SCEV treats the check's ptrtoint as opaque, so IndVarSimplify no longer
infers nuw on the reconstructed address and InstCombine no longer folds
the comparison. Provably safe checks now survive to run time.

ptrtoaddr is correct here: the address is only compared against the
recomputed one and passed to the handler, and is dead otherwise. This is
unlike the pointer subtraction in d7594bf4caa5 (reverted in
fcd814ae4357), whose result is a user-visible value that can be used to
reconstruct a pointer, e.g. via -(nullptr - ptr).

The result type becomes DL.getAddressType(), so the offset arithmetic is
done in the address width rather than the pointer width. They coincide
in every address space the check is emitted in on in-tree targets, and
where they do not the diagnostics are unaffected: EmitCheckValue
zero-extends a narrower argument to IntPtrTy before the handler call.

Assisted-by: Kiro CLI / Claude Opus 5
DeltaFile
+8-8clang/test/CodeGen/catch-pointer-overflow.c
+5-7clang/lib/CodeGen/CGExprScalar.cpp
+4-4clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
+2-2clang/test/CodeGen/ubsan-pointer-overflow.c
+1-1clang/test/CodeGen/catch-pointer-overflow-volatile.c
+1-1clang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
+21-236 files

LLVM/project b9de5cfclang/test/OpenMP target_teams_distribute_simd_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp, llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector unmerge-crash-1.ll unmerge-crash-0.ll

fix windows

Created using spr 1.3.7
DeltaFile
+1,413-1,413clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+1,403-1,403clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+1,403-1,403clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
+1,173-1,173llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-0.ll
+1,172-1,172llvm/test/CodeGen/SPIRV/extensions/SPV_EXT_long_vector/unmerge-crash-1.ll
+1,031-1,031clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
+7,595-7,595843 files not shown
+50,033-35,215849 files

LLVM/project 7856362flang/include/flang/Optimizer/Builder CUFCommon.h, flang/lib/Optimizer/Builder CUFCommon.cpp

[flang][cuda] duplicate host_device procedures early and outline the copies under their original name (#224400)

An `attributes(host,device)` procedure is lowered as a single
`func.func`, which `cuf-transform-device-func` clones into the GPU
module at the end of the FIR pipeline. By then the optimizer has already
placed the one body under the host policy, so with `-fstack-arrays` an
automatic array stays a `fir.alloca` and overflows the device stack at
run time:

```fortran
attributes(host,device) integer function sumauto(n)
  integer :: auto(n)
  ...
end function

attributes(global) subroutine kern(a, n)
  a(1) = sumauto(n)          ! device call
end subroutine
```

    [53 lines not shown]
DeltaFile
+176-0flang/test/Fir/CUDA/cuda-duplicate-device-func.mlir
+46-86flang/lib/Optimizer/Transforms/CUDA/CUFDeviceFuncTransform.cpp
+121-0flang/lib/Optimizer/Builder/CUFCommon.cpp
+107-0flang/lib/Optimizer/Transforms/CUDA/CUFDuplicateDeviceFunc.cpp
+81-0flang/test/Fir/CUDA/cuda-device-func-transform-copies.mlir
+44-0flang/include/flang/Optimizer/Builder/CUFCommon.h
+575-869 files not shown
+658-10515 files