LLVM/project c31c334libcxx/docs/Status Cxx26Issues.csv Cxx29Issues.csv, libcxx/include/__optional nullopt_t.h

[libc++][optional] LWG4497: `std::nullopt_t` should be comparable (#214975)

Implements https://wg21.link/LWG4497

Closes #189854

Also implements LWG4612: https://cplusplus.github.io/LWG/issue4612

---------

Co-authored-by: Mohamed Atef <mohamedatef1698 at gmail.com>
Co-authored-by: Hristo Hristov <zingam at outlook.com>
DeltaFile
+102-0libcxx/test/std/utilities/optional/optional.nullopt/compare.three_way.pass.cpp
+16-0libcxx/include/__optional/nullopt_t.h
+3-0libcxx/docs/Status/Cxx29Issues.csv
+1-1libcxx/docs/Status/Cxx26Issues.csv
+122-14 files

OpenBSD/src 6RsQoYhshare/man/man7 roff.7

   ourput -> output
VersionDeltaFile
1.107+2-2share/man/man7/roff.7
+2-21 files

LLVM/project 391dd41compiler-rt/lib/asan asan_malloc_win.cpp, compiler-rt/lib/builtins emutls.c gcc_personality_v0.c

[compiler-rt] Clean up Windows includes in sanitizer runtimes (#216586)

Extracted from https://github.com/llvm/llvm-project/pull/209902.
It's one of the patches that enables ASan and UBSan in GCC for Windows.

Co-authored-by: Hannes Domani <ssbssa at yahoo.de>
DeltaFile
+8-6compiler-rt/lib/asan/asan_malloc_win.cpp
+1-1compiler-rt/lib/builtins/gcc_personality_v0.c
+1-0compiler-rt/lib/builtins/emutls.c
+10-73 files

LLVM/project 9e51d75llvm/include/llvm/ADT FoldingSet.h, llvm/lib/Support FoldingSet.cpp

[ADT] Fix formatting in FoldingSet.* (NFC) (#216591)

I'm planning to work on FoldingSet.
DeltaFile
+55-70llvm/include/llvm/ADT/FoldingSet.h
+43-35llvm/lib/Support/FoldingSet.cpp
+2-3llvm/unittests/ADT/FoldingSet.cpp
+100-1083 files

FreeBSD/src 94596f9sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files

FreeBSD/src 1c83638share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

OpenBSD/src yOpor9yusr.bin/sndiod midi.c

   correct test for non-NULL; ok ratchov@
VersionDeltaFile
1.46+2-2usr.bin/sndiod/midi.c
+2-21 files

FreeBSD/src c577d5esys/dev/igc igc_defines.h if_igc.c

igc: Work around I225 v1 minimum IPG erratum

I225 v1 cannot receive the minimum inter-packet gap required at
2.5 Gb/s.  For affected back-to-back links, Intel recommends using a
15-byte transmit IPG instead of 12 bytes.

Program TIPG.IPGT to 0xb for pre-v2 I225 devices at 2.5 Gb/s and
restore the default at lower speeds.  Avoid penalizing fixed I225 and
I226 parts.

(cherry picked from commit 709426551c6a3607fb5a33f5b8dbb87cfa9c8125)
DeltaFile
+29-0sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_defines.h
+30-02 files

FreeBSD/src f310b83share/man/man4 igc.4, sys/dev/igc if_igc.h if_igc.c

igc: Add VLAN hardware filtering

Borrow the e1000 VLAN filter table

Ambiguous presence of the feature by Intel was settled by DPDK and
emperical testing.

Relnotes:       yes

(cherry picked from commit 8f779f159e2198c85b4fcb8685989879a9330104)
DeltaFile
+107-9sys/dev/igc/if_igc.c
+3-3share/man/man4/igc.4
+3-0sys/dev/igc/if_igc.h
+113-123 files

FreeBSD/src 49c6cf8sys/dev/igc igc_regs.h igc_mac.c

igc: Correct hardware error statistics

Track RERC separately instead of adding receive errors to the collision
count, and read the previously omitted RXERRC register.  Include RFC in
input errors because CRCERRS does not count bad-CRC runts, implementing
the I225 length-error accounting workaround alongside RUC and ROC.

Stop treating host transmit MAC discards as receive errors.  Expose both
RERC and HTDPMC as dedicated MAC statistics so their overlapping counts
remain available without corrupting aggregate interface counters.

(cherry picked from commit a108ee9138a698f212d6d6832d54e88ce6786617)
DeltaFile
+14-3sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_regs.h
+1-0sys/dev/igc/igc_mac.c
+1-0sys/dev/igc/igc_hw.h
+17-34 files

FreeBSD/src 3fab6b2sys/dev/igc igc_defines.h if_igc.c

igc: Work around I225 v1 minimum IPG erratum

I225 v1 cannot receive the minimum inter-packet gap required at
2.5 Gb/s.  For affected back-to-back links, Intel recommends using a
15-byte transmit IPG instead of 12 bytes.

Program TIPG.IPGT to 0xb for pre-v2 I225 devices at 2.5 Gb/s and
restore the default at lower speeds.  Avoid penalizing fixed I225 and
I226 parts.

(cherry picked from commit 709426551c6a3607fb5a33f5b8dbb87cfa9c8125)
DeltaFile
+29-0sys/dev/igc/if_igc.c
+1-0sys/dev/igc/igc_defines.h
+30-02 files

HardenedBSD/src 3e4333clib/libc/gen fts.c, lib/libc/tests/gen fts_regress_test.c

Merge remote-tracking branch 'rad/hardened/current/master' into hardened/current/pledge
DeltaFile
+58-0lib/libc/tests/gen/fts_regress_test.c
+16-8sys/net/if_epair.c
+7-3share/man/man4/epair.4
+2-1usr.sbin/zonectl/zonectl.c
+1-1lib/libc/gen/fts.c
+1-0sys/arm64/linux/linux_emul_md.c
+85-132 files not shown
+87-138 files

HardenedBSD/src 4b93eaelib/libc/gen fts.c, lib/libc/tests/gen fts_regress_test.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+58-0lib/libc/tests/gen/fts_regress_test.c
+16-8sys/net/if_epair.c
+7-3share/man/man4/epair.4
+2-1usr.sbin/zonectl/zonectl.c
+1-1lib/libc/gen/fts.c
+1-0sys/arm64/linux/linux_emul_md.c
+85-132 files not shown
+87-138 files

HardenedBSD/src 39fc649share/man/man4 ix.4, sys/dev/ixgbe ixgbe.h if_ix.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+496-55sys/dev/ixgbe/if_sriov.c
+286-58sys/dev/ixgbe/if_ixv.c
+238-78sys/dev/ixgbe/if_ix.c
+53-0sys/net/iflib.c
+33-1share/man/man4/ix.4
+22-1sys/dev/ixgbe/ixgbe.h
+1,128-19310 files not shown
+1,196-21316 files

HardenedBSD/ports 0d4fed5mail/aerc distinfo, mail/aerc/files modules.txt

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+58-57mail/aerc/files/modules.txt
+102-0www/immich/Makefile
+45-47mail/aerc/distinfo
+75-0security/vuxml/vuln/2026.xml
+70-0www/immich/files/immich_server.in
+65-0www/immich-ml/files/immich_ml.in
+415-10438 files not shown
+757-17644 files

NetBSD/src x7nFluEsys/dev/pci files.virtio vioscsi.c

   Add VIOSCSI_MAX_TARGET and VIOSCSI_MAX_LUN options to reduce excessive probe time on QEMU
VersionDeltaFile
1.37+25-4sys/dev/pci/vioscsi.c
1.5+2-1sys/dev/pci/files.virtio
+27-52 files

LLVM/project caa9864orc-rt/include/orc-rt StringPool.h, orc-rt/test/unit StringPoolTest.cpp

[orc-rt] Nest StringPool handle types (#216615)

Move the handle types into StringPool as nested members:

  PooledStringPtr          -> StringPool::Ptr
  NonOwningPooledStringPtr -> StringPool::WeakPtr
  PooledStringPtrBase      -> StringPool::PtrBase
  StringPoolEntryUnsafe    -> StringPool::EntryUnsafe

Also tightens the WeakPtr -> Ptr contract: reconstructing a Ptr is only
well-defined while another Ptr keeps the entry alive.
DeltaFile
+69-74orc-rt/include/orc-rt/StringPool.h
+27-28orc-rt/test/unit/StringPoolTest.cpp
+96-1022 files

NetBSD/src UCdiNa5bin/pwd pwd.1

   pwd(1): minor tweaks, explicitly call -L "logical"
VersionDeltaFile
1.29+21-10bin/pwd/pwd.1
+21-101 files

LLVM/project fd2eb9flibcxx/test/std/containers/sequences/vector trivial_relocation.pass.cpp

[libc++][test] Mark `UNSUPPORTED` for a test relying on `[[clang::trivial_abi]]` for compilers not supporting it (#211736)

This patch marks `UNSUPPORTED` for compilers not supporting
`[[clang::trivial_abi]]` (MSVC and GCC earlier than GCC 17) for a test
relying on this attribute.
DeltaFile
+4-0libcxx/test/std/containers/sequences/vector/trivial_relocation.pass.cpp
+4-01 files

LLVM/project 15035c1llvm/include/llvm/ExecutionEngine/Orc SymbolLookupSet.h, llvm/unittests/ExecutionEngine/Orc CMakeLists.txt SymbolLookupSetTest.cpp

[ORC] Fix and rename SymbolLookupSet::removeDuplicates (#216574)

removeDuplicates uniqued on the (name, flags) pair, so a name appearing
with both RequiredSymbol and WeaklyReferencedSymbol survived twice --
leaving a set that containsDuplicates, which compares names only, still
reported as duplicated.

Replace it with mergeEntries, which merges by name. Where entries
disagree on flags the strongest requirement wins, so a missing
definition still fails the lookup. Renamed because the entries being
merged need not be exact duplicates.

removeDuplicates had no in-tree callers, so no existing behaviour
changes. Also adds a unit test for mergeEntries -- the first direct
coverage for SymbolLookupSet.
DeltaFile
+133-0llvm/unittests/ExecutionEngine/Orc/SymbolLookupSetTest.cpp
+26-5llvm/include/llvm/ExecutionEngine/Orc/SymbolLookupSet.h
+1-0llvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/Orc/BUILD.gn
+1-0llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
+161-54 files

LLVM/project 46b3a2borc-rt/include CMakeLists.txt, orc-rt/include/orc-rt StringPool.h

[orc-rt] Add StringPool for interning ref-counted strings. (#216571)

Adds StringPool, a thread-safe pool for interning strings (e.g. symbol
names, paths) behind ref-counted PooledStringPtr handles.
PooledStringPtr and NonOwningPooledStringPtr compare and hash by
pool-scoped pointer identity rather than content, and clearDeadEntries()
reclaims entries with no remaining owners.

No in-tree clients yet: I expect to use this in future commits for the
platform support classes.
DeltaFile
+249-0orc-rt/include/orc-rt/StringPool.h
+166-0orc-rt/test/unit/StringPoolTest.cpp
+1-0orc-rt/test/unit/CMakeLists.txt
+1-0orc-rt/include/CMakeLists.txt
+417-04 files

FreeBSD/ports 887848fcad/irsim Makefile

cad/irsim: Use https:// scheme for MASTER_SITES and WWW

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+2-2cad/irsim/Makefile
+2-21 files

HardenedBSD/ports 887848fcad/irsim Makefile

cad/irsim: Use https:// scheme for MASTER_SITES and WWW

Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+2-2cad/irsim/Makefile
+2-21 files

LLVM/project c926bfdcompiler-rt/test/asan/TestCases invalid-pointer-pairs-vector-extract.cpp

[asan][test] Exclude invalid-pointer-pairs-vector-extract.cpp from Solaris (#216606)

Intended to fix buildbot breakage on Solaris (XPASS), as reported in
https://github.com/llvm/llvm-project/pull/216532#issuecomment-5309297518

This change is only a transient step for the test, since the upcoming
https://github.com/llvm/llvm-project/pull/213546 is expected to make the
test pass on all platforms.
DeltaFile
+2-0compiler-rt/test/asan/TestCases/invalid-pointer-pairs-vector-extract.cpp
+2-01 files

FreeBSD/ports 3855ba2cad/xcircuit distinfo Makefile

cad/xcircuit: Update 3.10.44 => 3.10.45, take maintainership

* Add WWW for source code repository

Approved by:            danilo@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58866
DeltaFile
+4-3cad/xcircuit/Makefile
+3-3cad/xcircuit/distinfo
+7-62 files

HardenedBSD/ports 3855ba2cad/xcircuit distinfo Makefile

cad/xcircuit: Update 3.10.44 => 3.10.45, take maintainership

* Add WWW for source code repository

Approved by:            danilo@ (maintainer)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D58866
DeltaFile
+4-3cad/xcircuit/Makefile
+3-3cad/xcircuit/distinfo
+7-62 files

HardenedBSD/ports 5939902devel/libffi pkg-plist Makefile

devel/libffi: Update to 3.8.0

Contains BSD fixes for i386 and powerpc64
DeltaFile
+3-3devel/libffi/distinfo
+1-1devel/libffi/pkg-plist
+1-1devel/libffi/Makefile
+5-53 files

FreeBSD/ports 5939902devel/libffi pkg-plist Makefile

devel/libffi: Update to 3.8.0

Contains BSD fixes for i386 and powerpc64
DeltaFile
+3-3devel/libffi/distinfo
+1-1devel/libffi/pkg-plist
+1-1devel/libffi/Makefile
+5-53 files

FreeBSD/src 374799fsys/arm64/linux linux_emul_md.c, sys/i386/linux linux_emul_md.c

linux: sort sys headers in linux_emul_md.c

style(9): sys/param.h, then sys/systm.h, then the remaining kernel
headers alphabetically.  imgact.h belongs before proc.h.

Reported by:    jhibbits
MFC after:      1 month
Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D58884
DeltaFile
+1-1sys/i386/linux/linux_emul_md.c
+1-1sys/arm64/linux/linux_emul_md.c
+2-22 files

HardenedBSD/src 374799fsys/arm64/linux linux_emul_md.c, sys/i386/linux linux_emul_md.c

linux: sort sys headers in linux_emul_md.c

style(9): sys/param.h, then sys/systm.h, then the remaining kernel
headers alphabetically.  imgact.h belongs before proc.h.

Reported by:    jhibbits
MFC after:      1 month
Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D58884
DeltaFile
+1-1sys/i386/linux/linux_emul_md.c
+1-1sys/arm64/linux/linux_emul_md.c
+2-22 files