sys-devel/gcc-12.2.1_p20230121-r1 CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"
Created attachment 854360 [details] build.log not sure what's going on here
Created attachment 854364 [details] CMakeError.log C_HAS_AVX_1 failed /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/avxintrin.h:1318:1: error: inlining failed in call to ‘always_inline’ ‘_ mm256_set1_ps’: target specific option mismatch
Created attachment 854366 [details] emerge --info
Created attachment 854368 [details] emerge --info
It seems a CUDA specific error. A platform that I don't have. I wonder if telans can better check what is happening here
Some errors are due to dev-util/nvidia-cuda-toolkit-12 being installed. please use < 12
Confirm it fixed the issue. Just to clarify, i had to use gcc <12 as well. Once downgraded, i had to recompile few QT packages too, such qtcore gtgui etc You might want to improve ebuilds to enforce that
To see what the problem you have with gcc-12 i need a log
(In reply to Tupone Alfredo from comment #8) > To see what the problem you have with gcc-12 i need a log the log is attached to this bug report. <dev-util/nvidia-cuda-toolkit-12 requires <gcc-12, see its ebuild: ewarn "gcc > ${b} will not work with CUDA" It's just not enforced. As for QT bugs, I was getting the following: : undefined reference to `std::__glibcxx_assert_fail(char const*, int, char const*, char const*)@GLIBCXX_3.4.30' the error appered 4 times for the following binaries: /usr/lib64/libonnx.so /usr/lib64/libQt5Widgets.so.5 /usr/lib64/libQt5Core.so /usr/lib64/libQt5Gui.so.5 which is: dev-qt/qtcore dev-qt/qtgui dev-qt/qtwidgets sci-libs/onnx
Ok, I understand now the gcc-12 For the Qt bug, I know it is not always easy to switch back and forth between 2 versions of gcc. You have to build more packages I suppose, but that is for another bug