FreeBSD/src 66f55b9stand/powerpc/boot1.chrp boot1.c

boot1.chrp: Improve comment for the SLOF hack

Since this original comment was written, the actual issue in SLOF
was diagnosed and documented in commit 424089a0fc, which fixed it
for loader(8).  Update the comment in boot1 to be more informative
to future readers.

MFC after:      3 days
Reviewed by:    jhibbits, adrian
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56470

(cherry picked from commit eb0279550d52962241b4178101cd7f7d732eb682)
DeltaFile
+5-8stand/powerpc/boot1.chrp/boot1.c
+5-81 files

FreeBSD/src 4429630. Makefile.inc1

Makefile.inc1: Only copy locales to INSTALLTMP on FreeBSD

Makefile.inc1 copies locales to ${INSTALLTMP} to avoid issues when
running make installworld on a live system.  However, this can break
on non-FreeBSD systems, e.g. on openSUSE where /usr/share/locales
has mode 0555, which means after we copy it, we can't delete it,
so the build fails.

Since this functionality is only useful when installing over a
live system, disable it when the build host is not FreeBSD.

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

FreeBSD/src d1c176frelease/packages create-sets.sh

packages: Make create-sets.sh more robust

Use ${PKG_CMD} rather than bare 'pkg' to fix the build when pkg is
not in the tools path.  Provide a default in case it's not set for
some reason (e.g., running the script by hand).

Since set -- $(...) does not trigger an exit from set -e if the
command fails, this failure was silent and resulted in sets not
being built correctly if we failed to run pkg.  Use a temporary
variable, which does trigger set -e, to fail correctly.

MFC after:      2 weeks
Reviewed by:    sjg
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56676
DeltaFile
+4-1release/packages/create-sets.sh
+4-11 files

FreeBSD/src 7970815lib/clang lldb.pre.mk Makefile.inc, lib/clang/liblldb Makefile

llvm: Move libprivatelldb to the lldb package

Set PACKAGE=lldb in lldb.pre.mk rather than in individual Makefiles;
change lib/clang/Makefile.inc from PACKAGE=clang to PACKAGE?=clang to
avoid overwriting it.

This is safe to MFC to stable/15 since the moved library will be
picked up automatically by pkg.

MFC after:      2 weeks
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56674
DeltaFile
+2-0lib/clang/lldb.pre.mk
+1-1lib/clang/Makefile.inc
+0-1usr.bin/clang/lldb/Makefile
+0-1lib/clang/liblldb/Makefile
+0-1usr.bin/clang/lldb-server/Makefile
+3-45 files

FreeBSD/src c4b244alibexec/rc/rc.d Makefile, packages Makefile.arm Makefile.powerpc

acpi: Remove userland bits on non-ACPI platforms

ACPI is only supported on amd64, arm64 and i386.  Don't install the
power_profile rc script or devd configuration on other platforms.

This avoids creating a useless FreeBSD-acpi package on those platforms.

MFC after:      2 weeks
Reviewed by:    imp
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56650
DeltaFile
+0-17packages/Makefile.arm
+0-17packages/Makefile.powerpc
+0-6packages/acpi/Makefile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+3-0libexec/rc/rc.d/Makefile
+3-0sbin/devd/Makefile
+10-401 files not shown
+10-417 files

FreeBSD/ports 38375ebgames/kodi-addon-game.libretro distinfo Makefile, multimedia/kodi-addon-visualization.shadertoy distinfo Makefile

games/kodi-addon-game.libretro*,multimedia/kodi-addon*: update ports to latest kodi version

unbreaks and undeprecates games/kodi-addon-game.libretro

PR:     294761
PR:     294242
(cherry picked from commit b9c7ff8c41cc89fc10e6c5ae1b6dd4b74b0bbb91)
DeltaFile
+5-5games/kodi-addon-game.libretro/distinfo
+5-4games/kodi-addon-game.libretro/Makefile
+3-3multimedia/kodi-addon-visualization.spectrum/distinfo
+3-3multimedia/kodi-addon-visualization.spectrum/Makefile
+3-3multimedia/kodi-addon-visualization.shadertoy/distinfo
+3-3multimedia/kodi-addon-visualization.shadertoy/Makefile
+22-2122 files not shown
+88-8128 files

LLVM/project 2743eb4llvm/lib/CodeGen/GlobalISel MachineIRBuilder.cpp

[GISel] Fix -Wunused-variable (#194710)

b46a51d9c29519666f70807b52301d94be804f07 introduced some variables only
used in assertions. Mark them [[maybe_unused]] given they are used
multiple times, but only in assertions.
DeltaFile
+5-5llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
+5-51 files

LLVM/project 91b6c73third-party/unittest/googletest/src gtest-port.cc

[unittest] Use TempDir() in gtest death-test stream capture on Linux (#194142)

gtest's CapturedStream on Linux hardcoded /tmp/ for its temp file
without consulting the environment, causing failures in sandboxed
environments where /tmp is read-only. Use TempDir() instead, which
checks TEST_TMPDIR then TMPDIR and falls back to /tmp/, matching the
behavior already present on Android and macOS/iOS.

See also upstream PR: https://github.com/google/googletest/pull/4962

Assisted-by: Claude Code
DeltaFile
+1-1third-party/unittest/googletest/src/gtest-port.cc
+1-11 files

LLVM/project 3e59b58flang/test/Lower/OpenMP/Todo begin-metadirective.f90

Add testcase
DeltaFile
+12-0flang/test/Lower/OpenMP/Todo/begin-metadirective.f90
+12-01 files

LLVM/project e9144ccllvm/lib/CAS OnDiskCommon.cpp MappedFileRegionArena.cpp, llvm/lib/Support/Unix Path.inc

[CAS] Retry blocking syscalls on EINTR (#194691)

Wrap blocking syscalls used by LLVMCAS inside RetryAfterSignal so they
are retried on EINTR instead of surfacing as error or silently dropping
actions due to failed to acquire locks.
DeltaFile
+15-6llvm/lib/CAS/OnDiskCommon.cpp
+4-4llvm/lib/Support/Unix/Path.inc
+2-1llvm/lib/CAS/MappedFileRegionArena.cpp
+21-113 files

LLVM/project 6830f04llvm/test/TableGen directive1.td directive2.td, llvm/utils/TableGen/Basic DirectiveEmitter.cpp

[TableGen] Fix compile error with GCC <= 8 after 928f70d38e34 (#194692)
DeltaFile
+9-0llvm/test/TableGen/directive1.td
+9-0llvm/test/TableGen/directive2.td
+9-0llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
+27-03 files

FreeBSD/src cb0e3a5contrib/openresolv resolvconf.in resolvconf.8.in

contrib/openresolv: MFV openresolv 3.17.4

Reviewed by:    pfg
Approved by:    lwhsu (mentor)
Differential Revision:  https://reviews.freebsd.org/D56269
DeltaFile
+770-237contrib/openresolv/resolvconf.in
+141-85contrib/openresolv/resolvconf.8.in
+142-40contrib/openresolv/resolvconf.conf.5.in
+159-0contrib/openresolv/resolvectl.in
+96-0contrib/openresolv/systemd-resolved.in
+57-25contrib/openresolv/libc.in
+1,365-38711 files not shown
+1,514-42717 files

LLVM/project 42aec79flang/lib/Lower/OpenMP OpenMP.cpp

Incorporate review suggestions
DeltaFile
+8-0flang/lib/Lower/OpenMP/OpenMP.cpp
+8-01 files

LLVM/project 3cd6f4allvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU hsa-gfx125x-v4-user-sgpr-err.s hsa-gfx12-v4-user-sgpr-err.s

[AMDGPU] Validate user SGPR count against HW range, not field width (#194449)

The previous validation checked only the field width, allowing values
that exceeded the actual hardware limits (e.g. 0–16 on gfx6-gfx120 and
0–32 on gfx125x) as long as they fit in the bit width.
Tighten validation to reject out-of-range user SGPR counts.
DeltaFile
+13-0llvm/test/MC/AMDGPU/hsa-gfx125x-v4-user-sgpr-err.s
+12-0llvm/test/MC/AMDGPU/hsa-gfx12-v4-user-sgpr-err.s
+4-5llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+29-53 files

LLVM/project 7144296clang/test/APINotes unsafe-buffer-usage.cpp

Fix test added in 849de61 to work when the compiler defaults to C++20. (#193361)

Our downstream compiler defaults to C++20 mode which causes the test
added in #189775 to fail due to some additional notes that are emitted
which causes the `-verify` steps to fail.
```
# .---command stderr------------
# | error: 'cpp20-note' diagnostics seen but not expected:                                                                                                                                                                                                                                        
# |   File /home/dyung/src/git/merge/clang/test/APINotes/unsafe-buffer-usage.cpp Line 59: pass -fsafe-buffer-usage-suggestions to receive code hardening suggestions                                                                                                                              
# |   File /home/dyung/src/git/merge/clang/test/APINotes/unsafe-buffer-usage.cpp Line 64: pass -fsafe-buffer-usage-suggestions to receive code hardening suggestions                                                                                                                              
# |   File /home/dyung/src/git/merge/clang/test/APINotes/unsafe-buffer-usage.cpp Line 65: pass -fsafe-buffer-usage-suggestions to receive code hardening suggestions                                                                                                                              
# |   File /home/dyung/src/git/merge/clang/test/APINotes/unsafe-buffer-usage.cpp Line 66: pass -fsafe-buffer-usage-suggestions to receive code hardening suggestions                                                                                                                              
# | 4 errors generated.                                                                                                                                                                                                                                                                           
# `-----------------------------   
```

This change updates the test to work with both C++17 and C++20 by
explicitly testing both modes and adding the extra expected notes when
in C++20 mode.
DeltaFile
+22-5clang/test/APINotes/unsafe-buffer-usage.cpp
+22-51 files

LLVM/project e6b1324clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_sve2p3_subp.c, llvm/test/CodeGen/AMDGPU regalloc-hoist-spill-live-range-upd.ll

Merge branch 'main' into users/kparzysz/delimited-metadirective
DeltaFile
+5,061-4,162llvm/test/CodeGen/Thumb2/mve-clmul.ll
+2,870-0llvm/test/CodeGen/AMDGPU/regalloc-hoist-spill-live-range-upd.ll
+1,509-924mlir/utils/vscode/package-lock.json
+1,779-131llvm/test/CodeGen/SystemZ/memset-08.ll
+970-0llvm/test/CodeGen/SystemZ/memmove-01.ll
+928-0clang/test/CodeGen/AArch64/sve2p3-intrinsics/acle_sve2p3_subp.c
+13,117-5,2171,325 files not shown
+51,281-17,9291,331 files

FreeNAS/freenas 5b9231dsrc/middlewared/middlewared/utils/nvmet kernel.py

Log path and values on configfs write failure
DeltaFile
+8-1src/middlewared/middlewared/utils/nvmet/kernel.py
+8-11 files

FreeBSD/ports 961eb4bdevel/outcome pkg-plist distinfo, devel/outcome/files patch-CMakeLists.txt

devel/outcome: update 2.2.12 → 2.2.15
DeltaFile
+17-0devel/outcome/files/patch-CMakeLists.txt
+14-0devel/outcome/pkg-plist
+7-5devel/outcome/distinfo
+4-3devel/outcome/Makefile
+42-84 files

FreeBSD/ports d31fe59misc/llama-cpp Makefile pkg-message, misc/llama-cpp/files llama-server.in

misc/llama-cpp: Multiple changes

1. Allow for multiple models to be selected at the run-time
2. Remove the leftover VULKAN option. VULKAN is enabled in misc/ggml.

PR:             294795 (allow multiple models at run-time)
Requested by:   Ivan Rozhuk <rozhuk.im at gmail.com>
DeltaFile
+8-9misc/llama-cpp/files/llama-server.in
+3-7misc/llama-cpp/Makefile
+9-0misc/llama-cpp/pkg-message
+20-163 files

FreeBSD/ports ad3e6bbmisc/onnxruntime distinfo Makefile.DISTFILES

misc/onnxruntime: update 1.24.4 → 1.25.1
DeltaFile
+7-7misc/onnxruntime/distinfo
+2-2misc/onnxruntime/Makefile.DISTFILES
+2-2misc/onnxruntime/Makefile
+1-1misc/onnxruntime/pkg-plist
+12-124 files

LLVM/project a3a2f46clang/docs OpenMPSupport.rst

[OpenMP] Documentation update (#194458)

Update to WIP entries for OpenMP 6.0
DeltaFile
+2-2clang/docs/OpenMPSupport.rst
+2-21 files

FreeNAS/freenas b3253a9src/middlewared/middlewared/plugins/nvmet subsys.py

Strip trailing whitespace from nvmet subsystem model string
DeltaFile
+3-3src/middlewared/middlewared/plugins/nvmet/subsys.py
+3-31 files

LLVM/project 73c948blldb/source/Target Process.cpp

fixup! cosmetic changes
DeltaFile
+7-6lldb/source/Target/Process.cpp
+7-61 files

LLVM/project 5b70145lldb/test/API/windows/conpty TestConPTY.py

[lldb][windows] skip ConPTY tests on ARM64 Windows (#194688)

The tests are flaky on the aarch64 Windows bot. Skip them there while
investigating.
DeltaFile
+4-0lldb/test/API/windows/conpty/TestConPTY.py
+4-01 files

FreeBSD/src e139a49contrib/smart libsmart.c freebsd_dev.c

Revert "Vendor import of smart at 1.0.2"

This reverts commit 68e5b71517e947b4e3f349c970af362b47b45f27.
DeltaFile
+0-1,359contrib/smart/libsmart.c
+0-828contrib/smart/freebsd_dev.c
+0-334contrib/smart/smart.c
+0-245contrib/smart/smart.8
+0-174contrib/smart/libsmart.h
+0-158contrib/smart/libsmart_desc.c
+0-3,09810 files not shown
+0-3,36116 files

LLVM/project 66c1b6fllvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 bool-vector-bitcast-compare.ll dag-combine-setcc.ll

[AArch64] Optimize lowering of i1 vector reduction (#187912)

This pr optimizes code generation in AArch64 for comparing bitcast <N x
i1> results with 0 or -1 using eq/ne. For scenarios where only "all
zeros or all 1s" are considered, the backend no longer prioritizes
materializing packed bitmasks and using vector reduction methods like
addv/umaxv/uminv. Instead, it expands the boolean vector into a regular
integer vector and performs the comparison via a more direct scalar
comparison path. For 64-bit and 128-bit cases that can be folded down to
64-bit, a lighter instruction sequence like fmov + cmp/cmn + cset/csel
is generated.

Functionally, this brings several benefits:

- Optimized the `setcc(bitcast(vNi1), 0/-1)` and
`select_cc(bitcast(vNi1), 0/-1, ...)` modes.

- In scenarios like <8 x i1>, a zero/all-one check can be performed
directly on the entire comparison result, avoiding additional vector

    [6 lines not shown]
DeltaFile
+194-0llvm/test/CodeGen/AArch64/bool-vector-bitcast-compare.ll
+111-5llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+28-28llvm/test/CodeGen/AArch64/dag-combine-setcc.ll
+10-12llvm/test/CodeGen/AArch64/neon-anyof-splat.ll
+8-8llvm/test/CodeGen/AArch64/illegal-floating-point-vector-compares.ll
+351-535 files

LLVM/project 5928744lldb/include/lldb/Target Process.h, lldb/source/Target Process.cpp ThreadPlanStepOverBreakpoint.cpp

fixup! use Error instead of Status
DeltaFile
+14-12lldb/source/Target/Process.cpp
+4-4lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
+2-2lldb/include/lldb/Target/Process.h
+20-183 files

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

fixup! fix typos
DeltaFile
+1-1lldb/include/lldb/Target/Process.h
+1-1lldb/source/Target/Process.cpp
+2-22 files

LLVM/project e93f771llvm/lib/Support ProgramStack.cpp

adds `<cstdlib>` to `ProgramStack.cpp` (#194249)

Building `LLVMSupport` with libc++ causes Clang to error because
`malloc` and `free` aren't declared before they're used in
`ProgramStack.cpp`.
DeltaFile
+2-0llvm/lib/Support/ProgramStack.cpp
+2-01 files

FreeBSD/ports 8539461java/sqlitejdbc Makefile

java/sqlitejdbc: little cleanup

- bump portrevision so new packages with the deprecation annotation
  and expiration date are build
- be a bit more pedantic about the 3 months expiration date so we are
  sure the next quarterly branch contains this package
- mark as conflicting with the new port, they install the same
  .so library file

PR:     293491
Approved-by:    maintainer timeout (Lapo Luchini)
DeltaFile
+4-2java/sqlitejdbc/Makefile
+4-21 files