LLVM/project 98baf03libcxx/include/__optional comparison.h, libcxx/test/std/utilities/optional/optional.comp_with_t not_equal.pass.cpp less_than.pass.cpp

[libc++] Implement LWG4072: std::optional comparisons: constrain harder (#209968)

Resolves #118345.

Previously, the heterogeneous comparison operators (`==`, `!=`, `<`,
`<=`, `>`, `>=`) for arguments `T` and `U` don't check that `T` or `U`
are not a `std::optional` themselves. This allowed the operators to
cause ambiguous overload resolution instead of falling back to
`optional`'s own operators, which possibly caused hard error when there
should not be a matched overload.

This patch implements the resolution by adding
`!__is_std_optional_v<_Up>` (and the `_Tp` equivalent for the reversed)
to the constraints in all twelve involved operators.

As required by the LLVM Project's AI use policy:
- The fix and test processes were revised and verified with AI
assistance.
DeltaFile
+41-24libcxx/include/__optional/comparison.h
+23-0libcxx/test/std/utilities/optional/optional.comp_with_t/not_equal.pass.cpp
+23-0libcxx/test/std/utilities/optional/optional.comp_with_t/less_than.pass.cpp
+23-0libcxx/test/std/utilities/optional/optional.comp_with_t/less_equal.pass.cpp
+23-0libcxx/test/std/utilities/optional/optional.comp_with_t/greater_equal.pass.cpp
+23-0libcxx/test/std/utilities/optional/optional.comp_with_t/greater.pass.cpp
+156-242 files not shown
+180-258 files

FreeBSD/src cfe443econtrib/lutok Makefile.in aclocal.m4, contrib/lutok/admin config.sub ltmain.sh

contrib/lutok: remove autotools generated files

These files provide no value in the FreeBSD tree proper and change
frequently, depending on what machine I generate the release tarball on
(and what versions of autotools are on the host). Nuke the autogenerated
files to avoid bloating commit history/the tree.

MFC after:      3 days
Requested by:   Benjamin Jacobs <freebsd at dev.thsi.be>
DeltaFile
+0-23,387contrib/lutok/configure
+0-11,524contrib/lutok/admin/ltmain.sh
+0-8,488contrib/lutok/m4/libtool.m4
+0-1,802contrib/lutok/admin/config.sub
+0-1,733contrib/lutok/aclocal.m4
+0-1,574contrib/lutok/Makefile.in
+0-48,5089 files not shown
+0-52,77715 files

FreeBSD/src ca0e895contrib/lutok Makefile.in aclocal.m4, contrib/lutok/admin config.sub ltmain.sh

Revert "contrib/lutok: remove autotools and doxygen generated files"

I messed up the commit title. Redo it with a correct summary.

This reverts commit 3dbe1800848ca71f5cc083f1d5c5b4759b601fae.
DeltaFile
+23,387-0contrib/lutok/configure
+11,524-0contrib/lutok/admin/ltmain.sh
+8,488-0contrib/lutok/m4/libtool.m4
+1,802-0contrib/lutok/admin/config.sub
+1,733-0contrib/lutok/aclocal.m4
+1,574-0contrib/lutok/Makefile.in
+48,508-09 files not shown
+52,777-015 files

FreeBSD/src 3dbe180contrib/lutok Makefile.in aclocal.m4, contrib/lutok/admin config.sub ltmain.sh

contrib/lutok: remove autotools and doxygen generated files

These files provide no value in the FreeBSD tree proper and change
frequently, depending on what machine I generate the release tarball on
(and what versions of autotools are on the host). Nuke the autogenerated
files to avoid bloating commit history/the tree.

MFC after:      3 days
Requested by:   Benjamin Jacobs <freebsd at dev.thsi.be>
DeltaFile
+0-23,387contrib/lutok/configure
+0-11,524contrib/lutok/admin/ltmain.sh
+0-8,488contrib/lutok/m4/libtool.m4
+0-1,802contrib/lutok/admin/config.sub
+0-1,733contrib/lutok/aclocal.m4
+0-1,574contrib/lutok/Makefile.in
+0-48,5089 files not shown
+0-52,77715 files

LLVM/project 2fb1835lld/ELF SyntheticSections.cpp EhFrame.cpp, lld/test/ELF eh-frame-negative-pcrel-sdata4.s eh-frame-negative-pcrel-sdata2.s

Revert "[ELF] Omit zero-range FDEs from .eh_frame_hdr" (#221624)

Reverts llvm/llvm-project#220492

This causes the RISC-V buildbots to fail in the exception handling
tests, see https://lab.llvm.org/buildbot/#/builders/210/builds/12623 for
the gauntlet build logs

Apologies this revert is coming in so late, there is a proposed fix at
https://github.com/llvm/llvm-project/pull/221342 but it looks like it
might require additional rounds of review so reverting to get the
buildbots back to green for now

cc @MaskRay @Prabhuk
DeltaFile
+0-64lld/test/ELF/eh-frame-fde-encoding.s
+0-37lld/test/ELF/eh-frame-hdr-zero-range.s
+7-6lld/test/ELF/eh-frame-negative-pcrel-sdata2.s
+0-10lld/ELF/EhFrame.cpp
+0-4lld/ELF/SyntheticSections.cpp
+2-2lld/test/ELF/eh-frame-negative-pcrel-sdata4.s
+9-1231 files not shown
+9-1257 files

FreeNAS/freenas 7a8d4aasrc/freenas/usr/local/bin truenas-hw-license.py, src/middlewared/middlewared/alert/source license_status.py

Distinguish system-generated license records from issued ones

This commit adds changes to record where a license record came from, since we now write one ourselves during upgrade on unlicensed appliance hardware and several consumers were treating it as though iX had issued it.

Entitlement resolution deliberately ignores the origin - a system-generated record is meant to resolve exactly as an issued one does. This only changes alerting, the unlicensed to licensed transition hook, and what we report outward to TrueNAS Connect and support.
DeltaFile
+11-11src/middlewared/middlewared/utils/license/legacy.py
+18-1src/middlewared/middlewared/utils/license/types.py
+6-3src/middlewared/middlewared/plugins/truenas_connect/register.py
+5-3src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+4-3src/freenas/usr/local/bin/truenas-hw-license.py
+4-1src/middlewared/middlewared/alert/source/license_status.py
+48-225 files not shown
+61-2811 files

FreeNAS/freenas 8e2bd8dsrc/freenas/usr/local/bin truenas-hw-license.py, src/middlewared/middlewared/utils/license legacy.py

Write a legacy license record on unlicensed iX appliances

This commit adds changes to write a minimal legacy license record during upgrade on iX appliance hardware that carries no license at all, so those systems resolve entitlements as licensed hardware and future features have somewhere to be gated. Which features the record actually carries is deliberately minimal for now and a separate decision.

The record is stamped with a marker in customer_key so legacy normalization can tell it apart from a license an issuer signed, and it carries an empty HA serial so the parsed type stays ENTERPRISE_SINGLE and failover.licensed remains false.
DeltaFile
+115-0src/freenas/usr/local/bin/truenas-hw-license.py
+30-6src/middlewared/middlewared/utils/license/legacy.py
+145-62 files

FreeNAS/freenas 44c6ecasrc/freenas/usr/local/bin truenas-hw-license.py, src/middlewared/middlewared/alert/source license_status.py

Distinguish system-generated license records from issued ones

This commit adds changes to record where a license record came from, since we now write one ourselves during upgrade on unlicensed appliance hardware and several consumers were treating it as though iX had issued it.

Entitlement resolution deliberately ignores the origin - a system-generated record is meant to resolve exactly as an issued one does. This only changes alerting, the unlicensed to licensed transition hook, and what we report outward to TrueNAS Connect and support.
DeltaFile
+11-11src/middlewared/middlewared/utils/license/legacy.py
+18-1src/middlewared/middlewared/utils/license/types.py
+6-3src/middlewared/middlewared/plugins/truenas_connect/register.py
+5-3src/middlewared/middlewared/pytest/unit/plugins/test_truenas_connect.py
+4-3src/freenas/usr/local/bin/truenas-hw-license.py
+4-1src/middlewared/middlewared/alert/source/license_status.py
+48-225 files not shown
+61-2811 files

FreeNAS/freenas fe7c47dsrc/freenas/usr/local/bin truenas-hw-license.py, src/middlewared/middlewared/utils/license legacy.py

Write a legacy license record on unlicensed iX appliances

This commit adds changes to write a minimal legacy license record during upgrade on iX appliance hardware that carries no license at all, so those systems resolve entitlements as licensed hardware and future features have somewhere to be gated. Which features the record actually carries is deliberately minimal for now and a separate decision.

The record is stamped with a marker in customer_key so legacy normalization can tell it apart from a license an issuer signed, and it carries an empty HA serial so the parsed type stays ENTERPRISE_SINGLE and failover.licensed remains false.
DeltaFile
+115-0src/freenas/usr/local/bin/truenas-hw-license.py
+30-6src/middlewared/middlewared/utils/license/legacy.py
+145-62 files

OpenBSD/src XHFRGF1lib/libc/gen getexecpath.c

   remove unused local variable; ok deraadt@
VersionDeltaFile
1.2+1-3lib/libc/gen/getexecpath.c
+1-31 files

NetBSD/pkgsrc y3EO0Lfnet/nmap distinfo options.mk, net/nmap/patches patch-traceroute.cc

   nmap: fix build with GCC 12; allow Lua 5.4
VersionDeltaFile
1.1+14-0net/nmap/patches/patch-traceroute.cc
1.24+2-2net/nmap/options.mk
1.96+2-1net/nmap/distinfo
+18-33 files

LLVM/project c6fd19fllvm/lib/Transforms/Vectorize VPlanPatternMatch.h

[VPlan] Make m_False and m_True matchers stateless. NFC (#221581)

is_zero_int and is_one avoid storage unlike is_specific_int, and allow
the match function to be an inlined isZero/isOne call instead of
APInt::isSameValue.

Improves compile time:
https://llvm-compile-time-tracker.com/compare.php?from=8f7d3ba08f14c3d54b8b407d1758dbd1da01bb38&to=c766163e82ec7a377efc7a26ef1e6db38e0dec1d&stat=instructions:u
DeltaFile
+4-8llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h
+4-81 files

FreeBSD/ports 149d694editors/zed Makefile.crates distinfo, editors/zed/files patch-crates_gpui_src_gpui.rs patch-Cargo.lock

editors/zed: Update to 1.18.1

Changelog:
- https://github.com/zed-industries/zed/releases/tag/v1.18.0
- https://github.com/zed-industries/zed/releases/tag/v1.18.1

Reported by:    GitHub (watch releases)
DeltaFile
+209-285editors/zed/distinfo
+103-141editors/zed/Makefile.crates
+1-21editors/zed/files/patch-crates_remote__server_Cargo.toml
+20-2editors/zed/files/patch-crates_zed_src_main.rs
+8-8editors/zed/files/patch-Cargo.lock
+4-4editors/zed/files/patch-crates_gpui_src_gpui.rs
+345-4615 files not shown
+356-47211 files

LLVM/project f054924llvm/include/llvm/Support AMDGPUObjLinkingInfo.h, llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Add FUNC_WAVE32 for object linking info flag
DeltaFile
+35-19llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+5-5llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+3-1llvm/include/llvm/Support/AMDGPUObjLinkingInfo.h
+4-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+1-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
+1-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+49-252 files not shown
+51-258 files

LLVM/project 6a13183llvm/include/llvm/Support AMDGPUObjLinkingInfo.h, llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp

[AMDGPU] Add FUNC_WGP_MODE for object linking info flag
DeltaFile
+16-13llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+21-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+5-5llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+3-1llvm/include/llvm/Support/AMDGPUObjLinkingInfo.h
+4-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+2-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+51-193 files not shown
+54-199 files

OpenBSD/src JK3rSFTusr.sbin/relayd relayd.h

   correct relay_httpmethod_byname() prototype

   return type is enum httpmethod not u_int
VersionDeltaFile
1.295+2-2usr.sbin/relayd/relayd.h
+2-21 files

OpenBSD/src w6NXe9Husr.sbin/httpd httpd.h

   correct server_httpmethod_byname() prototype

   return type is enum httpmethod not unsigned int
VersionDeltaFile
1.183+2-2usr.sbin/httpd/httpd.h
+2-21 files

FreeBSD/ports 3f8703eeditors Makefile, editors/qhexedit2 distinfo pkg-descr

editors/qhexedit2: New port: Hex editor widget for Qt

PR:             298088
Approved by:    osa (mentor)
DeltaFile
+29-0editors/qhexedit2/Makefile
+9-0editors/qhexedit2/pkg-plist
+3-0editors/qhexedit2/distinfo
+3-0editors/qhexedit2/pkg-descr
+1-0editors/Makefile
+45-05 files

FreeBSD/ports 1ada976lang/cbmbasic distinfo Makefile, lang/cbmbasic/files patch-Makefile

lang/cbmbasic: Update to 20260403

Take maintainership.
Add DOCS and EXAMPLES options.

Changelog: https://github.com/mist64/cbmbasic/compare/352a313...3b9e48d

PR:             297811
Approved by:    osa (mentor)
DeltaFile
+16-7lang/cbmbasic/Makefile
+5-5lang/cbmbasic/files/patch-Makefile
+3-3lang/cbmbasic/distinfo
+24-153 files

LLVM/project ede6cddllvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUSubtarget.cpp AMDGPUAsmPrinter.cpp

[AMDGPU] Introduce ABI occupancy for object linking

This PR introduces ABI occupancy as the contract used to compile functions under
object linking. The default is the occupancy needed for a 1024 workitem
workgroup. It can be overridden for a module by the `amdgpu_abi_waves_per_eu`
module flag, replaced for a function by `amdgpu-flat-work-group-size`, or
tightened by an accepted `amdgpu-waves-per-eu` hint.

The ABI occupancy replaces the workgroup-derived minimum that an
`amdgpu-waves-per-eu` hint is validated against, so the hint can only make the
contract stricter.

The backend emits the selected occupancy in `.amdgpu.info` and uses it to
enforce the object linking register budget.
DeltaFile
+58-22llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+40-32llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
+62-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-module-flag.ll
+54-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-flat-work-group-size.ll
+49-2llvm/docs/AMDGPUUsage.rst
+49-0llvm/test/CodeGen/AMDGPU/object-linking-abi-occupancy-waves-per-eu.ll
+312-5610 files not shown
+420-6516 files

FreeBSD/ports e5ca6d7databases/pgbot Makefile distinfo

databases/pgbot: Update to 0.8.1

Upstream now requires Go 1.27, so pin USES=go:1.27,modules.
DeltaFile
+5-5databases/pgbot/distinfo
+2-2databases/pgbot/Makefile
+7-72 files

FreeBSD/ports 3c24969sysutils/mult Makefile distinfo

sysutils/mult: Update to 0.3.1

Upstream now requires Go 1.27, so pin USES=go:1.27,modules.
DeltaFile
+7-7sysutils/mult/distinfo
+2-3sysutils/mult/Makefile
+9-102 files

FreeBSD/ports 7569331net/nats-tui Makefile distinfo

net/nats-tui: Update to 1.2.0
DeltaFile
+5-5net/nats-tui/distinfo
+1-1net/nats-tui/Makefile
+6-62 files

OpenBSD/src oQb6T1busr.sbin/acme-client extern.h

   correct json_parse_response() prototype

   return type changed from int to enum chngstatus in json.c rev 1.11
VersionDeltaFile
1.25+2-2usr.sbin/acme-client/extern.h
+2-21 files

LLVM/project 91d3532clang/docs ReleaseNotes.md, clang/include/clang/Basic ABIVersions.def

[Clang][X86] Add Clang23Compat for __int128 bit-field ABI change (#220788)

Follow up of #216777.

Assisted-by: Claude Opus 4.8
DeltaFile
+35-0clang/test/CodeGen/X86/x86_64-unnamed-bitfield-abi-compat.c
+13-4clang/lib/CodeGen/Targets/X86.cpp
+7-6clang/docs/ReleaseNotes.md
+6-3llvm/lib/ABI/Targets/X86.cpp
+6-0clang/include/clang/Basic/ABIVersions.def
+2-1llvm/include/llvm/ABI/TargetInfo.h
+69-141 files not shown
+71-147 files

FreeBSD/ports 525b052sysutils/mkjail Makefile distinfo

sysutils/mkjail: Update to 0.2.3

Yes, getrelease() is still needed, now that create is pkgbase aware.
DeltaFile
+3-3sysutils/mkjail/distinfo
+1-1sysutils/mkjail/Makefile
+4-42 files

FreeBSD/ports 1ce6a8bwww/code-server Makefile, www/code-server/files patch-lib_vscode_src_vs_base_common_platform.ts

www/code-server: Fix extension installation

VS Code's platform detection does not know FreeBSD and falls back to
"Web", so the extension service rejected every non-web extension with
"not available in code-server for the Web platform". Treat FreeBSD as
Linux in platform.ts, the same way editors/vscode does, so extensions
can be installed.

Obtained from:  editors/vscode
Sponsored by:   Netzkommune GmbH
DeltaFile
+20-0www/code-server/files/patch-lib_vscode_src_vs_base_common_platform.ts
+1-0www/code-server/Makefile
+21-02 files

OpenBSD/src IrzHAzishare/misc airport

   Add Gimli, Manitoba, site of the Gimli Glider landing.
VersionDeltaFile
1.111+2-1share/misc/airport
+2-11 files

NetBSD/pkgsrc pI0R3nfdoc CHANGES-2026

   doc: Updated sysutils/pcmanfm-qt to 2.4.1nb2
VersionDeltaFile
1.5891+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc rijvSwPsysutils/pcmanfm-qt distinfo Makefile, sysutils/pcmanfm-qt/patches patch-pcmanfm_desktopwindow.cpp patch-CMakeLists.txt

   pcmanfm-qt: reflect recent Plasma update

   Include the upstream change "Set desktop screen explicitly on Wayland"
   now that our Plasma is new enough to provide the API required.
VersionDeltaFile
1.59+3-2sysutils/pcmanfm-qt/Makefile
1.22+1-3sysutils/pcmanfm-qt/distinfo
1.2+1-1sysutils/pcmanfm-qt/patches/patch-pcmanfm_desktopwindow.cpp
1.2+1-1sysutils/pcmanfm-qt/patches/patch-CMakeLists.txt
+6-74 files