multimedia/mkvtoolnix: fix build with libc++ 21
With libc++ 21 multimedia/mkvtoolnix fails to build, with errors similar
to:
In file included from lib/fmt/src/os.cc:13:
In file included from lib/fmt/include/fmt/os.h:11:
lib/fmt/include/fmt/format.h:745:28: fatal error: use of undeclared identifier 'malloc'
745 | T* p = static_cast<T*>(malloc(n * sizeof(T)));
| ^~~~~~
This is because malloc and free are defined in <cstdlib>, and os.h does
not explicitly include it. (Before libc++ 21, the fmt library was
"lucky" that <cstdlib> was included transitively, but this is no longer
the case.)
PR: 293182
Approved by: riggs (maintainer)
MFH: 2026Q1
[2 lines not shown]
multimedia/mkvtoolnix: fix build with libc++ 21
With libc++ 21 multimedia/mkvtoolnix fails to build, with errors similar
to:
In file included from lib/fmt/src/os.cc:13:
In file included from lib/fmt/include/fmt/os.h:11:
lib/fmt/include/fmt/format.h:745:28: fatal error: use of undeclared identifier 'malloc'
745 | T* p = static_cast<T*>(malloc(n * sizeof(T)));
| ^~~~~~
This is because malloc and free are defined in <cstdlib>, and os.h does
not explicitly include it. (Before libc++ 21, the fmt library was
"lucky" that <cstdlib> was included transitively, but this is no longer
the case.)
PR: 293182
Approved by: riggs (maintainer)
MFH: 2026Q1
[LifetimeSafety] 'erase' does not invaldiate node-based containers (#181216)
```cpp
// This pattern was previously flagged as a lifetime violation
for (auto it = my_map.begin(); it != my_map.end(); ) {
if (should_delete(*it)) {
my_map.erase(it++); // Safe in map, but flagged as invalidating 'it'
} else {
++it;
}
}
```
[Clang][AMDGPU][Docs] Add builtin documentation for AMDGPU builtins
Use the documentation generation infrastructure to document the AMDGPU builtins.
This PR starts with the ABI / Special Register builtins. Documentation for the
remaining builtin categories will be added incrementally in follow-up patches.
[Clang][TableGen] Add documentation generation infrastructure for builtins
Add a `-gen-builtin-docs` TableGen backend that generates RST
documentation from builtin definitions, modeled after the existing
attribute documentation system (`-gen-attr-docs`).
The emitter generates per-builtin RST sections grouped by category, including
prototype rendering with optional named parameters (via `ArgNames`), target
feature annotations, and documentation content. A mismatch between `ArgNames`
count and prototype parameter count is a fatal error.
[ScalarizeMaskedMemIntrin] Remove redundant RUN: line
5cfd815c14f378c50018f6967c027b758c3996a6 introduced redundant run lines
when doing some NewPM related cleanup. Remove them given they are
identical. LegacyPM coverage is handled through llc.
Reapply "[VPlan] Run narrowInterleaveGroups during general VPlan optimizations. (#149706)"
This reverts commit 8d29d09309654541fb2861524276ada6a3ebf84c.
The underlying issue causing the revert has been fixed independently
as 301fa24671256734df6b7ee65f23ad885400108e.
Original message:
Move narrowInterleaveGroups to to general VPlan optimization stage.
To do so, narrowInterleaveGroups now has to find a suitable VF where all
interleave groups are consecutive and saturate the full vector width.
If such a VF is found, the original VPlan is split into 2:
a) a new clone which contains all VFs of Plan, except VFToOptimize, and
b) the original Plan with VFToOptimize as single VF.
The original Plan is then optimized. If a new copy for the other VFs has
been created, it is returned and the caller has to add it to the list of
[10 lines not shown]
update lang/rust to 1.93.1
Announce: https://blog.rust-lang.org/2026/02/12/Rust-1.93.1/
Rust 1.93.1 resolves three regressions that were introduced in the 1.93.0 release.
- Don't try to recover a keyword as a non-keyword identifier, fixing an internal
compiler error (ICE) that especially affected rustfmt.
- Fix a clippy::panicking_unwrap false-positive on field access with an implicit
dereference.
- Revert an update to wasm-related dependencies, fixing file descriptor leaks on
the wasm32-wasip2 target. This only affects the rustup component for this
target, so downstream toolchain builds should check their own dependencies too.