[BOLT] Support buildid in pre-aggregated profile (#186931)
Sample addresses belonging to external DSOs (buildid doesn't match the
current file) are treated as external (0).
Buildid for the main binary is expected to be omitted.
Test Plan:
added pre-aggregated-perf-buildid.test
[openacc][flang] Avoid attaching declare post-actions to acc.terminator (#188157)
Fix lowering so post declare-actions are not attached to acc.terminator
(step back from trailing fir.result/acc.terminator before attaching).
---------
Co-authored-by: Slava Zakharin <szakharin at nvidia.com>
[TargetLowering] In BuildSDIV, avoid creating build_vector with illegal scalar types after type legalization. (#188280)
Code is based on a similar code in BuildUDIV.
net/ucx: fix build on FreeBSD 13.5 by defining s6_addr32 shim
FreeBSD's struct in6_addr does not provide s6_addr32 directly. Add a small
shim in src/uct/ib/base/ib_device.c to map s6_addr32 to the FreeBSD layout
(__u6_addr.__u6_addr32) when s6_addr32 is not already available.
PR: 293429
Tested by: kib
MFH: 2026Q1
(cherry picked from commit 63a68d9d459a0ed27f7b1dadaee6cf4cdbe8e2af)
misc/onnxruntime: fix build on armv7 and aarch64
A linux-only structure member of the cpuinfo.h API is used to determine
CPU affinity on some architectures. Use the fallback on FreeBSD, as on
platforms that do not support cpuinfo.h at all.
See also: https://github.com/microsoft/onnxruntime/issues/23181
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
(cherry picked from commit d8dc35987b95f29185aa53aeb9ddd72020e6b5ff)
net-mgmt/cacti88-spine: fix build
net-snmp-config --cflags returns some bogus cflags, including some
dreaded -Werror flags (?!), preventing the build. Filter those out
as a stop gap measure.
PR: 293905
MFH: 2026Q1
Approved by: portmgr (build fix blanket)
Sponsored by: Raptor Computing Systems, LLC
(cherry picked from commit fecd9038739e721fe150b4063f40c3cbb4fe9847)
biology/iolib: fix build on armv7
This port tries to use NEON if __ARM_NEON is defined. Unfortunately it
now requires a bunch of intrinsics available on AArch64 only, breaking
the armv7 build. Fix the build by disabling NEON on armv7.
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
misc/onnxruntime: fix build on armv7 and aarch64
A linux-only structure member of the cpuinfo.h API is used to determine
CPU affinity on some architectures. Use the fallback on FreeBSD, as on
platforms that do not support cpuinfo.h at all.
See also: https://github.com/microsoft/onnxruntime/issues/23181
Approved by: portmgr (build fix blanket)
MFH: 2026Q1
textproc/sonic: Make tokenizer features optional via OPTIONS, adopt port
This patch makes the Japanese and Chinese word segmentation features
optional via FreeBSD OPTIONS helpers, and adopts the port.
Currently the port unconditionally downloads a ~100MB UniDic Japanese
dictionary (unidic-mecab-2.1.2_src.zip) for every build, regardless of
whether the user needs Japanese tokenization. Upstream removed
tokenizer-japanese from default cargo features in v1.4.2 because it
10x'd the final binary size. This patch brings the port in line with
upstream's intent.
Changes:
- MAINTAINER changed to wadegimpbc at tuta.com
- Added CHINESE and JAPANESE OPTIONS using OPTIONS helpers
- OPTIONS_DEFAULT includes CHINESE (matching upstream's default features)
- UniDic download now conditional on JAPANESE option
- CARGO_FEATURES uses --no-default-features with allocator-jemalloc as
base, per cargo.mk convention (lines 23-26, 192, 197-200)
[3 lines not shown]
net/ucx: fix build on FreeBSD 13.5 by defining s6_addr32 shim
FreeBSD's struct in6_addr does not provide s6_addr32 directly. Add a small
shim in src/uct/ib/base/ib_device.c to map s6_addr32 to the FreeBSD layout
(__u6_addr.__u6_addr32) when s6_addr32 is not already available.
PR: 293429
Tested by: kib
MFH: 2026Q1
*/*: Go ports that use modernc.org/sqlite are for aarch64, amd64 only
The module modernc.org/sqlite (and dependencies such as modernc.org/libc)
are only available on aarch64 and amd64 FreeBSD. Other platforms are
not supported on FreeBSD right now.
Consistently mark ports using these with ONLY_FOR_ARCHS.
See also: b1e7e12428e07a6f36afdc91b21ae044f4c4db3c
Approved by: portmgr (build fix blanket)
textproc/krep: fix build on armv7
Add polyfill for the vmaxvq_u8() intrinsic only available on AArch64.
This should probably be upstreamed.
Approved by: portmgr (build fix blanket)
sysutils/runwhen: Patch compatibility with skalibs 2.14.5.1
The exec0() function has been replaced by a macro. If the <skalibs/exec.h>
header isn't included the old *exec*() function names become missing symbols.
PR: 293916
net-mgmt/cacti88-spine: fix build
net-snmp-config --cflags returns some bogus cflags, including some
dreaded -Werror flags (?!), preventing the build. Filter those out
as a stop gap measure.
PR: 293905
MFH: 2026Q1
Approved by: portmgr (build fix blanket)
Sponsored by: Raptor Computing Systems, LLC
[mlir][CFGToSCF] Fix crash when region contains unconvertible multi-successor op (#183935)
`transformCFGToSCF` would crash with a use-list assertion when it
encountered an op like `spirv.BranchConditional` that implements
`BranchOpInterface` (passing the existing precondition checks) but is
not handled by `createStructuredBranchRegionOp`. The algorithm mutated
the IR significantly before discovering the op was unsupported, leaving
it in a corrupt half-transformed state that triggered the assertion on
teardown.
Fix by adding `canConvertBranchOp` to `CFGToSCFInterface` (default:
accept all ops) and calling it inside `checkTransformationPreconditions`
for every block with more than one successor, before any IR
modifications are made. `ControlFlowToSCFTransformation` overrides the
method to accept only `cf.cond_br` and `cf.switch`.
Fixes #173566
Assisted-by: Claude Code
Fix implicit val for OpenMP >= 52 and don't rely on static variables in processLinear
- Emit val for implicit linear clause if openmp version >= 52
- Turn `typeAttrs` and `linearModAttrs` from static to local to
avoid confusions about cleaning stale value
[mlir][arith] Mark `arith.remsi` and `arith.remui` as conditionally speculatable (#188263)
Division by zero is undefined behavior, so these two ops cannot be pure.
This commit marks them as conditionally speculatable, similar to
`arith.divsi` and `arith.divui`.
deskutils/copyq: Update to 14.0.0
Shipping without audio a qca support for the time being.
Note for packagers (upstream release notes):
- This requires QCA and QtKeychain libraries, but it can be
disabled at build time with CMake options WITH_QCA_ENCRYPTION and
WITH_KEYCHAIN
- This requires miniaudio library, but it can be disabled
at build time with CMake option WITH_AUDIO.
ChangeLog: https://github.com/hluk/CopyQ/releases/tag/v14.0.0