[flang][mlir][OpenMP] Add linear modifier (val, ref, uval)
Add support for OpenMP linear modifiers `val`, `ref`, and `uval`
as defined in OpenMP 5.2 (5.4.6).
[libc] Add a smaller b36_char_to_int (#180841)
For ASCII systems, b36_char_to_int gets compiled into a jump table. That
jump table ends up being pretty large because it covers the range from
'0' (48) to 'z' (122). On size-constrained systems that can assume
ASCII, this patch provides a new flag: LIBC_CONF_CTYPE_SMALLER_ASCII
that forces a smaller implementation that doesn't compile into a jump
table.
Linux 7.0: also set setlease handler on directories (#18331)
It turns out the kernel can also take directory leases, most notably in
the NFS server. Without a setlease handler on the directory file ops,
attempts to open a directory over NFS can fail with EINVAL.
Adding a directory setlease handler was missed in 168023b603. This fixes
that, allowing directories to be properly accessed over NFS.
Sponsored-by: TrueNAS
Reported-by: Satadru Pramanik <satadru at gmail.com>
Signed-off-by: Rob Norris <rob.norris at truenas.com>
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
[ROCDL] Align mfma op description examples with the actual op (#186949)
Improves the example used in ROCDL mfma op descriptions to be more
relevant to its associated op. It is currently a random list of mfma
instructions which are replaced with a single example of the correct
intrinsic.
The description of `mfma.f32.16x16x16bf16.1k` previously :
```
Matrix fused multiply-add (MFMA) intrinsic. Computes `D = A * B + C`
with matrix operands. The `cbsz`, `abid`, and `blgp` attributes control
broadcast and block layout modes.
Example:
'''mlir
// MFMA with f32 inputs and 32-wide f32 accumulator.
%r0 = rocdl.mfma.f32.32x32x1f32 %a0, %b0, %c0, 0, 0, 0 :
(f32, f32, vector<32xf32>) -> vector<32xf32>
[22 lines not shown]
Dependency on devel/libfribidi stealthed into sdl3. Found by naddy@.
Add this and also disable SDL_DEPS_SHARED which sets dynamic library
loading as the default. This identified additional WANTLIBs and will
make new dependencies easier to spot.
[AMDGPU][NFC] Remove kernarg_segment_ptr regbankselect test (#186029)
The legalizer eliminates amdgcn_kernarg_segment_ptr before it reaches
RegBankSelect and there is already a pre-existing
llvm.amdgcn.kernarg.segment.ptr.ll test to test end to end
functionality.
[CIR] Fix reference alignment to use pointee type
getNaturalTypeAlignment on a reference type returned pointer alignment
instead of pointee alignment. Pass the pointee type with
forPointeeType=true to match traditional codegen's
getNaturalPointeeTypeAlignment behavior. Fix applies to both argument
and return type attribute construction paths.
[dsymutil] Fall back to compatible triple in BinaryHolder (#186893)
When dsymutil can't find an exact match in its BinaryHolder, fall back
to a compatible triple instead of erroring out completely.
rdar://171676213
*: Fix WWW with broken anchors-as-comments
Case 1: WWW=https://example.com#foo
Here #foo is not part of the value of WWW since # introduces a comment
whether it's part of a word or not (quoting the word+# makes no
difference either). # needs to be escaped:
WWW=https://example.com\#foo
Case 2: WWW=https://example.com #foo
This is probably fallout from when WWW was moved from pkg-descr to
Makefile.
The anchors still exist on the actual websites too or I removed them.
[NVPTX] Fix scoped atomic when given runtime values (#185883)
Summary:
The `__scoped_` atomic builtins will expand to each supported scope in
the case of a runtime value. There are two problems:
1. Singlethreaded scope doesn't exist -> treat as no-op
2. Cluster is not supported on all tagets -> Widen to device scope
This is exactly how the AMDGPU backend handles it.
---------
Co-authored-by: gonzalobg <65027571+gonzalobg at users.noreply.github.com>
[lldb] Upstream arm64e support in ValueObject (#186906)
In #186001, I said the last large chunk of downstream PtrAuth code in
LLDB was the expression evaluator support. However, that wasn't
accurate, as we also have changes to thread this through ValueObject.
[flang][OpenMP][CUDA] Place privatized device allocatable descriptors in managed memory (#187114)
When an OpenMP private clause privatizes a CUDA Fortran allocatable
device array, the Fortran descriptor for the private copy must be
accessible from both the host and the GPU. Without this change, the
descriptor lives on the host stack (via the OpenMP runtime's
CreateAlloca), which a CUF kernel running on the GPU cannot
dereference—resulting in cudaErrorIllegalAddress.
This patch modifies the omp.private init/dealloc region generation in
PrivateReductionUtils.cpp with three changes:
1. Allocate the descriptor in managed memory
2. Set allocator_idx = 2 on the null fir.embox
3. Free the managed descriptor
Source example:
```
real(8), device, allocatable :: adev(:)
[47 lines not shown]
expat: update to 2.7.5.
Ok maya@
Release 2.7.5 Tue March 17 2026
Security fixes:
#1158 CVE-2026-32776 -- Fix NULL function pointer dereference for
empty external parameter entities; it takes use of both
functions XML_ExternalEntityParserCreate and
XML_SetParamEntityParsing for an application to be
vulnerable.
#1161 #1162 CVE-2026-32777 -- Protect from XML_TOK_INSTANCE_START
infinite loop in function entityValueProcessor; it takes
use of both functions XML_ExternalEntityParserCreate and
XML_SetParamEntityParsing for an application to be
vulnerable.
#1163 CVE-2026-32778 -- Fix NULL dereference in function setContext
on retry after an earlier ouf-of-memory condition; it takes
use of function XML_ParserCreateNS or XML_ParserCreate_MM
[31 lines not shown]
sysutils/beats93: New port: Send logs, network, metrics and heartbeat to Elasticsearch or Logstash 9.3.x
Release Notes:
https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.3.1
PR: 293759
Approved by: elastic (maintainer, implicit - inactive for more than 6 months)
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
sysutils/beats92: New port: Send logs, network, metrics and heartbeat to Elasticsearch or Logstash 9.2.x
Release Notes:
https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.2.6
PR: 291019
Approved by: elastic (maintainer, implicit - inactive for more than 6 months)
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
sysutils/beats91: New port: Send logs, network, metrics and heartbeat to Elasticsearch or Logstash 9.1.x
Release Notes:
https://www.elastic.co/docs/release-notes/beats#beats-release-notes-9.1.10
PR: 291018
Approved by: elastic (maintainer, implicit - inactive for more than 6 months)
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>