Summary: | media-libs/opencv-4.5.4: fails to compile (CUDA; upstream) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Oleg Korsak <kamikaze.is.waiting.you> |
Component: | Current packages | Assignee: | Paul Zander <negril.nx+gentoo> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bugzilla, dan, fcoiffie, jstein, proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=829716 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Oleg Korsak
2021-12-21 18:29:47 UTC
Created attachment 759991 [details]
build.log
CUDA bug. Soap has reported it upstream and they've acknowledged it. We hope it can be fixed in time for GCC 11.3. Try GCC 11.2. The nvidia bug tracker is private but it's been confirmed that it should be fixed soon, possibly in the next CUDA release. I successfully worked around it with nvidia-cuda-toolkit-12.3.0, gcc-12.3.1, and opencv-4.8.1 I've faced another pure opencv bug that does not appear to be reported here yet, but since it was resolved in the opencv upstream https://github.com/opencv/opencv/pull/24104 , I just applied the corresponding patch https://github.com/opencv/opencv/commit/ab8cb6f8a9034da2a289b84685c6d959266029be.patch , so, finally, I have a working opencv[cuda] now. |