NetBSD/src KhQckwqlibexec/ld.elf_so search.c

   ld.elf_so: Fix one more mistake in handling _rtld_load_object.

   This can return NULL (meaning object not found or something went wrong
   with the object) or OBJ_ERR (meaning the object has DF_1_NOOPEN set or
   the caller passed RTLD_NOLOAD to dlopen() and the object was not
   already loaded) or a valid object.

   I reviewed all paths out of _rtld_load_object to make sure they
   gracefully handle all three cases (NULL, OBJ_ERR, valid object), and
   this assertion was the only path that didn't.

   Fixes buggy assertion added for:

   PR lib/59751: dlclose is not MT-safe depending on the libraries
   unloaded

   May fix:

   PR bin/60472: ld.elf_so(1) changes cause a segmentation fault in
   dlopen(3)
VersionDeltaFile
1.30+3-4libexec/ld.elf_so/search.c
+3-41 files

LLVM/project 80b6554flang/include/flang/Lower ConvertConstant.h, flang/lib/Lower ConvertVariable.cpp ConvertConstant.cpp

[flang] Lower initial values via ConvertConstant instead of the legacy expression lowering (#210621)

Global and component initial values were lowered with
`createSomeInitializerExpression` (the legacy, non-HLFIR expression
lowering). Route them through ConvertConstant instead, which is
self-contained and safe inside a fir.global initializer region: it never
consults the symbol map, allocates temporaries, or outlines constants
into memory.

Observable IR change: fir.no_reassoc no longer appears in fir.global
initializer regions for parenthesized scalar/derived constants. Update
global-initialization-parens.f90 -- previously a pre-commit baseline
pinning the old fir.no_reassoc behavior -- to assert the new folded
form, and add common-block-derived-initialization.f90 (a
DATA-initialized common block with a derived-type member).

Assisted-by: AI
DeltaFile
+26-50flang/lib/Lower/ConvertVariable.cpp
+43-28flang/test/Lower/global-initialization-parens.f90
+33-3flang/lib/Lower/ConvertConstant.cpp
+35-0flang/test/Lower/common-block-derived-initialization.f90
+8-0flang/include/flang/Lower/ConvertConstant.h
+145-815 files

NetBSD/pkgsrc-wip 9e3977efreesynd Makefile PLIST, freesynd/patches patch-engine_CMakeLists.txt patch-kernel_src_model_missionbriefing.cpp

freesynd: update to 0.9
DeltaFile
+26-12freesynd/Makefile
+26-0freesynd/patches/patch-engine_CMakeLists.txt
+22-0freesynd/patches/patch-kernel_src_model_missionbriefing.cpp
+11-10freesynd/PLIST
+16-0freesynd/patches/patch-data_CMakeLists.txt
+15-0freesynd/patches/patch-engine_include_fs-engine_io_keys.h
+116-226 files not shown
+188-2512 files

FreeBSD/ports c509171math/py-fenics-basix Makefile

math/py-fenics-basix: Add USES=cmake:indirect
DeltaFile
+2-3math/py-fenics-basix/Makefile
+2-31 files

LLVM/project e6103d7llvm/lib/Target/AMDGPU AMDGPUISelDAGToDAG.cpp, llvm/test/CodeGen/AMDGPU packed-fp64.ll packed-u64.ll

[AMDGPU] Relax SGPR splat selection for PK_*64 (#210790)

These instructions replicate SGPR operands into high 64-bit channel
w/o opsel.
DeltaFile
+77-45llvm/test/CodeGen/AMDGPU/packed-fp64.ll
+46-2llvm/test/CodeGen/AMDGPU/packed-u64.ll
+3-4llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
+126-513 files

FreeBSD/ports 4d21e54graphics/xournalpp Makefile, graphics/xournalpp/files patch-src_util_PathUtil.cpp

graphics/xournalpp: Replace /proc/self/exe with the FreeBSD equivalent

Some people reported that xournalpp fails to start, but I couldn't
reproduce this for some reason before this fix. It worked fine for me
every time I used it.

PR:             295834
Reported by:    Julian Ospald <hasufell at posteo.de>
DeltaFile
+14-0graphics/xournalpp/files/patch-src_util_PathUtil.cpp
+1-0graphics/xournalpp/Makefile
+15-02 files

NetBSD/pkgsrc W4mNbwydoc CHANGES-2026

   doc: Updated www/nginx to 1.30.4nb1
VersionDeltaFile
1.4618+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc DwyF3upwww/nginx distinfo Makefile

   nginx: Update to 1.30.4

   Changes with nginx 1.30.4                                        15 Jul 2026

       *) Security: heap buffer overflow might occur in a worker process when
          using the map directive with regex matching if the map variable was
          included in a string expression after a capture affected by this map;
          a similar issue might happen when using a non-cacheable variable in a
          string expression (CVE-2026-42533).
          Thanks to Mufeed VH of Winfunc Research and Maxim Dounin.

       *) Security: uninitialized memory access might occur when using unnamed
          regex captures with the "slice" directive or background cache update,
          which could result in worker process memory disclosure or worker
          process termination (CVE-2026-60005).

       *) Security: use-after-free might occur when processing a specially
          crafted proxied backend response with the ngx_http_ssi_filter_module
          (CVE-2026-56434).
          Thanks to P4P3R-HAK.
VersionDeltaFile
1.144+4-4www/nginx/distinfo
1.195+2-2www/nginx/Makefile
+6-62 files

LLVM/project 5809c75flang/lib/Lower/OpenMP ClauseProcessor.cpp Utils.cpp, flang/test/Lower/OpenMP task-affinity.f90 depend-iterator.f90

[flang][OpenMP] Lower iterator indices with genExprValue instead of the legacy expression lowering (#210385)

`getIteratorElementIndices()` lowered the depend/affinity iterator
subscript expressions with `createSomeExtendedExpression` (the legacy,
non-HLFIR expression lowering). Switch it to
`AbstractConverter::genExprValue`, matching the idiom already used
elsewhere in OpenMP/Utils.cpp, so this code no longer depends on the
legacy expression lowering.

The iterator LIT tests are updated to reflect the induction values now
being materialized in memory (store + hlfir.declare + load) and the
subscript arithmetic lowering through HLFIR (hlfir.no_reassoc instead of
fir.no_reassoc).

Assisted-by: AI
DeltaFile
+62-15flang/test/Lower/OpenMP/task-affinity.f90
+48-13flang/test/Lower/OpenMP/depend-iterator.f90
+22-8flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+3-5flang/lib/Lower/OpenMP/Utils.cpp
+135-414 files

FreeBSD/ports 5bf2aaddevel/juce Makefile pkg-plist

devel/juce: Remove .orig files from pkg-plist

PR:             295258
Requested by:   Roger Olofsson <raggen at raggens.net>
DeltaFile
+4-1devel/juce/Makefile
+0-2devel/juce/pkg-plist
+4-32 files

FreeBSD/src 3811003sys/dev/ena ena.c

ena: Put taskqueues into correct domain if !RSS

When compiled without 'options RSS', the ena driver created taskqueues
using taskqueue_start_threads_cpuset passing a mask value of NULL,
both in the ena_setup_tx_resources path (for enqueues) and in the
ena_create_io_queues path (for the completion-processing).

In the default configuration, on most EC2 instances, this results in
taskqueues running in the right NUMA domain, but only by accident; in
non-default configurations (e.g. with with multiple EBS volumes
attached and associated NVMe taskqueues) the taskqueues may land in
the wrong NUMA domain even on instance types where the one-EBS-one-ENA
case produces the desired results.

Set (struct ena_que)->domain and use that to inform the choice of CPU
sets.  On a c8gn.48xlarge EC2 instance this doubles throughput on a
32-TCP-stream benchmark.

Reviewed by:    akiyano

    [5 lines not shown]
DeltaFile
+11-1sys/dev/ena/ena.c
+11-11 files

NetBSD/pkgsrc-wip 8244d1dutfcpp Makefile buildlink3.mk, utfcpp/patches patch-CMakeLists.txt patch-utf8cppConfig.cmake.in

utfcpp: import of 4.1.1
DeltaFile
+27-0utfcpp/patches/patch-CMakeLists.txt
+18-0utfcpp/Makefile
+13-0utfcpp/patches/patch-utf8cppConfig.cmake.in
+13-0utfcpp/buildlink3.mk
+11-0utfcpp/PLIST
+9-0utfcpp/DESCR
+91-02 files not shown
+99-08 files

FreeBSD/src acee62fsys/dev/ena ena.c

ena: Put taskqueues into correct domain if !RSS

When compiled without 'options RSS', the ena driver created taskqueues
using taskqueue_start_threads_cpuset passing a mask value of NULL,
both in the ena_setup_tx_resources path (for enqueues) and in the
ena_create_io_queues path (for the completion-processing).

In the default configuration, on most EC2 instances, this results in
taskqueues running in the right NUMA domain, but only by accident; in
non-default configurations (e.g. with with multiple EBS volumes
attached and associated NVMe taskqueues) the taskqueues may land in
the wrong NUMA domain even on instance types where the one-EBS-one-ENA
case produces the desired results.

Set (struct ena_que)->domain and use that to inform the choice of CPU
sets.  On a c8gn.48xlarge EC2 instance this doubles throughput on a
32-TCP-stream benchmark.

Reviewed by:    akiyano

    [5 lines not shown]
DeltaFile
+11-1sys/dev/ena/ena.c
+11-11 files

NetBSD/pkgsrc-wip 0a223f2. Makefile, libADLMIDI Makefile PLIST

libADLMIDI: import of 1.6.1
DeltaFile
+24-0libADLMIDI/Makefile
+16-0libADLMIDI/PLIST
+13-0libADLMIDI/buildlink3.mk
+12-0libADLMIDI/DESCR
+5-0libADLMIDI/distinfo
+1-0Makefile
+71-06 files

NetBSD/pkgsrc-wip c39e7a4CRCpp Makefile DESCR, CRCpp/patches patch-CMakeLists.txt patch-cmake_CRCppConfig.cmake.in

CRCpp: import of 1.2.2.0
DeltaFile
+41-0CRCpp/patches/patch-CMakeLists.txt
+25-0CRCpp/Makefile
+16-0CRCpp/DESCR
+13-0CRCpp/buildlink3.mk
+11-0CRCpp/patches/patch-cmake_CRCppConfig.cmake.in
+7-0CRCpp/distinfo
+113-02 files not shown
+119-08 files

FreeBSD/ports 1861c8fwww/py-cachecontrol Makefile distinfo

www/py-cachecontrol: update 0.14.0 → 0.14.4

PR:     293437
DeltaFile
+15-2www/py-cachecontrol/Makefile
+9-3www/py-cachecontrol/distinfo
+24-52 files

FreeBSD/ports b5f3274misc/grok-build Makefile

misc/grok-build: Broken on 14

PR:     296863
DeltaFile
+1-0misc/grok-build/Makefile
+1-01 files

FreeBSD/src eca7b25sys/kern sys_process.c

kern/sys_ptrace: do not skip P2_PTRACEREQ wait for PT_CLEARSTEP/PT_GET_CHILDREN

Reported and reviewed by:       markj
Fixes:  d3b7bbee9275 ("ptrace(2): add PT_GET_CHILDREN")
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D58364
DeltaFile
+16-17sys/kern/sys_process.c
+16-171 files

FreeBSD/ports 47e931blang Makefile, lang/bun-linux Makefile pkg-message

lang/bun-linux: New port: Linux version of Bun JavaScript runtime and package manager
DeltaFile
+64-0lang/bun-linux/Makefile
+14-0lang/bun-linux/pkg-message
+14-0lang/bun-linux/pkg-descr
+5-0lang/bun-linux/distinfo
+1-0lang/Makefile
+98-05 files

FreeBSD/ports bb14266misc/github-copilot-cli distinfo Makefile

misc/github-copilot-cli: update 1.0.71 → 1.0.72
DeltaFile
+5-5misc/github-copilot-cli/distinfo
+1-1misc/github-copilot-cli/Makefile
+0-0misc/github-copilot-cli/copilot
+6-63 files

LLVM/project 890b11eclang/lib/Basic/Targets SPIR.h DirectX.h

[clang] Use 0 for wasm_funcref in non-Wasm address space maps (NFCI) (#210253)

The __funcref keyword is only supported by the WebAssembly target, so
the wasm_funcref entries in other targets' address space maps are
unused.

Use 0 for these entries, which is consistent with other unsupported
address spaces.
DeltaFile
+2-6clang/lib/Basic/Targets/SPIR.h
+1-3clang/lib/Basic/Targets/DirectX.h
+1-3clang/lib/Basic/Targets/NVPTX.h
+1-3clang/lib/Basic/Targets/AArch64.h
+1-3clang/lib/Basic/Targets/TCE.h
+1-3clang/lib/Basic/Targets/X86.h
+7-216 files

LLVM/project 35020b2llvm/unittests/Support ProgramTest.cpp

[Support][Unit] Fix ProgramTest.cpp build warning unused variable 'RetCode' (#210699)

RetCode is unused if __MINGW32__ is defined.
DeltaFile
+3-2llvm/unittests/Support/ProgramTest.cpp
+3-21 files

LLVM/project c26e99cflang/lib/Optimizer/Transforms/CUDA CUFDeviceGlobal.cpp, flang/test/Fir/CUDA cuda-device-global-cycle.fir

[flang][cuda] Avoid infinite loop while processing globals (#210805)
DeltaFile
+25-0flang/test/Fir/CUDA/cuda-device-global-cycle.fir
+11-8flang/lib/Optimizer/Transforms/CUDA/CUFDeviceGlobal.cpp
+36-82 files

FreeBSD/ports a70c5c3security/sudo-rs Makefile pkg-plist

security/sudo-rs: Add NLS support

PR:             296629
DeltaFile
+17-1security/sudo-rs/Makefile
+5-0security/sudo-rs/pkg-plist
+22-12 files

FreeBSD/src deddfa3sys/kern sched_4bsd.c

sched_4bsd: Allocate runqueues only for present CPUs

4BSD has been allocating an array of MAXCPU runqueues, runq_pcpu[],
instead of one runqueue per actually present CPU.  On amd64, MAXCPU is
1024 and 'struct runq' is 4128 bytes, causing runq_pcpu[] to take more
than 4 MiB of memory.  On the vast majority of current systems, which
have at most 32 cores with SMT, this is a waste of memory.

Besides providing per-CPU runqueues, runq_pcpu[] has also been used to
determine the CPU ID of a given thread's associated runqueue through
pointer arithmetic.

Since per-CPU structures are only allocated for present CPUs, in order
to save space, move the runqueues to per-CPU fields and, for each thread
('struct ts_sched'), replace its runqueue pointer by the CPU ID of the
runqueue it is in (new 'ts_rqcpu' field).  Set the thread's CPU ID to
the special NOCPU value when it is running on the global runqueue.

Drop the SKE_RUNQ_PCPU() macro as it is now simply equivalent to

    [11 lines not shown]
DeltaFile
+30-27sys/kern/sched_4bsd.c
+30-271 files

FreeBSD/src 26ef666sys/kern sched_4bsd.c

sched_4bsd: Rename the global runqueue

In an upcoming change whose purpose is to stop having 4BSD always
allocate MAXCPU runqueues, wasting space on most machines, 'struct
td_sched' will store the CPU ID to which a thread is bound/pinned
instead of a pointer to the corresponding runqueue.  As a consequence,
existing functions manipulating a thread's runqueue will need to point
to the inferred runqueue through a local variable.  The name 'runq' is
the ideal one for these local variables, but before this change it
designated the global runqueue, also causing unnecessary ambiguity.

Thus, rename the global runqueue to the more explicit 'runq_global'.
Arguably, this should have been performed as part of commit e17c57b14ba9
("- Implement cpu pinning and binding. (...)").

No functional change (intended).

[olce: Massaged the commit message.  Tested with source builds.]


    [5 lines not shown]
DeltaFile
+16-16sys/kern/sched_4bsd.c
+16-161 files

FreeBSD/src 5217b4asys/kern sched_4bsd.c

sched_4bsd: Remove obsolete SMP scaling for ticks per priority level

The INVERSE_ESTCPU_WEIGHT scaling had been introduced by commit
b698380f33ef ("Quick fix for scaling of statclock ticks in the SMP
case. ...") to leave more discrimination room for multiple CPUs possibly
adding their ticks to the same 'struct ksegrp' (but also slightly
changing how CPU hogs are penalized).

Then, commit 8460a577a4b4 ("Make KSE a kernel option, ...") introduced
the current thread-based code, where tick accounting is only done on the
current thread, which renders this trick obsolete on !KSE.

Finally, when KSE was removed, the trick became generally obsolete.

The trick is actually even harmful because it changes the intended
behavior of priorizing more the CPUs that use the less ticks (and so,
impairs boosting "interactive" processes).

Remove it now.  Clamping of 'ts_estcpu' and its relation to the

    [6 lines not shown]
DeltaFile
+0-4sys/kern/sched_4bsd.c
+0-41 files

FreeBSD/src e8dec00sys/kern sched_4bsd.c

sched_4bsd: Fix conflating priority of differently-niced CPU-bound threads

We introduced (PRI_MAX_TIMESHARE - PRI_MIN_TIMESHARE) as part of
ESTCPULIM() in commit eebc148f25c3 ("sched_4bsd: ESTCPULIM(): Allow any
value in the timeshare range") in order to use more than a fixed number
(40) of all the available priority levels in the timeshare range (136
before the 256-queue runqueue work, 224 now) to take into account the
number of ticks a thread has run ('ts_estcpu').

In the computation of a new thread's priority (resetpriority()), in
addition to the "ticks running" contribution, the final priority also
includes a "nice" value contribution.  The final value is clamped into
the [PRI_MIN_TIMESHARE; PRI_MAX_TRIMESHARE] range.

Problem is that the new "ticks running" contribution now can lead to
a computed priority value that exceeds PRI_MAX_TRIMESHARE, and is thus
finally clamped to PRI_MAX_TIMESHARE, which becomes an alias for all
out-of-bound values.  In particular, this can conflate CPU-hungry
threads.  With at least two of them competing on the same CPU, with an

    [20 lines not shown]
DeltaFile
+7-5sys/kern/sched_4bsd.c
+7-51 files

OpenBSD/ports ZEi9o3Wwww/py-fastapi Makefile

   add RDEP annotated_doc
VersionDeltaFile
1.7+5-2www/py-fastapi/Makefile
+5-21 files

LLVM/project b290a41lldb/source/Plugins/ABI/RISCV ABISysV_riscv.cpp, lldb/test/API/functionalities/gdb_remote_client TestGDBServerTargetXML.py

[lldb][RISCV] Fix x8 register aliasing for gdb-remote targets (#209070)

GDB remote target descriptions can expose the RISC-V `x8` register as
`fp`. LLDB previously used `fp` as the primary name and `s0` as the
alternate name, leaving no register name for `x8`.

This commit changes `s0` as the primary name, `x8` as the alternate
name, and mark the register as the generic frame pointer. Allowing `fp`,
`s0`, and `x8` to resolve to the same register.

Fixes #127900
DeltaFile
+5-4lldb/source/Plugins/ABI/RISCV/ABISysV_riscv.cpp
+4-4lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
+9-82 files