Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924709 - sys-devel/gcc-14: miscompiles dev-qt/qtwidgets-5.15.12-r1 (?)
Summary: sys-devel/gcc-14: miscompiles dev-qt/qtwidgets-5.15.12-r1 (?)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on: 924237
Blocks: gcc-14
  Show dependency tree
Reported: 2024-02-16 10:58 UTC by Agostino Sarubbo
Modified: 2024-05-02 06:10 UTC (History)
1 user (show)

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

build.log (build.log,228.38 KB, text/plain)
2024-02-16 10:58 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-16 10:58:54 UTC

Issue: dev-qt/qtwidgets-5.15.12-r1 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)
System: GCC-14-SYSTEM (

Info about the issue:
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-16 10:58:55 UTC
Created attachment 885140 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-16 10:58:56 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:

/var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12_build/src/widgets/ line 6: /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12_build/bin/uic: No such file or directory
make: *** [Makefile:72079: .uic/ui_qfiledialog.h] Segmentation fault
> main.cpp:7:8: error: #error Intel CET not available
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-17 04:59:13 UTC
perl /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/mkspecs/features/data/unix/ < > QtWidgets.version
armv7a-unknown-linux-gnueabihf-g++ -O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -Wno-format-overflow -dM -E -o .moc/moc_predefs.h /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/mkspecs/features/data/dummy.cpp
/var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12_build/src/widgets/ /var/tmp/portage/dev-qt/qtwidgets-5.15.12-r1/work/qtbase-everywhere-src-5.15.12/src/widgets/dialogs/qfiledialog.ui -o .uic/ui_qfiledialog.h
make: *** [Makefile:72079: .uic/ui_qfiledialog.h] Segmentation fault
make: *** Deleting file '.uic/ui_qfiledialog.h'
make: *** Waiting for unfinished jobs....
 * ERROR: dev-qt/qtwidgets-5.15.12-r1::gentoo failed (compile phase):
 *   emake failed

Please try to get a backtrace from running that failing command manually.

I'm not really inclined to worry about this until bug 924237 is fixed.

Anyway, taking for toolchain@ unless/until it's proven to be a Qt bug.
Comment 4 Larry the Git Cow gentoo-dev 2024-02-19 00:08:23 UTC
The bug has been referenced in the following commit(s):

commit 8b165bc3b9bfc3976fc97f95e20da59fa924440c
Author:     Sam James <>
AuthorDate: 2024-02-19 00:05:08 +0000
Commit:     Sam James <>
CommitDate: 2024-02-19 00:06:59 +0000

    sys-devel/gcc: add 14.0.1_pre202402
    This has a workaround for bug #924237. bugs #924709, bug #924758, and
    bug #924769 may be the same.
    Signed-off-by: Sam James <>

 sys-devel/gcc/Manifest                      |  2 +
 sys-devel/gcc/gcc-14.0.1_pre20240218.ebuild | 64 +++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-02 06:10:29 UTC
Pretty sure this is fixed.