https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118748
Bug ID: 118748
Summary: Segmentation fault in qt apps in aarch64
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: user3mila at disroot dot org
Target Milestone: ---
In aarch64 compiling kvantum with gcc causes all qt apps to crash at start with
segmentation fault.
Qt bug: https://bugreports.qt.io/browse/QTBUG-132447.
Kvantum discussion https://github.com/tsujan/Kvantum/discussions/999.
If it is compiled with clang that does not happen.
The bug appeared in Alpine 3.21 that has gcc `14.2.0-r4`.
Alpine 3.20 has `13.2.1_git20240309-r0`.
This problem is knows to happen in another distros e.g. Arch Linux Arm.
Again for aarch64 there is segmentation fault when opening the file picker, I
got stuck when compiling qt6-qtbase with clang.
Qt bug: https://bugreports.qt.io/browse/QTBUG-132467.
I apologize if this is not enough info and/or it is not related to gcc.
I am not sure to what info provide.
There are some logs in the qt bug reports.
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/kvantum/APKBUILD
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/gcc/APKBUILD