Summary: | sci-libs/caffe2-1.13.1-r1: failed to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | telans |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
CMakeError.log emerge --info emerge --info |
Description
Anton Bolshakov
2023-02-24 15:23:41 UTC
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 |