When emerging 'dev-qt/qtgui-5.15.13' on real RISC-V silicon (Starfive VisionFive 2) with GCC 13 emerge will fail. Reproducible: Always Steps to Reproduce: 1. Get access to Gentoo running on RV64GC hardware or emulator 2. Set profile to default/linux/riscv/23.0/rv64/lp64d/desktop/plasma/systemd 3. Emerge kde-plasma/plasma-meta which will pull in dev-qt/qtgui:5::gentoo as a dependency Actual Results: kde-plasma/plasma-meta and all its dependencies get merged Expected Results: dev-qt/qtgui fails in compile stage and prevents kde-plasma/plasma-meta from merging
Created attachment 890533 [details] Build log
Created attachment 890534 [details] emerge --info
Created attachment 890542 [details] emerge -pqv
Workaround: build this specific ebuild with GCC 12
Unmasking and trying with sys-devel/gcc-13.2.1_p20240406 also resolves the problem *** This bug has been marked as a duplicate of bug 928234 ***