RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1975151 - emacs: FTBFS with glibc 2.34 due to dynamic stack sizes
Summary: emacs: FTBFS with glibc 2.34 due to dynamic stack sizes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: emacs
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Jacek Migacz
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
: 1991941 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-23 08:09 UTC by Florian Weimer
Modified: 2022-05-17 12:54 UTC (History)
2 users (show)

Fixed In Version: emacs-27.2-5.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:39:29 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/rpms emacs merge_requests 1 0 None None None 2021-08-05 19:42:55 UTC
Red Hat Product Errata RHBA-2022:2369 0 None None None 2022-05-17 12:39:31 UTC

Description Florian Weimer 2021-06-23 08:09:24 UTC
Emacs is currently not compatible with the dynamic stack sizes in upcoming glibc 2.34 (soon to be imported into the buildroot). The build fails like this:

../../src/sysdep.c:1821:22: error: variably modified 'sigsegv_stack' at file scope
 1821 | static unsigned char sigsegv_stack[SIGSTKSZ];
      |                      ^~~~~~~~~~~~~
make[2]: Leaving directory '/builddir/build/BUILD/emacs-27.2/build-gtk/src'

This Fedora commit

commit 181aafcdb7ee2fded9fce4cfc448f27edccc927f
Author: Scott Talbert <swt>
Date:   Sat Mar 27 00:10:16 2021 -0400

    Fix FTBFS with glibc 2.34

backports upstream commit f97e07ea807cc6d38774a3888a15091b20645ac6 ("Port alternate signal stack to upcoming glibc 2.34"), addressing this issue for now.

You can test a fix before glibc 2.34 is merged using this command:

koji -p stream build --scratch c9s-build-side-102-stack-gate git+https://gitlab.com/redhat/centos-stream/rpms/emacs#origin/c9s

Comment 2 Jacek Migacz 2021-08-10 13:21:53 UTC
*** Bug 1991941 has been marked as a duplicate of this bug. ***

Comment 8 errata-xmlrpc 2022-05-17 12:39:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: emacs), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2369


Note You need to log in before you can comment on or make changes to this bug.