This bug is actually in gcc-14, more specifically libquadmath, as they
do a misaligned read from args to a float128, which produces the
segfault.
It was hidden so far because args was allocated using alloca() which I
guess must be naturally aligned, but in 2.39 they removed that in favor
of appending those arguments to an existing buffer.
I'm testing the attached patch in a PPA before sending it upstream for
review.
** Also affects: gcc-14 (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "0001-libquadmath-printf-avoid-misaligned-access-on-args.patch"
https://bugs.launchpad.net/ubuntu/+source/gcc-14/+bug/2052929/+attachment/5755246/+files/0001-libquadmath-printf-avoid-misaligned-access-on-args.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2052929
Title:
failed autopkgtests for evolver vs glibc 2.39 on amd64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolver/+bug/2052929/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs