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 1271294 - emacs fails srpm build on ppc64 when binutils are outdated
Summary: emacs fails srpm build on ppc64 when binutils are outdated
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: emacs
Version: 7.2
Hardware: ppc64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jan Synacek
QA Contact: BaseOS QE Security Team
Bara Ancincova
URL:
Whiteboard:
Depends On:
Blocks: 1336711
TreeView+ depends on / blocked
 
Reported: 2015-10-13 14:44 UTC by Marek Haicman
Modified: 2016-05-17 09:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Build requirements not defined correctly for Emacs The _binutils_ package earlier than version 2.23.52.0.1-54 causes a segmentation fault during the build. As a consequence, it is not possible to build the Emacs text editor on IBM Power Systems. To work around this problem, install the latest _binutils_.
Clone Of:
: 1336711 (view as bug list)
Environment:
Last Closed: 2016-05-17 09:01:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1306793 0 unspecified CLOSED emacs build failure for ppc64le "Program segment above .bss" 2021-02-22 00:41:40 UTC

Internal Links: 1306793

Description Marek Haicman 2015-10-13 14:44:38 UTC
Description of problem:
When srpm build is attempted on ppc64 with binutils of version lower than 2.23.52.0.1-54.el7, build fails.

Version-Release number of selected component (if applicable):
emacs-24.3-18.el7

How reproducible:
100%

Steps to Reproduce:
1. attempt to build srpm


Actual results:
Loading vc/ediff-hook...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
emacs: Couldn't find segment next to .bss in .../BUILD/emacs-24.3/src/temacs
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory `.../BUILD/emacs-24.3/src'
make: *** [src] Error 2


Expected results:
Build success

Comment 1 Miloš Prchlík 2016-01-21 11:23:47 UTC
I have to add that not just outdated binutils cause this issue to pop up. I tried to rebuild emacs while testing binutils-2.25.1-10 (rebased version, planned for RHEL-7.3), and the build on ppc64 ends with pretty much the same error:

Loading buff-menu...
Loading emacs-lisp/float-sup...
Loading vc/vc-hooks...
Loading vc/ediff-hook...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
emacs: Couldn't find segment next to .bss in /tmp/tmp.IckNCbdjTW/BUILD/emacs-24.3/src/temacs
make[2]: *** [bootstrap-emacs] Error 1
make[2]: Leaving directory `/tmp/tmp.IckNCbdjTW/BUILD/emacs-24.3/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/tmp/tmp.IckNCbdjTW/BUILD/emacs-24.3'
error: Bad exit status from /var/tmp/rpm-tmp.tbmZzN (%build)

Comment 2 Jan Synacek 2016-02-15 12:31:33 UTC
This looks like https://bugzilla.redhat.com/show_bug.cgi?id=1306793 to me.

Comment 3 Nick Clifton 2016-02-22 14:24:21 UTC
Does the emacs patch referenced from 1306793 also fix this problem ?

http://pkgs.fedoraproject.org/cgit/rpms/emacs.git/commit/?id=e76854c18d33c10096a11f4210e4b0f67bc02966

Comment 4 Jeff Law 2016-05-16 16:24:40 UTC
Nick,
It's supposed to address this problem IIRC.

Jan, can you confirm?  We'd like to be able to put the emacs vs ppc problems aside once and for all.

Comment 5 Jan Synacek 2016-05-17 09:01:28 UTC
I've built two scratch builds and they both passed, without any additional patches. Something else must have changed and this bug is no longer reproducible.


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