[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Changed in: evolver (Debian) Status: New => Fix Released -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Changed in: gcc Status: New => In Progress -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
This bug was fixed in the package gcc-13 - 13.2.0-23ubuntu3 --- gcc-13 (13.2.0-23ubuntu3) noble; urgency=medium * Use gcc:SoftVersion for -for-host dependencies (Helmut Grohne). Addresses: #1067904. * Apply proposed patch for PR libquadmath/114533 (Simon Chopin). Addresses: #1064426. LP: #2052929. -- Matthias Klose Sat, 30 Mar 2024 14:29:46 +0100 ** Changed in: gcc-13 (Ubuntu) Status: New => Fix Released -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
This bug was fixed in the package gcc-14 - 14-20240330-1ubuntu2 --- gcc-14 (14-20240330-1ubuntu2) noble; urgency=medium * No-change rebuild for CVE-2024-3094 -- Steve Langasek Sun, 31 Mar 2024 01:02:56 + ** Changed in: gcc-14 (Ubuntu) Status: In Progress => Fix Released ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2024-3094 -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
Launchpad has imported 1 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2024-03-30T12:48:10+00:00 Doko-v wrote: reported at https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647635.html On x86, this compiles into movdqa which segfaults on unaligned access. This kind of failure has been seen when running against glibc 2.39, which incidentally changed the printf implementation to move away from alloca() for this data to instead append it at the end of an existing "scratch buffer", with arbitrary alignment, whereas alloca() was probably more likely to be naturally aligned. Tested by adding the patch to the Ubuntu gcc-14 package in https://launchpad.net/~schopin/+archive/ubuntu/libquadmath Signed-off-by: Simon Chopin --- libquadmath/printf/printf_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libquadmath/printf/printf_fp.c b/libquadmath/printf/printf_fp.c index 8effcee88fa..d86aa650d38 100644 --- a/libquadmath/printf/printf_fp.c +++ b/libquadmath/printf/printf_fp.c @@ -363,7 +363,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp, /* Fetch the argument value. */ { - fpnum = **(const __float128 **) args[0]; + memcpy(, *(void* const *) args[0], sizeof(fpnum)); /* Check for special values: not a number or infinity. */ if (isnanq (fpnum)) Reply at: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2052929/comments/4 ** Changed in: gcc Status: Unknown => New ** Changed in: gcc Importance: Unknown => Medium -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Bug watch added: GCC Bugzilla #114533 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 ** Also affects: gcc via https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 Importance: Unknown Status: Unknown ** Changed in: gcc-14 (Ubuntu) Status: New => In Progress -- 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/gcc/+bug/2052929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Also affects: gcc-13 (Ubuntu) Importance: Undecided Status: New -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Changed in: glibc (Ubuntu) Status: Triaged => Invalid -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
Using the PPA's libquadmath makes the tests pass, so I sent the patch upstream: https://gcc.gnu.org/pipermail/gcc-patches/2024-March/647635.html -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
** Tags added: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2052929] Re: failed autopkgtests for evolver vs glibc 2.39 on amd64
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs