Summary: | sys-devel/gcc-14: ICE when building dev-lang/python[pgo] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | immoloism, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=838094 https://bugs.gentoo.org/show_bug.cgi?id=734006 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 914580 | ||
Attachments: | build.log |
Description
Sam James
![]() ![]() ![]() ![]() It's tricky because the generated profile earlier on is corrupt :( slyfox wrote about handling a case like this with Python in bug 838094 (https://trofi.github.io/posts/243-gcc-profiler-internals.html). Manual reproduction steps: * wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tar.xz * tar xvf Python-3.11.5.tar.xz * ./configure CC=gcc-14 --enable-optimizations * make -j$(nproc) Unfortunately, this builds and runs a total of 44 tests, any of which might lead to the broken profile. Need to try get something a bit smaller. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111559#c9 -> https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=043a6fcbc27f8721301eb2f72a7839f54f393003 There's a few fixes so not going to backport any to last snapshot, just wait for tomorrow instead. Also, slyfox wrote up the journey at https://trofi.github.io/posts/301-another-gcc-profiling-bug.html. Nice! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444f42f73266981576e51d509ae26564ac1641cc commit 444f42f73266981576e51d509ae26564ac1641cc Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-09 00:33:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-09 00:33:13 +0000 sys-devel/gcc: add 14.0.0_pre20231008 Bug: https://bugs.gentoo.org/914578 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-14.0.0_pre20231008.ebuild | 64 +++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) |