Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560960 - =app-editors/xemacs-21.5.34-r2 incompatible with gcc5
Summary: =app-editors/xemacs-21.5.34-r2 incompatible with gcc5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XEmacs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-09-21 01:53 UTC by Greg Turner
Modified: 2015-11-03 11:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xemacs-21.5.34-gcc5.patch (gcc5.patch,1.41 KB, patch)
2015-09-21 01:53 UTC, Greg Turner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2015-09-21 01:53:11 UTC
Created attachment 412376 [details, diff]
xemacs-21.5.34-gcc5.patch

Patch described at

  http://permalink.gmane.org/gmane.emacs.xemacs.patches/14884

fixes it.  If I understand correctly, the patch is already upstream.  Quick & dirty backport attached.
Comment 1 Mats Lidell gentoo-dev 2015-10-08 12:15:56 UTC
Problem has been reported upstream which confirms this bug.

Solved by xemacs-21.5.34-r4 which uses a patch based on the patch that finally went in upstream.

Note: The ebuild has not been verified with gcc5 due to lack of gcc5 environment. It has only been verified not to break with gcc4. Final verification is to be performed when gcc5 is available in testing or if someone with a gcc5 environment can verify the ebuild.
Comment 2 Greg Turner 2015-11-03 00:23:33 UTC
(In reply to Mats Lidell from comment #1)
> Problem has been reported upstream which confirms this bug.
> 
> Solved by xemacs-21.5.34-r4 which uses a patch based on the patch that
> finally went in upstream.
> 
> Note: The ebuild has not been verified with gcc5 due to lack of gcc5
> environment. It has only been verified not to break with gcc4. Final
> verification is to be performed when gcc5 is available in testing or if
> someone with a gcc5 environment can verify the ebuild.

Hi, sorry, didn't notice your comment for some time.

The -r4 seems to be merging fine on my gcc52 ~amd64 box, thanks!

The resulting executable can even be run without segfaulting :)
Comment 3 Mats Lidell gentoo-dev 2015-11-03 11:32:36 UTC
Thank you for verifying that the patch works.