Bug 1980845

Summary: liburing: FTBFS with glibc 2.34 due to dynamic stack sizes
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: liburingAssignee: Jeff Moyer <jmoyer>
Status: CLOSED CURRENTRELEASE QA Contact: guazhang <guazhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jmoyer, jwboyer
Target Milestone: betaKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: liburing-0.7-6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:24:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Florian Weimer 2021-07-09 16:01:13 UTC
The package fails to build:

ucontext-cp.c:31:23: error: variably modified 'stack_buf' at file scope
   31 |         unsigned char stack_buf[SIGSTKSZ];
      |                       ^~~~~~~~~

This was fixed in Fedora (thanks!) with:

commit b24796c292c8c5347993e99581f165f4a6a55baf
Author: Stefan Hajnoczi <stefanha>
Date:   Tue Apr 13 16:05:34 2021 +0100

    Add patch to fix build with rawhide glibc 2.33.9000
    
    See the patch for information on why examples/ucontext-cp.c does not
    build with rawhide's glibc 2.33.9000. I sent this patch upstream to
    liburing and notified glibc of a potential incompatible change.
    
    Signed-off-by: Stefan Hajnoczi <stefanha>

Comment 1 Jeff Moyer 2021-07-09 20:21:03 UTC
QE: this is just a fix for example code, so doesn't require any specific testing.  I've already got the fix staged, so waiting on acks.

Comment 4 guazhang@redhat.com 2021-08-17 12:28:59 UTC
Hi,

The package liburing-0.7-6.el9 build successful, don't hit error.

Comment 5 guazhang@redhat.com 2021-08-17 12:30:17 UTC
Hi,

Can you update the bug to ONQA ?

Comment 8 guazhang@redhat.com 2021-08-18 01:07:36 UTC
Hi,

move to verified since test pass fixed package.

Comment 12 Red Hat Bugzilla 2023-09-15 01:11:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days