Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 560960

Summary: =app-editors/xemacs-21.5.34-r2 incompatible with gcc5
Product: Gentoo Linux Reporter: Greg Turner <gmt>
Component: [OLD] GCC PortingAssignee: XEmacs team <xemacs>
Status: RESOLVED FIXED    
Severity: normal CC: gmt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    
Attachments: xemacs-21.5.34-gcc5.patch

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.