emerge -1 =dev-qt/qtmultimedia-5.15.12 fails after profile change from 17.1 (default/linux/amd64/17.1/desktop/plasma) to 23.0 (default/linux/amd64/23.0/split-usr/desktop/plasma) Under 17.1 it emerges w/o any problems, under 23.0 it bails out. Please see attached logs. Problem seems to be Intel AVX related in combination with embedded assembler code. Reproducible: Always
Created attachment 888542 [details] emerge log
Created attachment 888543 [details] emerge --info
Created attachment 888544 [details] cpu flags
Changed Platform to amd64
>CXXFLAGS="-O2 -pipe" Have you tried with -march=native added? Not that things should normally fail if omitted (haven't tried), unless.. you *used* to have it set and Qt (that has a tendency to remember things that were used to build qtcore/qtbase) is now confused.
Good hint! Creating a file /etc/portage/env/dev-qt/qtmultimedia-5.15.12 containing: CFLAGS="-march=native -O2 -pipe" CXXFLAGS="-march=native -O2 -pipe" works as workaround. But it should somehow be fixed in the ebuild itself.