Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931081 - dev-lisp/ecl-23.9.9-r1 fails to compile with sys-devel/gcc with LTO: predlib.c:5255:1: internal compiler error: verify_type failed
Summary: dev-lisp/ecl-23.9.9-r1 fails to compile with sys-devel/gcc with LTO: predlib....
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-05-02 07:17 UTC by Agostino Sarubbo
Modified: 2024-09-09 03:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,145.42 KB, text/plain)
2024-05-02 07:18 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-05-02 07:17:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lisp/ecl-23.9.9-r1 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-05-02 07:18:00 UTC
CC'ing also toolchain@ because it is an ICE
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-02 07:18:01 UTC
Created attachment 892124 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-02 07:18:02 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/bin/sh: line 1: cd: /var/tmp/portage/dev-lisp/ecl-23.9.9-r1/work/ecl-23.9.9/src/../.git: No such file or directory
/usr/bin/install: cannot stat 'bin/ecl': No such file or directory
install-xattr: failed to stat bin/ecl: No such file or directory
lsp/predlib.c:5255:1: internal compiler error: ‘verify_type’ failed
lsp/predlib.c:5255:1: error: type variant has different ‘TREE_TYPE’
Comment 4 Larry the Git Cow gentoo-dev 2024-06-29 10:55:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=735129368d5173d2b41df50a7951ca988c22a274

commit 735129368d5173d2b41df50a7951ca988c22a274
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-29 10:53:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-29 10:53:17 +0000

    dev-lisp/ecl: filter LTO for GCC bug
    
    The code is pretty brittle anyway.
    
    Bug: https://gcc.gnu.org/PR114919
    Bug: https://bugs.gentoo.org/931081
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lisp/ecl/ecl-21.2.1-r5.ebuild | 6 ++++--
 dev-lisp/ecl/ecl-23.9.9-r1.ebuild | 4 +++-
 dev-lisp/ecl/ecl-24.5.10.ebuild   | 4 +++-
 3 files changed, 10 insertions(+), 4 deletions(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-29 10:56:03 UTC
Workaround applied and reported to GCC.