HardenedBSD/ports 24b556cdevel/transient Makefile, graphics/satty distinfo Makefile.crates

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+215-277graphics/satty/distinfo
+107-138graphics/satty/Makefile.crates
+73-156x11-fonts/uw-ttyp0/pkg-plist
+45-2net/mosquitto/pkg-plist
+28-16devel/transient/Makefile
+21-6lang/gcc16-devel/files/patch-gcc_configure
+489-59548 files not shown
+675-69154 files

FreeBSD/src f592357sys/kern uipc_socket.c

sockets: repair sctp_peeloff(2)

The shim function soattach() may be passed a non-listening socket by SCTP.

NB: the change makes soattach() more hairy, but long term plan is that
this function goes away.

PR:     293010
Fixes:  64f7e3c9c178ab35cb1f8fdf791aec74ede6f6b2
DeltaFile
+9-3sys/kern/uipc_socket.c
+9-31 files

LLVM/project 6bdb7b0lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp

Cleanup the use of m_is_secondary_thread from PR #179799. (#180255)

This ivar was passed to the thread function for the private state thread
- mostly because the equivalent variable was passed in in the original
version of the code. But it was never used, so I didn't notice that the
ivar equivalent wasn't being initialized. I'm going to keep the ivar
because it will be useful when debugging to easily see whether you are
on the main or secondary private state thread.

So in this change, I set m_is_secondary_thread properly in the
constructor, but remove passing it to the thread function since it
wasn't needed there.
DeltaFile
+2-5lldb/source/Target/Process.cpp
+4-2lldb/include/lldb/Target/Process.h
+6-72 files

FreeNAS/freenas 5114265src/middlewared/middlewared/utils/nvmet spdk.py

NAS-139283 / 26.0.0-BETA.1 / Use bdev_aio rather than bdev_uring for ZVOL based namespaces (#18158)

DeltaFile
+6-2src/middlewared/middlewared/utils/nvmet/spdk.py
+6-21 files

LLVM/project bfe80fbclang/cmake/caches cross-linux-toolchain.cmake

[CMake] Add multi-target cross to ARM/AArch64 Linux toolchain CMake cache file. (#179598)

This cache file can be used to build a multi-target cross Windows/Linux
to ARM/Aarch64/etc. Linux toolchain.

[Replacement for CrossWinToARMLinux.cmake on the buildbot]
DeltaFile
+360-0clang/cmake/caches/cross-linux-toolchain.cmake
+360-01 files

LLVM/project 09b70ddclang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 keylocker.c

[CIR] Support x86 encodeKey builtins (#179308)

This PR implements CodeGen for encodeKey builtins in CIR upstream.
Issue https://github.com/llvm/llvm-project/issues/167765
DeltaFile
+151-0clang/test/CIR/CodeGenBuiltins/X86/keylocker.c
+38-3clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+189-32 files

FreeBSD/ports 60eadf0net-p2p/go-ethereum distinfo Makefile, net-p2p/go-ethereum/files patch-vendor_github.com_karalabe_hid_hid__enabled.go

net-p2p/go-ethereum: Update 1.12.2 => 1.16.8

The karalabe/hid vendored package was trying to include hidapi source
files that don't exist in the vendor directory. This patch modifies
the build to use FreeBSD's installed hidapi library instead.

Changes:
- Link against system libhidapi library.
- Use hidapi headers instead of including source.
- Add necessary C standard library headers for FreeBSD.

Changelogs:
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.0
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.2
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.3
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.4
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.5
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.6

    [48 lines not shown]
DeltaFile
+23-0net-p2p/go-ethereum/files/patch-vendor_github.com_karalabe_hid_hid__enabled.go
+5-5net-p2p/go-ethereum/distinfo
+4-4net-p2p/go-ethereum/Makefile
+0-1net-p2p/go-ethereum/pkg-plist
+32-104 files

HardenedBSD/ports 9eb294ex11/nvidia-kmod Makefile

x11/nvidia-kmod: Fix build with clang 21

PR:             292869
Reported by:    dim
Reviewed by:    ashafer
DeltaFile
+7-0x11/nvidia-kmod/Makefile
+7-01 files

FreeBSD/ports 9eb294ex11/nvidia-kmod Makefile

x11/nvidia-kmod: Fix build with clang 21

PR:             292869
Reported by:    dim
Reviewed by:    ashafer
DeltaFile
+7-0x11/nvidia-kmod/Makefile
+7-01 files

FreeBSD/ports ed93a8fnet-p2p/go-ethereum distinfo Makefile, net-p2p/go-ethereum/files patch-vendor_github.com_karalabe_hid_hid__enabled.go

net-p2p/go-ethereum: Update 1.12.2 => 1.16.8

The karalabe/hid vendored package was trying to include hidapi source
files that don't exist in the vendor directory. This patch modifies
the build to use FreeBSD's installed hidapi library instead.

Changes:
- Link against system libhidapi library.
- Use hidapi headers instead of including source.
- Add necessary C standard library headers for FreeBSD.

Changelogs:
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.0
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.2
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.3
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.4
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.5
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.6

    [47 lines not shown]
DeltaFile
+23-0net-p2p/go-ethereum/files/patch-vendor_github.com_karalabe_hid_hid__enabled.go
+5-5net-p2p/go-ethereum/distinfo
+4-4net-p2p/go-ethereum/Makefile
+0-1net-p2p/go-ethereum/pkg-plist
+32-104 files

HardenedBSD/ports ed93a8fnet-p2p/go-ethereum distinfo Makefile, net-p2p/go-ethereum/files patch-vendor_github.com_karalabe_hid_hid__enabled.go

net-p2p/go-ethereum: Update 1.12.2 => 1.16.8

The karalabe/hid vendored package was trying to include hidapi source
files that don't exist in the vendor directory. This patch modifies
the build to use FreeBSD's installed hidapi library instead.

Changes:
- Link against system libhidapi library.
- Use hidapi headers instead of including source.
- Add necessary C standard library headers for FreeBSD.

Changelogs:
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.0
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.2
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.3
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.4
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.5
https://github.com/ethereum/go-ethereum/releases/tag/v1.13.6

    [47 lines not shown]
DeltaFile
+23-0net-p2p/go-ethereum/files/patch-vendor_github.com_karalabe_hid_hid__enabled.go
+5-5net-p2p/go-ethereum/distinfo
+4-4net-p2p/go-ethereum/Makefile
+0-1net-p2p/go-ethereum/pkg-plist
+32-104 files

LLVM/project 9976e57llvm/lib/Target/WebAssembly WebAssemblyTargetMachine.cpp, llvm/lib/Target/WebAssembly/GISel WebAssemblyPreLegalizerCombiner.cpp WebAssemblyPostLegalizerCombiner.cpp

[WebAssembly][GlobalISel] Part 1 - Setup skeleton (#178796)

This PR is the first step towards bringing GlobalISel to the Wasm
backend.

Split from #157161
DeltaFile
+176-0llvm/lib/Target/WebAssembly/GISel/WebAssemblyPreLegalizerCombiner.cpp
+176-0llvm/lib/Target/WebAssembly/GISel/WebAssemblyPostLegalizerCombiner.cpp
+100-0llvm/lib/Target/WebAssembly/GISel/WebAssemblyInstructionSelector.cpp
+65-0llvm/lib/Target/WebAssembly/GISel/WebAssemblyCallLowering.cpp
+54-0llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
+53-0llvm/test/CodeGen/WebAssembly/GlobalISel/gisel-commandline-option.ll
+624-013 files not shown
+930-119 files

FreeBSD/ports 9c4eea9net/mosquitto pkg-plist Makefile

net/mosquitto: Update pkg-plist

The PR reports that consumers of the client library were missing
include files.

PR:             293004
Reported by:    alexander at wittig.name
DeltaFile
+45-2net/mosquitto/pkg-plist
+1-0net/mosquitto/Makefile
+46-22 files

HardenedBSD/ports 9c4eea9net/mosquitto pkg-plist Makefile

net/mosquitto: Update pkg-plist

The PR reports that consumers of the client library were missing
include files.

PR:             293004
Reported by:    alexander at wittig.name
DeltaFile
+45-2net/mosquitto/pkg-plist
+1-0net/mosquitto/Makefile
+46-22 files

HardenedBSD/ports 00a8bc0x11-fonts/uw-ttyp0 pkg-plist Makefile, x11-fonts/uw-ttyp0/files patch-TARGETS__CONS__FREEBSD__VT.dat

x11-fonts/uw-ttyp0: Update 1.3 => 2.1, take maintainership

Changelog:
https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/CHANGELOG.txt

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Sort Makefile with portclippy.
- Enabled installation of FreeBSD console (vt) fonts.
- Fix MAKE_ARGS: use PREFIX=${PREFIX} instead of PREFIX=${LOCALBASE}.

PR:     292886
DeltaFile
+73-156x11-fonts/uw-ttyp0/pkg-plist
+10-7x11-fonts/uw-ttyp0/Makefile
+10-0x11-fonts/uw-ttyp0/files/patch-TARGETS__CONS__FREEBSD__VT.dat
+3-2x11-fonts/uw-ttyp0/distinfo
+96-1654 files

FreeBSD/ports 00a8bc0x11-fonts/uw-ttyp0 pkg-plist Makefile, x11-fonts/uw-ttyp0/files patch-TARGETS__CONS__FREEBSD__VT.dat

x11-fonts/uw-ttyp0: Update 1.3 => 2.1, take maintainership

Changelog:
https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/CHANGELOG.txt

Improve port:
- Replace PORTVERSION with DISTVERSION.
- Sort Makefile with portclippy.
- Enabled installation of FreeBSD console (vt) fonts.
- Fix MAKE_ARGS: use PREFIX=${PREFIX} instead of PREFIX=${LOCALBASE}.

PR:     292886
DeltaFile
+73-156x11-fonts/uw-ttyp0/pkg-plist
+10-7x11-fonts/uw-ttyp0/Makefile
+10-0x11-fonts/uw-ttyp0/files/patch-TARGETS__CONS__FREEBSD__VT.dat
+3-2x11-fonts/uw-ttyp0/distinfo
+96-1654 files

LLVM/project 4a7e572lldb/test/API/lang/cpp/template-diagnostic-hint TestTemplateDiagnosticHint.py

[lldb][test] TestTemplateDiagnosticHint.py: XFAIL on Windows

Fails on Windows with below error. Probably because we're not
constructing the AST from DWARF correctly for templates. Or perhaps
something to do with the DWARF index.

```
******************** TEST 'lldb-api :: lang/cpp/template-diagnostic-hint/TestTemplateDiagnosticHint.py' FAILED ********************
Script:
--
C:/Users/tcwg/scoop/apps/python/current/python.exe C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --env LLVM_INCLUDE_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/include --env LLVM_TOOLS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --arch aarch64 --build-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex --lldb-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/lldb.exe --compiler C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/clang.exe --dsymutil C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/dsymutil.exe --make C:/Users/tcwg/scoop/shims/make.exe --llvm-tools-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --lldb-obj-root C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/tools/lldb --lldb-libs-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --cmake-build-type Release --skip-category=watchpoint C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\lang\cpp\template-diagnostic-hint -p TestTemplateDiagnosticHint.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project.git revision 4afce0cb3de8e9a849b5150471672f4bb6ee591b)
  clang revision 4afce0cb3de8e9a849b5150471672f4bb6ee591b
  llvm revision 4afce0cb3de8e9a849b5150471672f4bb6ee591b

    [45 lines not shown]
DeltaFile
+1-0lldb/test/API/lang/cpp/template-diagnostic-hint/TestTemplateDiagnosticHint.py
+1-01 files

LLVM/project cb90560llvm/include/llvm/Analysis ScalarEvolutionPatternMatch.h, llvm/lib/Transforms/Utils ScalarEvolutionExpander.cpp

Revert "[SCEVExp] Use SCEVPtrToAddr in tryToReuseLCSSAPhi if possible." (#180257)

Reverts llvm/llvm-project#178727

triggers asserts in on some build bots
DeltaFile
+15-28llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
+3-3llvm/test/Transforms/LoopVectorize/reuse-lcssa-phi-scev-expansion.ll
+0-6llvm/include/llvm/Analysis/ScalarEvolutionPatternMatch.h
+2-2llvm/test/Transforms/LoopIdiom/reuse-lcssa-phi-scev-expansion.ll
+20-394 files

LLVM/project 5f4543fclang/test/CodeGenHLSL matrix-member-one-based-accessor-scalar-store.hlsl matrix-member-zero-based-accessor-scalar-store.hlsl

[HLSL][Matrix] introduce MatrixElementExpr as accessor and swizzle operator (#171225)

fixes #159438

This patch adds `MatrixElementExpr`, a new AST node for HLSL matrix
element and swizzle access (e.g. M._m00, M._11_22_33).

It introduces a shared `ElementAccessExprBase` used by both matrix and
vector swizzle expressions, updates Sema to parse and validate
zero-based and one-based accessors, detects duplicates for l-value
checks, and emits improved diagnostics. CodeGen is updated to lower
scalar and multi-element accesses consistently, and full AST
serialization, dumping, and tooling support is included. This
implementation reflects the updated
[RFC](https://github.com/llvm/wg-hlsl/pull/357/files) for HLSL matrix
accessor semantics.
DeltaFile
+329-0clang/test/CodeGenHLSL/matrix-member-one-based-accessor-scalar-store.hlsl
+329-0clang/test/CodeGenHLSL/matrix-member-zero-based-accessor-scalar-store.hlsl
+230-0clang/test/CodeGenHLSL/matrix-member-one-based-accessor-scalar-load.hlsl
+230-0clang/test/CodeGenHLSL/matrix-member-one-based-swizzle-store.hlsl
+230-0clang/test/CodeGenHLSL/matrix-member-zero-based-accessor-scalar-load.hlsl
+230-0clang/test/CodeGenHLSL/matrix-member-zero-based-swizzle-store.hlsl
+1,578-039 files not shown
+2,553-4045 files

LLVM/project 1a018ballvm/include/llvm/TargetParser AVRTargetParser.h Triple.h, llvm/lib/TargetParser AVRTargetParser.cpp

Revert "[llvm-objdump][AVR] Detect AVR architecture from ELF flags for disass…"

This reverts commit d005cb2953bd7346ce042e11bf583923ffc36713.
DeltaFile
+0-55llvm/test/tools/llvm-objdump/ELF/AVR/mattr.test
+0-50llvm/lib/TargetParser/AVRTargetParser.cpp
+0-30llvm/include/llvm/TargetParser/AVRTargetParser.h
+0-16llvm/tools/llvm-objdump/llvm-objdump.cpp
+0-2llvm/include/llvm/TargetParser/Triple.h
+0-2llvm/test/tools/llvm-objdump/ELF/AVR/lit.local.cfg
+0-1551 files not shown
+0-1567 files

NetBSD/pkgsrc-wip 394a942lpjs distinfo Makefile

munge-enable: Offer to run auto-ssh-authorize
DeltaFile
+3-3lpjs/distinfo
+2-2lpjs/Makefile
+5-52 files

LLVM/project 823799dutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel][mlir][AMDGPU] Port #180112: Add td dep (#180248)

DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

FreeNAS/freenas b88f33fsrc/middlewared/middlewared/api/v26_04_0 auth.py

Fix
DeltaFile
+1-1src/middlewared/middlewared/api/v26_04_0/auth.py
+1-11 files

LLVM/project 8244528lldb/packages/Python/lldbsuite/test/tools/lldb-dap dap_server.py lldbdap_testcase.py, lldb/test/API/tools/lldb-dap/runInTerminal TestDAP_runInTerminal.py

[lldb-dap] Add validation for RunInTerminal client capability (#180213)

Check if the client supports RunInTerminal before attempting to run in
the preferred terminal.
One less unknown reason for failed to launch
DeltaFile
+11-2lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
+12-0lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py
+8-2lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
+4-0lldb/tools/lldb-dap/Handler/RequestHandler.cpp
+35-44 files

LLVM/project 28042a8llvm/lib/Target/Hexagon HexagonGlobalRegion.cpp HexagonGlobalRegion.h

[Hexagon] Add global region scaffolding (#179541)

Introduce HexagonGlobalRegion, a data structure that the upcoming
Hexagon scheduler work will build on. It relies on the new
HexagonLiveVariables analysis to keep per-block liveness up to date when
the scheduler moves instructions across basic blocks.

Author:    Sergei Larin <slarin at qti.qualcomm.com>
Patch By: Fateme Hosseini <fhossein at qti.qualcomm.com>
DeltaFile
+252-0llvm/lib/Target/Hexagon/HexagonGlobalRegion.cpp
+109-0llvm/lib/Target/Hexagon/HexagonGlobalRegion.h
+1-0llvm/lib/Target/Hexagon/CMakeLists.txt
+362-03 files

FreeNAS/freenas e908a55src/middlewared/middlewared/alembic/versions/26.04 2026-01-02_18-18_convert-api-keys.py, tests/api2 test_audit_websocket.py

Adddress more migration review
DeltaFile
+1-13src/middlewared/middlewared/alembic/versions/26.04/2026-01-02_18-18_convert-api-keys.py
+0-3tests/api2/test_audit_websocket.py
+1-162 files

LLVM/project 69878f9lldb/include/lldb/Host JSONTransport.h, lldb/source/Protocol/MCP Server.cpp

[lldb] Refactor JSONTransport own MainLoop read handle. (#179564)

When working with a MainLoop, if the file reaches the EOF it will
immediately fire the read handle callback. We cannot readily determine
if the file is at EOF or if the file is pointing to a socket/pipe that
has consumed all the current data in the buffer but the remote end has
not yet hung up. This is causing JSONTransport to continuously fire the
OnRead callback trigging repeated calls to the
`MessageHandler::OnClose`.

Since MainLoop does not perform the actual read, we need to adjust the
behavior of JSONTransport to fully own the read handle.

This change moves the ownership of the `MainLoop::ReadHandleUP` and
additionally own a reference to the `MainLoop` itself to ensure the loop
outlives the JSONTransport object.

This allows us to remove the handle immediately when we detect an EOF /
hang up has occurred.
DeltaFile
+13-34lldb/unittests/TestingSupport/Host/JSONTransportTestUtilities.h
+19-21lldb/unittests/Host/JSONTransportTest.cpp
+12-11lldb/include/lldb/Host/JSONTransport.h
+3-8lldb/unittests/DAP/TestBase.cpp
+3-7lldb/unittests/Protocol/ProtocolMCPServerTest.cpp
+4-6lldb/source/Protocol/MCP/Server.cpp
+54-8710 files not shown
+77-11116 files

LLVM/project 5efb69fllvm/docs/CommandGuide llvm-readobj.rst llvm-readelf.rst

[NFC][llvm][docs] Fix alphabetical order of commands (#178519)

Fix the order of commands for llvm-readelf and llvm-readobj docs.
DeltaFile
+20-26llvm/docs/CommandGuide/llvm-readobj.rst
+21-21llvm/docs/CommandGuide/llvm-readelf.rst
+41-472 files

LLVM/project 8e17489llvm/lib/CodeGen GlobalMergeFunctions.cpp, llvm/test/CodeGen/AArch64 cgdata-merge-preserve-entry-count.ll

[CGData][GMF] Preserve Profile Data (#180126)

Profile data for instructions (e.g., branch weights) is automatically
preserved via `splice()` which moves the basic blocks along with their
instruction metadata. However, entry count is stored as function
metadata, which was dropped when creating merged function and thunks.

The fix is to explicitly set entry count for both merged function (.Tgm)
and thunks via `setEntryCount()`.
DeltaFile
+54-0llvm/test/CodeGen/AArch64/cgdata-merge-preserve-entry-count.ll
+12-0llvm/lib/CodeGen/GlobalMergeFunctions.cpp
+66-02 files

FreeNAS/freenas 69ea113src/middlewared/middlewared/alembic/versions/26.04 2026-01-02_18-18_convert-api-keys.py, tests/unit test_utmp.py test_api_key_keyring.py

Address review
DeltaFile
+3-3src/middlewared/middlewared/alembic/versions/26.04/2026-01-02_18-18_convert-api-keys.py
+0-3tests/unit/test_utmp.py
+0-1tests/unit/test_api_key_keyring.py
+3-73 files