Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
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" 2022-05-16 11:32:56 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.