FreeNAS/freenas 496df9asrc/middlewared pyproject.toml

NAS-140581 / 27.0.0-BETA.1 / truenas_acme_utils and truenas_crypto_utils are type-safe now (#18662)
DeltaFile
+1-1src/middlewared/pyproject.toml
+1-11 files

LLVM/project 1bc63afllvm/lib/Target/AMDGPU SIInsertWaitcnts.cpp, llvm/test/CodeGen/AMDGPU asyncmark-gfx12plus.ll

[AMDGPU] Fix duplicate s_wait_asynccnt on gfx12-plus

S_WAIT_ASYNCCNT was missing from counterTypeForInstr(), so
isWaitInstr() did not recognize it as a wait instruction. On the
fixpoint algorithm's second pass over a loop body, the already-inserted
S_WAIT_ASYNCCNT was treated as a normal instruction, causing
WAIT_ASYNCMARK to be re-processed and a duplicate S_WAIT_ASYNCCNT to
be emitted.

Assisted-By: Claude Opus 4.6
DeltaFile
+2-0llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+0-1llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
+2-12 files

FreeNAS/freenas 5aaa528.github/workflows mypy.yml

NAS-140580 / 26.0.0-BETA.2 / Use mypy from pip (by themylogin) (#18663)

We already have it in the developer image

Original PR: https://github.com/truenas/middleware/pull/18661

Co-authored-by: themylogin <themylogin at gmail.com>
DeltaFile
+0-3.github/workflows/mypy.yml
+0-31 files

LLVM/project 211b88bclang/include/clang/Parse Parser.h, clang/lib/Parse ParseDecl.cpp

[Clang] prevent incorrect rejection of auto with reordered declaration specifiers in C23 (#177865)

Fixes #164121

---

This patch addresses the issue where `auto` was incorrectly rejected
with reordered declaration specifiers in C23.
DeltaFile
+68-7clang/test/Parser/c2x-auto.c
+32-5clang/lib/Parse/ParseDecl.cpp
+5-7clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-generic-lambda-1y.cpp
+4-5clang/lib/Sema/DeclSpec.cpp
+4-4clang/include/clang/Parse/Parser.h
+4-3clang/test/Sema/constexpr.c
+117-314 files not shown
+122-3510 files

LLVM/project 46633e6llvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp, llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll asyncmark-gfx12plus.ll

[AMDGPU] Fix async operations in GlobalISel on gfx12-plus

For GFX1250 async LDS intrinsics, map the LDS pointer operand to VGPR
instead of SGPR. These instructions use $vdst/$vdata (VGPROp_32)
for the LDS address, unlike the pre-GFX12 variants which use M0 (SGPR).

Assisted-By: Claude Opus 4.6
DeltaFile
+423-207llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+365-174llvm/test/CodeGen/AMDGPU/asyncmark-gfx12plus.ll
+13-4llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+6-3llvm/test/CodeGen/AMDGPU/asyncmark-max-pregfx12.ll
+807-3884 files

FreeBSD/src a09d06blib/libc/gen Makefile.inc

libc: Add missing MLINK for stravis(3)

MFC after:      1 week
Fixes:          8dfeba04eb36 ("Update to a June 8th snapshot of (un)vis form NetBSD.")
Reviewed by:    ziaee
Differential Revision:  https://reviews.freebsd.org/D56260
DeltaFile
+1-0lib/libc/gen/Makefile.inc
+1-01 files

FreeBSD/src 95cc7f5. UPDATING, lib/libpam/libpam Makefile

libpam: Move to a new "pam" package

OpenPAM is a discrete, largely self-contained system component.
Users may not need PAM for many use-cases (e.g. jails, containers),
so move it to its own package.

Use LIB_PACKAGE to create a separate pam-lib package for libpam,
so that applications that support PAM don't need to bring in all
the PAM modules if PAM isn't actually in use.

Add pam to the minimal sets, since this is a core system component that
people expect to be installed.  This means all supported installation
methods will install the PAM modules by default, so don't add explicit
dependencies on the PAM modules from things that use PAM (e.g. runtime),
allowing custom/embedded systems to omit these easily.

This change adds a new package to the system so, until we have a proper
policy on how to handle this in release/stable branches, it should not
be MFC'd.

    [9 lines not shown]
DeltaFile
+35-0release/packages/ucl/pam-all.ucl
+7-13lib/libpam/pam.d/Makefile
+12-0UPDATING
+1-1lib/libpam/libpam/Makefile
+0-2lib/libpam/modules/pam_lastlog/Makefile
+0-2lib/libpam/modules/pam_login_access/Makefile
+55-185 files not shown
+57-2611 files

LLVM/project 5d95920llvm/test/CodeGen/AMDGPU asyncmark-pregfx12.ll

[NFC][AMDGPU] don't test asyncmark for non-async variants on pre-gfx12

The test for asyncmark on pref-gfx12 targets, checks the effect of async marks
on both async and non-async instructions. This is achieved by a sed invocation
in the RUN line to remove the .async from intrinsic name.

Such a test serves no purpose other than a minor flex. The two sets of CHECK
lines using the WITH and WITHOUT prefix are not easy to compare by a simple
eyeballing. Eliminating this hack makes it easier to add GISEL variants later.
With and without GISEL, the combinations will increase to four instead of the
current two.

Assisted-By: Claude Opus 4.6
DeltaFile
+13-216llvm/test/CodeGen/AMDGPU/asyncmark-pregfx12.ll
+13-2161 files

FreeBSD/ports e330aefwww/deno/files patch-cargo-crates_libuv-sys-lite

www/deno: Fix build when llvm22 is installed

For whatever reason the build fails if llvm22 is installed / used,
the generated bindings.rs file doesn't have all the needed definitions.
Fix this by providing libuv bindgen likes it's done for others OS [3]
(it was generated with llvm21).

error be like:
libuv-sys-lite-1.48.2/src/functions.rs
    |
785 |       addr: *mut sockaddr_in,
    |                  ^^^^^^^^^^^ help: a struct with a similar name exists: `sockaddr`

For reference: deno issue [1], libuv-sys-lite issue [2] and fix [3]

[1] https://github.com/denoland/deno/issues/32351
[2] https://github.com/nathanwhit/libuv-sys-lite/issues/1
[3] https://github.com/nathanwhit/libuv-sys-lite/commit/37c1821e8e94f70dc0c768092d8a44920609d045


    [2 lines not shown]
DeltaFile
+7,400-0www/deno/files/patch-cargo-crates_libuv-sys-lite
+7,400-01 files

LLVM/project 6d3d88fllvm/test/CodeGen/AMDGPU frem.ll llvm.minimum.f16.ll

AMDGPU: Use SmallSet for VOPD scalar reg tracking (#190650)

Use SmallSet instead of SmallVector for UniqueScalarRegs.
VCC_LO was pushed without uniqueness check, so when both
components used VCC implicitly it was counted twice,
rejecting valid VOPD pairings.

Co-Authored-By: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+38-41llvm/test/CodeGen/AMDGPU/frem.ll
+23-25llvm/test/CodeGen/AMDGPU/llvm.minimum.f16.ll
+23-25llvm/test/CodeGen/AMDGPU/llvm.maximum.f16.ll
+13-14llvm/test/CodeGen/AMDGPU/llvm.minimum.f32.ll
+13-14llvm/test/CodeGen/AMDGPU/llvm.maximum.f32.ll
+8-11llvm/test/CodeGen/AMDGPU/fmed3.ll
+118-1308 files not shown
+153-17014 files

FreeBSD/src 8c61751. UPDATING, lib/libzstd Makefile

zstd: Move to a new zstd package

Zstd is a discrete, self-contained system component.  To match how we
package zlib, bzip2 and xz, move it to its own package, with a separate
lib package.

Add the new package to the minimal set, since this is a core component
that users expect to be installed.

This change adds a new package to the system so, until we have a proper
policy on how to handle this in release/stable branches, it should not
be MFC'd.

[stable/15: MFC under the re@ pkgbase policy for 15.1]

MFC after:      never
Reviewed by:    bapt
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D53603

    [2 lines not shown]
DeltaFile
+30-0release/packages/ucl/zstd-all.ucl
+6-0UPDATING
+3-1lib/libzstd/Makefile
+2-0usr.bin/zstd/Makefile
+41-14 files

LLVM/project aacd600llvm/lib/Target/AMDGPU AMDGPUSwLowerLDS.cpp, llvm/test/CodeGen/AMDGPU amdgpu-sw-lower-lds-static-alloca-placement.ll

[AMDGPU][ASAN] Move allocas to entry block in amdgpu-sw-lower-lds pass
DeltaFile
+95-0llvm/test/CodeGen/AMDGPU/amdgpu-sw-lower-lds-static-alloca-placement.ll
+13-1llvm/lib/Target/AMDGPU/AMDGPUSwLowerLDS.cpp
+108-12 files

LLVM/project 543ec35orc-rt/include/orc-rt Session.h, orc-rt/lib/executor Session.cpp

[orc-rt] Add managed-code-calls TaskGroup. (#190740)

Adds a ManagedCodeCallsGroup TaskGroup to Session, and updates the
shutdown sequence to wait until all calls into managed code have
completed before proceeding to shut down the Session's Services and the
Session itself.

To support safe calls into managed code two new helper template methods
are added:

callManagedCodeSync attempts to acquire a TaskGroup::Token for the
ManagedCodeCallsGroup before calling the given function and returning
its result.

callManagedCodeAsync attempts to acquire a TaskGroup::Token for the
ManagedCodeCallsGroup before calling the given async function. The
wrapped Return call for the async function will carry the acquired
Token, ensuring that shutdown waits for the async Return call to be
destroyed (whether or not it's actually called).
DeltaFile
+218-1orc-rt/unittests/SessionTest.cpp
+126-2orc-rt/include/orc-rt/Session.h
+26-17orc-rt/lib/executor/Session.cpp
+370-203 files

LLVM/project 546787emlir/include/mlir/Dialect/SPIRV/IR SPIRVTosaTypes.td, mlir/test/Dialect/SPIRV/IR tosa-ops-verification.mlir

[mlir][spirv] Fix SPIRV TOSA per-channel rescale length verification (#190748)

`TensorLengthMatchesPerChannel` was checking `rank(input) - 1` instead
of `input_shape[rank(input) - 1]`. Fix the predicate and update the
rescale verifier tests accordingly.

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
DeltaFile
+8-8mlir/test/Dialect/SPIRV/IR/tosa-ops-verification.mlir
+2-2mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaTypes.td
+10-102 files

LLVM/project aa4c76dmlir/include/mlir/IR BuiltinDialectBytecode.td, mlir/unittests/Bytecode BytecodeTest.cpp

[mlir][BytecodeReader] Fix crash reading FusedLoc with empty locations (#189228)

FusedLoc::get(context, locs) may return UnknownLoc when locs is empty
and no metadata is provided. The bytecode reader's cBuilder used
cast<FusedLoc>() on this result, which crashes with an assertion
failure.

Fix by giving the FusedLoc DialectAttribute its own cBuilder that passes
Attribute() explicitly, causing getChecked<FusedLoc> to call the
two-parameter storage constructor directly and always produce a
FusedLoc.

Fixes #99626

Assisted-by: Claude Code
DeltaFile
+26-0mlir/unittests/Bytecode/BytecodeTest.cpp
+6-2mlir/include/mlir/IR/BuiltinDialectBytecode.td
+32-22 files

FreeBSD/src 976b2ebrelease/packages generate-set-ucl.lua generate-ucl.lua

packages: Fix build with libucl 0.9.3

In libucl 0.9.3, macros and includes are disabled by default when
creating a new UCL parser.  This breaks the package build, which
relies on includes.  Fix this by explicitly passing zero flags
to ucl.parser().

MFC after:      3 days
Fixes:          abda442d92fd ("contrib/libucl:  Import libucl 0.9.3")
Reviewed by:    kevans, bapt
Reported by:    freebsd at walstatt-de.de
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56266

(cherry picked from commit 63d0e3e3aa2483420f828686336d6615616363d5)
DeltaFile
+1-1release/packages/generate-set-ucl.lua
+1-1release/packages/generate-ucl.lua
+2-22 files

FreeBSD/src c4f66edlib Makefile

libsamplerate: Only build when virtual_oss is built

Gate libsamplerate behind MK_CUSE and MK_SOUND, like virtual_oss.
Nothing else uses this library, so there's no point building it
if we aren't building virtual_oss.

This avoids building a useless FreeBSD-sound package containing
only this library when WITHOUT_SOUND is set.

MFC after:      1 week
Reviewed by:    christos, emaste
Differential Revision:  https://reviews.freebsd.org/D56164
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit baa7a870d65db324d4dd781702e7ccefde20a3ee)
DeltaFile
+1-2lib/Makefile
+1-21 files

FreeBSD/src 72b848arelease/packages/ucl caroot.ucl

packages: Fix caroot deinstall command

The correct syntax is 'post-deinstall', not 'post-uninstall'.

MFC after:      3 days (stable/15 only)
Reviewed by:    jlduran, des
Differential Revision:  https://reviews.freebsd.org/D56109
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit 63ecedb3c2ce75a44d55b9424d74d94e294de313)
DeltaFile
+1-1release/packages/ucl/caroot.ucl
+1-11 files

FreeBSD/src 2cb1b47release/packages/ucl rc.ucl

packages: Add dependency from rc to mtree

/etc/rc.d/var_run uses mtree, which is in the devel set and isn't
installed as part of either minimal or optional, so add a manual
dependency.

Reviewed by:    des, bapt, emaste
Differential Revision:  https://reviews.freebsd.org/D54540
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit 833087185a6e9a2bd26707c57c83a71a541a825a)
DeltaFile
+5-2release/packages/ucl/rc.ucl
+5-21 files

FreeBSD/src a5eb120release/packages/ucl xz-all.ucl

packages: Move xz to the minimal set

pkg(8), via its daily periodic script, requires xz.  We don't have
a way to encode dependencies from ports on base packages right now,
so instead move xz to the minimal set so it's always installed.

This isn't an ideal solution, but it's justified in this case since
pkg(8) is always installed, so having its dependencies always
installed is acceptable.

(Following discusson on the diff, new versions of pkg have now been
changed to use zstd instead of xz, but we still think xz is useful
enough to keep in minimal.)

MFC after:      1 week (stable/15 only)
Reviewed by:    des, bapt, emaste
Differential Revision:  https://reviews.freebsd.org/D55630
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit 43773002fa63262d531ce3ee5cf5d3fe872a3388)
DeltaFile
+1-1release/packages/ucl/xz-all.ucl
+1-11 files

FreeNAS/freenas 93f66d4.github/workflows mypy.yml

Use mypy from pip

(cherry picked from commit e471a832219a5d464d839952ddf5182892eed4a3)
DeltaFile
+0-3.github/workflows/mypy.yml
+0-31 files

FreeBSD/src ef10d46etc/mtree BSD.include.dist

etc/mtree: Restore removed package tags

Following commit 436618a427b4 which added package tags to mtree,
some of the tags were later removed due to an issue with empty
packages being created.  That problem has been fixed by commit
7965c93e4d41, so we can now restore the tags that were removed.

This reverts commit 00352ef6d2a013650f0ab2a4c9b016c22552ed25.
This reverts commit 1fbdb149aa486961c5d9d6403065e90123b3f5fe.
This reverts commit ef2d586d7efb908bf39e7d5eb5d4305193d0ca6e.
This reverts commit 2a8a6179eb6cef8ba1a417a4c8a1f7063c704533.

MFC after:      2 weeks (stable/15 only)
Reviewed by:    des, bapt, emaste
Differential Revision:  https://reviews.freebsd.org/D55645
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit 8ba3ada41dda46b41100fa913473058856816e0c)
DeltaFile
+1-1etc/mtree/BSD.include.dist
+1-11 files

FreeNAS/freenas 2c980c0.github/workflows mypy.yml

NAS-140580 / 27.0.0-BETA.1 / Use mypy from pip (#18661)

We already have it in the developer image
DeltaFile
+0-3.github/workflows/mypy.yml
+0-31 files

FreeBSD/src 2d57126release/packages/ucl libsdp-all.ucl

packages: Remove stale libsdp-all.ucl

This package no longer exists since it was merged into bluetooth.

Fixes:  41ee4321cc52 ("libsdp: Move to bluetooth-lib package")
MFC after:      3 days
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D55822
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit 6900d8b5c3874814be4fed7ef2f6d124ebc9a920)
DeltaFile
+0-28release/packages/ucl/libsdp-all.ucl
+0-281 files

FreeBSD/src bace6cdrelease/packages/ucl ftpd-all.ucl

packages: Remove stale ftpd-all.ucl

This file was missed when ftpd(8) was removed.

Fixes:  614c8750ce11 ("Remove ftpd(8)")
MFC after:      3 days
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D55820
Sponsored by:           https://www.patreon.com/bsdivy

(cherry picked from commit ea25f494b315180c4b48fcdc4d2b2a111c84912c)
DeltaFile
+0-4release/packages/ucl/ftpd-all.ucl
+0-41 files

FreeBSD/ports 4ec7b41devel/R-cran-ellipsis Makefile distinfo

devel/R-cran-ellipsis: Update to 0.3.3

- Update to 0.3.3
- Correct LICENSE to MIT (missed in 82dbc8dd9ef7)

Reported by:    portscout
Fixes:          82dbc8dd9ef7 devel/R-cran-ellipsis: Update to 0.3.2
DeltaFile
+3-5devel/R-cran-ellipsis/Makefile
+3-3devel/R-cran-ellipsis/distinfo
+6-82 files

FreeBSD/src 359d6e3. Makefile.inc1, release/packages create-sets.sh generate-ucl.sh

packages: Always use the bootstrap flua

To avoid breaking the build due to incompatible changes in flua or lua
libraries on the host, use the bootstrap flua for the package build.

MFC after:      2 weeks
Reviewed by:    kevans, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56271
DeltaFile
+11-10Makefile.inc1
+1-1release/packages/create-sets.sh
+1-1release/packages/generate-ucl.sh
+13-123 files

FreeBSD/src 50de0bf. Makefile.inc1

flua: Always build as a bootstrap tool

We want to use flua from the source tree (not the host) during package
build, firstly to protect us from breaking changes in lua or libucl,
and secondly to allow (in future) cross-building of packages from
Linux or macOS.

Since we don't know if the user will be building packages during the
bootstrap phase, and because flua is fairly small and generally useful,
build it as a bootstrap tool unconditionally.

MFC after:      2 weeks
Reviewed by:    kevans, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56270
DeltaFile
+8-10Makefile.inc1
+8-101 files

FreeBSD/ports df98c2fsecurity/p5-Crypt-OpenSSL-AES Makefile distinfo, security/p5-Crypt-OpenSSL-AES/files patch-t_00-openssl-version.t patch-t_09-key-size.t

security/p5-Crypt-OpenSSL-AES: Update 0.21 => 0.23

Changelog:
https://metacpan.org/release/TIMLEGGE/Crypt-OpenSSL-AES-0.23/source/Changes

- Use %%SSLBIN%% for substitution instead of SSLBIN.

PR:             294293
Sponsored by:   UNIS Labs
DeltaFile
+7-7security/p5-Crypt-OpenSSL-AES/files/patch-t_00-openssl-version.t
+6-3security/p5-Crypt-OpenSSL-AES/Makefile
+3-3security/p5-Crypt-OpenSSL-AES/files/patch-t_09-key-size.t
+3-3security/p5-Crypt-OpenSSL-AES/distinfo
+19-164 files

LLVM/project fe8a597clang/lib/ExtractAPI DeclarationFragments.cpp, clang/test/ExtractAPI type-alias.cpp

[clang][ExtractAPI] emit correct spelling for type aliases (#134007)

Previously, C++11 type aliases were serialized using "typedef"
regardless of the source spelling.
This checks if the TypedefNameDecl is actually a TypeAliasDecl and
corrects the spelling.
DeltaFile
+56-0clang/test/ExtractAPI/type-alias.cpp
+19-7clang/lib/ExtractAPI/DeclarationFragments.cpp
+1-1clang/test/Index/extract-api-cursor-cpp.cpp
+76-83 files