Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924338 - app-editors/emacs-18.59-r15 fails to compile: make: [xmakefile:23: xemacs] Segmentation fault
Summary: app-editors/emacs-18.59-r15 fails to compile: make: [xmakefile:23: xemacs] Se...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-02-12 08:20 UTC by Agostino Sarubbo
Modified: 2024-04-27 05:11 UTC (History)
0 users

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


Attachments
build.log (build.log,68.07 KB, text/plain)
2024-02-12 08:20 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-12 08:20:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-editors/emacs-18.59-r15 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-12 08:20:41 UTC
Created attachment 884779 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-12 13:30:42 UTC
We should just filter-lto and append-flags -fno-strict-aliasing for older slots.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-27 00:58:59 UTC
(In reply to Sam James from comment #2)
> We should just filter-lto and append-flags -fno-strict-aliasing for older
> slots.

ulm, any objection to us doing this? I can do it if you're fine with it.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-27 01:00:02 UTC
(In reply to Sam James from comment #3)
> (In reply to Sam James from comment #2)
> > We should just filter-lto and append-flags -fno-strict-aliasing for older
> > slots.
> 
> ulm, any objection to us doing this? I can do it if you're fine with it.

ah, hm, we already do it for 18 for sa:

commit 294459c6dc375715073f4f04886945da2da4f0c9
Author: Ulrich Müller <ulm@gentoo.org>
Date:   Mon Jun 27 12:36:30 2022 +0200

    app-editors/emacs: Fix a compiler warning in 18.59

    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

We should add filter-lto too for the old slots.
Comment 5 Larry the Git Cow gentoo-dev 2024-04-27 05:11:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6042d9fb515ff7e2ae89918c8ea1b33f495c382a

commit 6042d9fb515ff7e2ae89918c8ea1b33f495c382a
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2024-04-27 05:07:45 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2024-04-27 05:11:00 +0000

    app-editors/emacs: Remove -flto from CFLAGS
    
    Suggested-by: Sam James <sam@gentoo.org>
    Closes: https://bugs.gentoo.org/924338
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-18.59-r15.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)