FreeBSD/ports e93f644net/gnu-radius Makefile, net/gnu-radius/files patch-lib_readline.c

net/gnu-radius: Fix the build

The build was failing for two reasons:

1. When devel/readline was installed (e.g. as a dependency of
   editors/emacs), its newer interface caused:

   readline.c:147:51: error: expected expression
      147 |         rl_attempted_completion_function = (CPPFunction *) completion_fp;
          |                                                          ^
   readline.c:147:38: error: use of undeclared identifier 'CPPFunction'
     147 |         rl_attempted_completion_function = (CPPFunction *) completion_fp;
         |                                             ^

   Patch radius's lib/readline.c to use the modern rl_completion_func_t
   type.

2. The elisp files were not being installed, causing a staging error.
   Fix this by installing the elisp in a post-install-EMACS-on target.

    [2 lines not shown]
DeltaFile
+11-0net/gnu-radius/files/patch-lib_readline.c
+5-0net/gnu-radius/Makefile
+16-02 files

NetBSD/src SECpx5Vtools/gcc gcc-version.mk

   genmatch.cc:  bring across several enhancements from mainline GCC.

   in my testing this reduces the size of the emitted "gimple-match.cc"
   by about 35%, reduces the code section sise about 15%, and reduces
   the compile time about 30%.  (this file is the largest single compile
   for all of GCC.)

   this makes it capable of compiling on vax and sparc again, it seems,
   where both were already capable for GCC 14 (which in addition to this
   set, splits the emitted file into 10 sub parts for compiling both
   separately and in parallel.)

   (this is part 1, part 2 will be about mergig the split of the output
   into multiple files, but may be abandoned as this portion helps
   enough.)

   tested on amd64, vax, sparc as only target, powerpc, with some arm64,
   arm, and m68k to come -- may be also very useful for m68k target.


    [29 lines not shown]
VersionDeltaFile
1.32+2-2tools/gcc/gcc-version.mk
+2-21 files

FreeBSD/src f404109sys/vm vm_fault.c

vm_fault: Avoid creating clean, writeable superpage mappings

The pmap layer requires writeable superpage mappings to be dirty.
Otherwise, during demotion, we may miss a hw update of the PDE which
sets the dirty bit.

When creating a managed superpage mapping without promotion, i.e., with
pmap_enter(psind == 1), we must therefore ensure that a writeable
mapping is created with the dirty bit pre-set.  To that end,
vm_fault_soft_fast(), when handling a map entry with write permissions,
checks whether all constituent pages are dirty, and if so, converts the
fault to a write fault, so that pmap_enter() does the right thing.  If
one or more pages is not dirty, we simply create a 4K mapping.

vm_fault_populate(), which may also create superpage mappings, did not
do this, and thus could create mappings which violate the invariant
described above.  Modify it to instead check whether all constituent
pages are already dirty, and if so, convert the fault to a write fault.
Otherwise the mapping is downgraded to read-only.

    [5 lines not shown]
DeltaFile
+18-2sys/vm/vm_fault.c
+18-21 files

FreeBSD/src 8f3227fsys/kern kern_event.c, sys/sys filedesc.h

kqueue: Fix a race when adding an fd-based knote to a queue

When registering a new kevent backed by a file descriptor, we first look
up the file description with fget(), then lock the kqueue, then see if a
corresponding knote is already registered.  If not, and KN_ADD is
specified, we add the knote to the kqueue.

closefp_impl() interlocks with this process by calling knote_fdclose(),
which locks each kqueue and checks to see if the fd is registered with a
knote.  But, if userspace closes an fd while a different thread is
registering it, i.e., after fget() succeeds but before the kqueue is
locked, then we may end up with a mismatch in the knote table, where the
knote kn_fp field points to a different file description than the knote
ident.

Fix the problem by double-checking before registering a knote.  Add a
new fget_noref_unlocked() helper for this purpose.  It is a clone of
fget_noref().  We could simply use fget_noref(), but I like having an
explicit unlocked variant.

    [5 lines not shown]
DeltaFile
+17-0sys/sys/filedesc.h
+13-1sys/kern/kern_event.c
+30-12 files

LLVM/project 0027f6f.github/workflows libc-shared-tests.yml

[libc][ci] Add libc-shared-test CI for MSVC and QEMU for several archs. (#188553)

Includes:
- MSVC: x86, x64, arm64
- QEMU: aarch64, riscv64
DeltaFile
+92-0.github/workflows/libc-shared-tests.yml
+92-01 files

LLVM/project 3833f03llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.perm.ll

[AMDGPU][GlobalISel] Add RegBankLegalize rules for amdgcn_perm intrinsic (#187798)

Add uniform and divergent register bank legalization rules for the amdgcn_perm intrinsic (v_perm_b32). Since this is a VALU-only instruction, the uniform case maps the destination to UniInVgprB32 and all source operands to VgprB32.
DeltaFile
+4-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.perm.ll
+5-12 files

HardenedBSD/src 663efd8lib/libc/gen rtld_get_var.3, lib/msun/arm fenv.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+38-0libexec/rtld-elf/tests/set_var_test.c
+14-7sys/x86/x86/cpu_machdep.c
+17-0lib/libc/gen/rtld_get_var.3
+6-3sys/x86/x86/tsc.c
+6-1lib/msun/arm/fenv.c
+233-4711 files not shown
+286-5917 files

LLVM/project 816a820mlir/lib/Dialect/XeGPU/IR XeGPUDialect.cpp, mlir/test/Dialect/XeGPU subgroup-distribute-unit.mlir sg-to-wi-experimental-unit.mlir

[MLIR][XeGPU] Fix a bug in Layout interface: isCompatibleWith() function (#188607)

As title
DeltaFile
+12-3mlir/test/Dialect/XeGPU/subgroup-distribute-unit.mlir
+8-6mlir/lib/Dialect/XeGPU/IR/XeGPUDialect.cpp
+11-0mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+31-93 files

HardenedBSD/src 381a8e7lib/libc/gen rtld_get_var.3, lib/msun/riscv fenv.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+38-0libexec/rtld-elf/tests/set_var_test.c
+14-7sys/x86/x86/cpu_machdep.c
+17-0lib/libc/gen/rtld_get_var.3
+6-3sys/x86/x86/tsc.c
+6-1lib/msun/riscv/fenv.c
+233-4711 files not shown
+286-5917 files

HardenedBSD/ports ff0188daudio/subtui distinfo Makefile

audio/subtui: Update to 2.13.1

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.13.1
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

FreeBSD/ports ff0188daudio/subtui distinfo Makefile

audio/subtui: Update to 2.13.1

Changelog: https://github.com/MattiaPun/SubTUI/releases/tag/v2.13.1
DeltaFile
+5-5audio/subtui/distinfo
+1-1audio/subtui/Makefile
+6-62 files

LLVM/project 531613emlir/lib/Dialect/MemRef/Transforms ExtractAddressComputations.cpp ElideReinterpretCast.cpp, mlir/lib/Dialect/Tensor/IR TensorOps.cpp

[mlir] Use Repeated<T> in more places to avoid temporary vectors. NFC. (#188846)

Replace `SmallVector<Type/Value>(n, x)` with `Repeated<Type/Value>(n,
x)`. This avoids heap allocations for repeated values.

Also change `ExtractAddressComputations` rebuild callbacks from
`ArrayRef<Value>` to `ValueRange` to enable `Repeated<Value>`
passthrough.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
DeltaFile
+9-8mlir/lib/Dialect/MemRef/Transforms/ExtractAddressComputations.cpp
+3-2mlir/lib/Dialect/Vector/IR/VectorOps.cpp
+2-1mlir/lib/Dialect/MemRef/Transforms/ElideReinterpretCast.cpp
+2-1mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
+16-124 files

LLVM/project 2cbbc1aclang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.cpp, clang/test/Analysis/Scalable/UnsafeBufferUsage tu-summary-bad-ptr-level.json tu-summary-no-key.json

address comments
DeltaFile
+58-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-bad-ptr-level.json
+58-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-no-key.json
+53-0clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-bad-element.json
+15-1clang/test/Analysis/Scalable/UnsafeBufferUsage/tu-summary-serialization.test
+5-5clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+3-4clang/unittests/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.cpp
+192-101 files not shown
+194-127 files

NetBSD/pkgsrc vEkTI7qdoc CHANGES-2026

   doc: Updated x11/kitty to 0.46.2
VersionDeltaFile
1.1909+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc nZWlDV9x11/kitty distinfo Makefile

   kitty: update to 0.46.2

   - Watchers: Add an on_quit event to global watchers
   - Wayland: Fix a crash on some compositors when dragging a tab
     between  OS Windows
   - Fix incorrect behavior when using the actions to move tab
     forward/backward with a tab_bar_filter active
   - Prevent stacking of multiple rename tab windows
   - choose files kitten: Fix a regression that caused incorrect
     highlight of matched letters
   - macOS: When using macos_traditional_fullscreen do not render
     content under the notch
   - X11: Fix massive scroll when switching focus between kitty and
     another application
   - Markers: Fix marking not working for multicell characters
   - Fix a regression in 0.46 that broke drag select in unfocused
     windows
VersionDeltaFile
1.39+4-4x11/kitty/distinfo
1.84+2-2x11/kitty/Makefile
+6-62 files

LLVM/project 966d969llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.permlane64.ll

[AMDGPU][GlobalISel] Add RegBankLegalize rules for amdgcn_permlane64 (#187840)

Add register bank legalization rules for the amdgcn_permlane64 intrinsic
in the new RegBankLegalize framework.

After GISel legalization, permlane64 always operates on S32 — sub-32-bit
types are anyext'd to S32 and types wider than 32 bits are split into
S32 parts by legalizeLaneOp. Add rules for B32 type.

Also enable -new-reg-bank-select in the permlane64 lit test and update
affected check lines.
DeltaFile
+1-31llvm/test/CodeGen/AMDGPU/llvm.amdgcn.permlane64.ll
+3-0llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+4-312 files

HardenedBSD/src f7b368dlib/libc/gen rtld_get_var.3

rtld_get_var(3): provide explicit list of rtld vars that can be modified

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56055
DeltaFile
+17-0lib/libc/gen/rtld_get_var.3
+17-01 files

HardenedBSD/src b9f046dlibexec/rtld-elf rtld.c

rtld: properly handle update of several vars in rtld_set_var()

Besides setting the value in the array of the values, rtld sometimes
needs to recalculate some internal control variable for the change to
take effect.  Allow the variable description to supply a method called
on the update.  Lock the function with the bind lock for safe operation.

Mark several variables as allowed for update, since the on_update method
is provided for them.  The list is LD_BIND_NOW, LD_BIND_NOT,
LD_LIBMAP_DISABLE, LD_LOADFLTR.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56055
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+152-361 files

FreeBSD/src f7b368dlib/libc/gen rtld_get_var.3

rtld_get_var(3): provide explicit list of rtld vars that can be modified

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56055
DeltaFile
+17-0lib/libc/gen/rtld_get_var.3
+17-01 files

FreeBSD/src 9f16078libexec/rtld-elf/tests set_var_test.c Makefile

rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS)

PR:     294054
Reviewed by:    kib
MFC after:      1 week
DeltaFile
+38-0libexec/rtld-elf/tests/set_var_test.c
+1-0libexec/rtld-elf/tests/Makefile
+39-02 files

HardenedBSD/src 9f16078libexec/rtld-elf/tests set_var_test.c Makefile

rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS)

PR:     294054
Reviewed by:    kib
MFC after:      1 week
DeltaFile
+38-0libexec/rtld-elf/tests/set_var_test.c
+1-0libexec/rtld-elf/tests/Makefile
+39-02 files

FreeBSD/src b9f046dlibexec/rtld-elf rtld.c

rtld: properly handle update of several vars in rtld_set_var()

Besides setting the value in the array of the values, rtld sometimes
needs to recalculate some internal control variable for the change to
take effect.  Allow the variable description to supply a method called
on the update.  Lock the function with the bind lock for safe operation.

Mark several variables as allowed for update, since the on_update method
is provided for them.  The list is LD_BIND_NOW, LD_BIND_NOT,
LD_LIBMAP_DISABLE, LD_LOADFLTR.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D56055
DeltaFile
+152-36libexec/rtld-elf/rtld.c
+152-361 files

HardenedBSD/src f39754dlib/msun/aarch64 fenv.c fenv.h, lib/msun/amd64 fenv.c

fenv.h: stop declaring feclearexcept() extern inline

The function is already exported from libm.  We only need to stop
declare it extern inline, and instead provide a macro which uses the
internal inline function __feclearexcept_int() instead.

PR:     277958
Reviewed by:    dim (x86)
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55975
DeltaFile
+5-2lib/msun/x86/fenv.h
+6-1lib/msun/aarch64/fenv.c
+5-2lib/msun/aarch64/fenv.h
+6-1lib/msun/amd64/fenv.c
+6-1lib/msun/arm/fenv.c
+6-1lib/msun/i387/fenv.c
+34-85 files not shown
+58-1311 files

FreeBSD/src f39754dlib/msun/aarch64 fenv.h, lib/msun/amd64 fenv.c

fenv.h: stop declaring feclearexcept() extern inline

The function is already exported from libm.  We only need to stop
declare it extern inline, and instead provide a macro which uses the
internal inline function __feclearexcept_int() instead.

PR:     277958
Reviewed by:    dim (x86)
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D55975
DeltaFile
+5-2lib/msun/aarch64/fenv.h
+6-1lib/msun/amd64/fenv.c
+6-1lib/msun/arm/fenv.c
+6-1lib/msun/i387/fenv.c
+6-1lib/msun/powerpc/fenv.c
+5-2lib/msun/x86/fenv.h
+34-85 files not shown
+58-1311 files

LLVM/project cdb4578lldb/test/API/lang/objc/objc-class-method TestObjCClassMethod.py

This new flag depends both on the compiler version AND the linker (#188864)

version, and clang will say it supports the flag even if the linker
can't use its output.
The compiler actually has code to know whether the linker version is
right, and sets it to the default if the stars align.

So I'm going to just test whether whatever is the default method for the
compiler and linker works.
DeltaFile
+3-16lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
+3-161 files

OpenBSD/ports DfyRoxRsysutils Makefile

   + starship
VersionDeltaFile
1.781+1-0sysutils/Makefile
+1-01 files

OpenBSD/ports MdYfzJvsysutils/starship distinfo crates.inc, sysutils/starship/pkg DESCR PLIST

   Import sysutils/starship

   Minimal, cross-shell, customizable prompt, with numerous modules for detection
   of languages, Git status, execution time, and more

   WWW: https://starship.rs/

   From Lydia Sobot, who takes Maintainer

   ok tb@
VersionDeltaFile
1.1+856-0sysutils/starship/distinfo
1.1+427-0sysutils/starship/crates.inc
1.1+29-0sysutils/starship/Makefile
1.1+2-0sysutils/starship/pkg/DESCR
1.1+1-0sysutils/starship/pkg/PLIST
1.1.1.1+0-0sysutils/starship/pkg/DESCR
+1,315-04 files not shown
+1,315-010 files

LLVM/project 788ea11lld/MachO ICF.cpp, lld/test/MachO icf-safe-missing-addrsig.s icf-options.s

[lld-macho] Make safe ICF conservative without __llvm_addrsig (#188400)

MachO --icf=safe and --icf=safe_thunks used to keep folding code from
object files that did not contain __llvm_addrsig, which was inconsistent
with the conservative ELF/COFF behavior. Mark all symbols in such
objects as address-significant instead, and add regression coverage for
both safe ICF modes with and without addrsig.
DeltaFile
+112-0lld/test/MachO/icf-safe-missing-addrsig.s
+4-1lld/MachO/ICF.cpp
+1-0lld/test/MachO/icf-options.s
+117-13 files

LLVM/project b9b87ddllvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.struct.buffer.atomic.ll llvm.amdgcn.struct.ptr.buffer.atomic.ll

AMDGPU/GlobalISel: RegBankLegalize rules for buffer atomics (#187550)

Add RegBankLegalize rules for the buffer atomics and/xor/or/inc/dec.
DeltaFile
+10-6llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.atomic.ll
+10-6llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.ll
+5-3llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+3-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.ptr.buffer.atomic.ll
+3-2llvm/test/CodeGen/AMDGPU/llvm.amdgcn.raw.buffer.atomic.ll
+31-195 files

LLVM/project 4562a95llvm/lib/Transforms/Vectorize VPlanUnroll.cpp, llvm/test/Transforms/LoopVectorize tail-folding-optimize-vector-induction-width.ll struct-return-replicate.ll

Revert "[VPlan] Explicitly unroll replicate-regions without live-outs by VF." (#188868)

Reverts llvm/llvm-project#170212

appears to cause a failure with expensive checks:
https://lab.llvm.org/buildbot/#/builders/187/builds/18306
DeltaFile
+0-156llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
+98-49llvm/test/Transforms/LoopVectorize/AArch64/conditional-branches-cost.ll
+80-40llvm/test/Transforms/LoopVectorize/X86/x86-interleaved-accesses-masked-group.ll
+41-43llvm/test/Transforms/LoopVectorize/VPlan/vplan-predicate-switch.ll
+18-9llvm/test/Transforms/LoopVectorize/tail-folding-optimize-vector-induction-width.ll
+14-6llvm/test/Transforms/LoopVectorize/struct-return-replicate.ll
+251-30354 files not shown
+531-42060 files