Bug#891642: nvidia-cuda-dev: header wants gone gcc5 compiler

Andreas Beckmann anbe at debian.org
Tue Feb 27 17:47:37 UTC 2018


On 2018-02-27 17:24, Jiff wrote:
> Package: nvidia-cuda-dev
> Version: 8.0.44-4
> Severity: normal
> 
> Dear Mai n'tainer,
> 
> 
> Hi folks,
> 
> (sorry but I uninstalled all CUDA packages, so it may not be the good one I
> picked for reporting.)
> 
>    * What led up to the situation?
> 
> An attempt to compile the stable git OpenCV library (3.4.0), including CUDA to
> speed it up.
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> 
> cmake configuration threw an error explaining that one of nvidia CUDA header
> files wants gcc version ≤ 5,
> however, gcc5 is no more part of Stretch.
> 
>    * What was the outcome of this action?
> 
> Compilation of OpenCV stable git v.3.4.0 is impossible if CUDA is enabled.
> 
>    * What outcome did you expect instead?
> 
> CUDA dev files to work accordingly to the available gcc version availablefrom
> Stretch (gcc6 at this time.)

So essentially, you are asking for a backport of CUDA 9 to stretch :-)
I'll probably do this after 9.1 landed in testing.

CUDA 8 in stretch can be used with clang-3.8.


Andreas



More information about the pkg-nvidia-devel mailing list