Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566244 - media-libs/opencv mistakenly claims that nvcc does not like new versions of gcc, and disables cuda
Summary: media-libs/opencv mistakenly claims that nvcc does not like new versions of g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 17:19 UTC by Larry Pyeatt
Modified: 2015-11-26 21:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
corrected ebuild (opencv-3.0.0-r1.ebuild,6.14 KB, text/plain)
2015-11-19 17:19 UTC, Larry Pyeatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Pyeatt 2015-11-19 17:19:29 UTC
Created attachment 417368 [details]
corrected ebuild

Newer versions of nvcc and gcc play together nicely.
Comment 1 Felix Janda 2015-11-20 02:56:05 UTC
(Attachment 417368 [details] has the media-libs/opencv-3.0.0.ebuild with the
lines around the "ewarn" commented out.)

Currently, all versions of nvidia-cuda-toolkit in tree support gcc-4.8
but only nvidia-cuda-toolkit-7.5.18 supports >=gcc-4.9. Therefore I
think it is safe to make open-3.0.0.ebuild also accept gcc-4.8 if the
dependency on nvidia-cuda-toolkit is updated. It is likely not safe to
remove the gcc version detection logic completely because users might
have nvidia-cuda-toolkit-6.5.14, gcc-4.8.4 and gcc-4.9.3 installed and
try to install opencv while gcc-4.9.3 is selected.
Comment 2 Amy Liffey gentoo-dev 2015-11-26 21:15:01 UTC
author	Amy Winston <amynka@gentoo.org>	2015-11-26 21:10:58 (GMT)
committer	Amy Winston <amynka@gentoo.org>	2015-11-26 21:11:56 (GMT)
commit	7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072

Thanks.