Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916852 - sys-devel/gcc-14: ICE when building media-libs/mesa-23.2.1 (nir_to_tgsi.c:1715:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7554)
Summary: sys-devel/gcc-14: ICE when building media-libs/mesa-23.2.1 (nir_to_tgsi.c:171...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-04 14:15 UTC by Agostino Sarubbo
Modified: 2023-12-19 01:28 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,54.19 KB, application/x-xz)
2023-11-04 14:15 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 2023-11-04 14:15:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/mesa-23.2.1 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-11-04 14:15:22 UTC
Created attachment 874058 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-11-04 14:15:23 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/gallium/auxiliary/libgallium.a.p/nir_nir_to_tgsi.c.o 
Library ws2_32 found: NO
../mesa-23.2.1/src/gallium/auxiliary/nir/nir_to_tgsi.c:1715:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7554
Run-time dependency libomxil-bellagio found: NO (tried pkgconfig and cmake)
Run-time dependency libtizonia found: NO (tried pkgconfig and cmake)
Run-time dependency libtizplatform found: NO (tried pkgconfig and cmake)
Run-time dependency tizilheaders found: NO (tried pkgconfig and cmake)
../mesa-23.2.1/src/gallium/auxiliary/nir/nir_to_tgsi.c:1715:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7554
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-04 14:22:39 UTC
Please make sure to CC toolchain@ when you see the string 'internal compiler error'.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-04 14:29:05 UTC
reproduced, looking...
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-04 14:32:26 UTC
reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112380, thanks!
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-19 01:28:40 UTC
I suspect this one went latent as nobody seemed to hit it since (it was a real bug though).

But it's fixed now, thanks!

commit 7d4af8051ee00baccbfaec837f589d13aa00b81e
Author: Sam James <sam@gentoo.org>
Date:   Mon Dec 18 00:10:19 2023 +0000

    sys-devel/gcc: add 14.0.0_pre20231217

    Signed-off-by: Sam James <sam@gentoo.org>