Bug 1306793 - emacs build failure for ppc64le "Program segment above .bss"
emacs build failure for ppc64le "Program segment above .bss"
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: emacs (Show other bugs)
rawhide
ppc64le Linux
unspecified Severity high
: ---
: ---
Assigned To: Jan Synacek
Fedora Extras Quality Assurance
:
: 1306949 (view as bug list)
Depends On:
Blocks: F-ExcludeArch-ppc64le/PPC64LETracker
  Show dependency treegraph
 
Reported: 2016-02-11 12:45 EST by Michel Normand
Modified: 2016-02-15 07:31 EST (History)
7 users (show)

See Also:
Fixed In Version: emacs-24.5-10.fc24
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-15 04:51:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
emacs-24-0010-ELF-unexec-Correct-section-header-index.patch (3.00 KB, patch)
2016-02-15 02:28 EST, Michel Normand
no flags Details | Diff
emacs-24-0011-ELF-unexec-Tidy-code.patch (16.26 KB, patch)
2016-02-15 02:29 EST, Michel Normand
no flags Details | Diff
emacs-24-0012-ELF-unexec-Merge-Alpha-and-MIPS-COFF-debug-handling.patch (6.04 KB, application/mbox)
2016-02-15 02:30 EST, Michel Normand
no flags Details
emacs-24-0013-ELF-unexec-Symbol-table-patching.patch (1.65 KB, application/mbox)
2016-02-15 02:30 EST, Michel Normand
no flags Details
emacs-24-0014-ELF-unexec-_OBJC_-symbols-in-bss-sections.patch (2.43 KB, patch)
2016-02-15 02:31 EST, Michel Normand
no flags Details | Diff
emacs-24-0015-ELF-unexec-R_-_NONE-relocs.patch (1.99 KB, patch)
2016-02-15 02:31 EST, Michel Normand
no flags Details | Diff
emacs-24-0016-ELF-unexec-Drive-from-PT_LOAD-header-rather-than-sec.patch (19.27 KB, patch)
2016-02-15 02:32 EST, Michel Normand
no flags Details | Diff
emacs-24-0017-ELF-unexec-Don-t-insert-a-new-section.patch (26.08 KB, patch)
2016-02-15 02:33 EST, Michel Normand
no flags Details | Diff
emacs-24-0018-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch (1.53 KB, patch)
2016-02-15 02:33 EST, Michel Normand
no flags Details | Diff
emacs-24-0019-ELF-unexec-align-section-header.patch (2.33 KB, patch)
2016-02-15 02:34 EST, Michel Normand
no flags Details | Diff

  None (edit)
Description Michel Normand 2016-02-11 12:45:51 EST
Description of problem: emacs failure with last binutils 2.28

as reported by Robinson in 
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=312728
===
...
Loading /builddir/build/BUILD/emacs-24.5/lisp/tooltip.el (source)...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name emacs
emacs: Program segment above .bss in /builddir/build/BUILD/emacs-24.5/build-gtk/src/temacs
Makefile:815: recipe for target 'bootstrap-emacs' failed
===

probably similar to
https://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg410864.html

Version-Release number of selected component (if applicable): rawhide


How reproducible: koji build for ppc64le archi


Additional info:

I validate a set of patches in 
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3127419
Comment 1 Michel Normand 2016-02-11 13:14:38 EST
(In reply to Michel Normand from comment #0)
> Description of problem: emacs failure with last binutils 2.28
> 
> as reported by Robinson in 
> http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=312728

oups wrong url, correct one is:
  http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3127290
Comment 3 Peter Robinson 2016-02-12 03:01:41 EST
(In reply to Jan Synacek from comment #2)
> Possibly fixed by
> http://git.savannah.gnu.org/cgit/emacs.git/commit/
> ?id=0d6442265e5b709af5eebedf8f0d6b82974f4c31.

Can you scratch build it to test on PPC "ppc-koji build --scratch f24 blah.src.rpm" and get something pushed, this is blocking a large part of the mass rebuild on PPC. thanks
Comment 4 Jan Synacek 2016-02-12 07:08:32 EST
*** Bug 1306949 has been marked as a duplicate of this bug. ***
Comment 5 Peter Robinson 2016-02-13 09:23:52 EST
(In reply to Jan Synacek from comment #2)
> Possibly fixed by
> http://git.savannah.gnu.org/cgit/emacs.git/commit/
> ?id=0d6442265e5b709af5eebedf8f0d6b82974f4c31.

Not sure if the issue above is fixed but it breaks the build across all arches so in and of itself the issue of getting a build isn't fixed

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3130470
Comment 6 Michel Normand 2016-02-15 02:28:08 EST
(In reply to Michel Normand from comment #0)
> [CUT]
> ...
> I validate a set of patches in 
> http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3127419

To give easy access to the patches I embedded in related source rpm
and that allow to build emacs for ppc64le,
here is the list of patches I am attaching in next comments

Patch30:        emacs-24-0010-ELF-unexec-Correct-section-header-index.patch
Patch31:        emacs-24-0011-ELF-unexec-Tidy-code.patch
Patch32:        emacs-24-0012-ELF-unexec-Merge-Alpha-and-MIPS-COFF-debug-handling.patch
Patch33:        emacs-24-0013-ELF-unexec-Symbol-table-patching.patch
Patch34:        emacs-24-0014-ELF-unexec-_OBJC_-symbols-in-bss-sections.patch
Patch35:        emacs-24-0015-ELF-unexec-R_-_NONE-relocs.patch
Patch36:        emacs-24-0016-ELF-unexec-Drive-from-PT_LOAD-header-rather-than-sec.patch
Patch37:        emacs-24-0017-ELF-unexec-Don-t-insert-a-new-section.patch
Patch38:        emacs-24-0018-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch
Patch39:        emacs-24-0019-ELF-unexec-align-section-header.patch
Comment 7 Michel Normand 2016-02-15 02:28 EST
Created attachment 1127180 [details]
emacs-24-0010-ELF-unexec-Correct-section-header-index.patch
Comment 8 Michel Normand 2016-02-15 02:29 EST
Created attachment 1127181 [details]
emacs-24-0011-ELF-unexec-Tidy-code.patch
Comment 9 Michel Normand 2016-02-15 02:30 EST
Created attachment 1127182 [details]
emacs-24-0012-ELF-unexec-Merge-Alpha-and-MIPS-COFF-debug-handling.patch
Comment 10 Michel Normand 2016-02-15 02:30 EST
Created attachment 1127183 [details]
emacs-24-0013-ELF-unexec-Symbol-table-patching.patch
Comment 11 Michel Normand 2016-02-15 02:31 EST
Created attachment 1127184 [details]
emacs-24-0014-ELF-unexec-_OBJC_-symbols-in-bss-sections.patch
Comment 12 Michel Normand 2016-02-15 02:31 EST
Created attachment 1127185 [details]
emacs-24-0015-ELF-unexec-R_-_NONE-relocs.patch
Comment 13 Michel Normand 2016-02-15 02:32 EST
Created attachment 1127186 [details]
emacs-24-0016-ELF-unexec-Drive-from-PT_LOAD-header-rather-than-sec.patch
Comment 14 Michel Normand 2016-02-15 02:33 EST
Created attachment 1127187 [details]
emacs-24-0017-ELF-unexec-Don-t-insert-a-new-section.patch
Comment 15 Michel Normand 2016-02-15 02:33 EST
Created attachment 1127188 [details]
emacs-24-0018-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch
Comment 16 Michel Normand 2016-02-15 02:34 EST
Created attachment 1127189 [details]
emacs-24-0019-ELF-unexec-align-section-header.patch
Comment 17 Michel Normand 2016-02-15 02:37:07 EST
Could we embed those patches in fedora DB ?
Comment 18 Jan Synacek 2016-02-15 04:16:06 EST
Sorry, I didn't realize the original message actually contained another build with the patches... It was apparent from the build log.

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