Fix `fp128` reaching `llvm_unreachable` on 32-bit PowerPC (#216613)
`fp128` is a legal type that is passed in vector registers when `vsx` is
enabled on 32-bit PowerPC: the switch statement didn't account for that,
causing an LLVM assertion.
Fixes #213355
cc @folkertdev
(cherry picked from commit 8d1b38f87103eb339224d1e6d397aad191f919e6)
workflows/release-binaries: Fix zstd compression (#219587)
23.1.0 was the first e2e release with zstd archives. I noticed that once
it shipped they didn't have a meaningful size improvement over the
pre-existing archives. Turns out this is because by default zstd
compresses over a 128MB window which wasn't large enough to get
meaningful savings. We now use 1GB for this which uses more memory but
should take the archive from the 1.8GB that the xz release is, to ~1gb.
I played around with a few options and this was the best time vs
compress vs memory usage ratio.
Assisted-By: codex
(cherry picked from commit 9f51fa4e9ead0da931c1f7b5d2aa3fdbc62c845e)
[cmake] FindLibXml2: keep user-provided LIBXML2_DEFINITIONS (#221294)
LLVM's `FindLibXml2.cmake` (added in #166867) unconditionally does
`set(LIBXML2_DEFINITIONS ${PC_LIBXML_CFLAGS_OTHER})` and puts
`PC_LIBXML_CFLAGS_OTHER` on the imported targets. CMake's own
`FindLibXml2` module only takes pkg-config's flags when the library it
found is the one pkg-config describes; otherwise it keeps whatever
`LIBXML2_DEFINITIONS` the user passed and exposes it through
`INTERFACE_COMPILE_OPTIONS`.
This matters when cross-compiling against a static libxml2 on Windows.
Passing `-DLIBXML2_DEFINITIONS=-DLIBXML_STATIC
-DLIBXML2_LIBRARIES=.../libxml2s.lib` worked with LLVM 22 (CMake's
module): the define reached both the `xmlReadMemory` configure check and
the consumers of `LibXml2::LibXml2`. With LLVM 23 it is silently
dropped, `xmlexports.h` declares the API `__declspec(dllimport)`, the
check fails to link against the static library and
`LLVM_ENABLE_LIBXML2=FORCE_ON` aborts with `Failed to configure
libxml2`. (pkg-config on the Linux host finds the host's libxml2, so
[23 lines not shown]
comms/kermit: Upgrade from 10.0.beta12 to 11.0.511
The update includes a number of security fixes including a fixed CVE issue.
Check the changelog for more details here:
https://github.com/OpenKermit/ckermit/blob/main/doc/changelog.md
Reported by: John Goerzen (upstream)
Sponsored by: OTTRIA
sysutils/loaders-update: Update 1.4.0 => 1.5.0
Changelog:
- Fix a bug where 32 bits EFI loader would be updated by 64 bits loader
- Check if EFI loader is signed (secure boot) and if so, don't touch it.
- Automatically save all BIOS loaders before their update (auto: /root).
- Added the optional EFI fail safe feature. The previous EFI loader can
be saved and be accessible via the EFI boot menu.
https://github.com/Emrion/uploaders/releases/tag/1.5.0
PR: 298676
Approved by: osa, vvd (Mentors, implicit)
add compat shim for jsonschema-path >= 0.5
jsonschema-path was updated to be compatible with python 3.14+ but
that broke openapi_core which cannot be updated at this point
emulators/wine-devel: Update 11.17 => 11.18
Changelog:
- More NTOSKRNL support for kernel drivers.
- A wide range of fixes for various code correctness issues.
- Some compatibility fixes in standard C headers.
- Various bug fixes.
https://gitlab.winehq.org/wine/wine/-/releases/wine-11.18
Add files/patch-dlls_mountmgr.sys_cdrom.c to fixes recent compilation
issue.
Since we moved to new wow64 mode only, we can build the entire project
with clang.
PR: 298678
Sponsored by: UNIS Labs (vvd, commit patch)
Merge tag 'for-7.3-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
Pull btrfs fixes from David Sterba:
"Among the regular fixes, there are two that were reported recently and
have user impact:
- filesystem id is now stable again on the default and common case
(it broke openconnect key derivation, while this is not secure,
it's still in use), the intention was to change id for the
temp_fsid use case
- fix detection of /dev/root and rename it after device scan, this
broke booting of initramdisk-less system with grub2 as the probe
needs the real device
Regular fixes:
- don't store compressed inline extent if the size is larger than
uncompressed
[29 lines not shown]
[libc] Add getgrnam_r and getgrgid_r entrypoints (#224722)
Add the reentrant group database lookup entrypoints getgrnam_r and
getgrgid_r along with grp::find_by_name and grp::find_by_gid in
grp_utils.
Each lookup opens a ScopedFlatFileDatabase<struct group> stream so that
reentrant lookups do not disturb an in-progress getgrent iteration.
Track group_file_path alongside the iteration database so scoped streams
opened by reentrant lookups honour test path overrides.
* Add getgrnam_r and getgrgid_r entrypoints
* Add find_by_name and find_by_gid lookup helpers in grp_utils
* Define getgrnam_r and getgrgid_r in include/grp.yaml
* Add hermetic unit tests for getgrnam_r and getgrgid_r
Assisted-by: Automated tooling, human reviewed.