https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lisp/gcl-2.6.15_pre3 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
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.