Summary: | dev-lisp/gcl-2.6.15_pre3 fails to compile with sys-devel/gcc and LTO (block.c:123:1: internal compiler error: verify_type failed) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | common-lisp |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 https://bugs.gentoo.org/show_bug.cgi?id=931081 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() CC'ing also toolchain@ because it is an ICE Created attachment 892125 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: ./configure: line 7577: 1466 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1478 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1490 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1502 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1514 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1526 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1538 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1550 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1562 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1574 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1586 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1598 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1610 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1622 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1634 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 ./configure: line 7577: 1646 Segmentation fault ( $CC $LDFLAGS -Wl,-T gcl.script foo.c -o foo && ./foo ) > /dev/null 2>&1 block.c:123:1: internal compiler error: ‘verify_type’ failed block.c:123:1: error: type variant has different ‘TREE_TYPE’ Reported upstream - thanks! https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114918 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438bbadd0f8ab32907dfd3a3f650f91c35196c76 commit 438bbadd0f8ab32907dfd3a3f650f91c35196c76 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-29 10:51:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-29 10:52:23 +0000 dev-lisp/gcl: filter LTO for GCC bug The code is pretty brittle anyway and we already do strip-flags. Bug: https://gcc.gnu.org/PR114918 Bug: https://bugs.gentoo.org/931082 Signed-off-by: Sam James <sam@gentoo.org> dev-lisp/gcl/gcl-2.6.13_pre99.ebuild | 1 + dev-lisp/gcl/gcl-2.6.14.ebuild | 1 + dev-lisp/gcl/gcl-2.6.15_pre3.ebuild | 1 + 3 files changed, 3 insertions(+) Workaround applied and reported to GCC. |