please upload nvidia-cuda-toolkit (4.1.21-1) to experimental

Tomasz Rybak bogomips at
Sat Feb 18 16:39:42 UTC 2012

On Thu, 2012-02-16 at 14:05 -0800, Russ Allbery wrote:
> Andreas Beckmann <debian at> writes:
> > could you please upload nvidia-cuda-toolkit (4.1.21-1) [amd64] (from
> > branches/4.1) to experimental? It needs to go through NEW as several
> > packages have been added/renamed.
> Done.
> With this package, I'm starting to run into the problem that my primary
> system, and the one with all the disk space, is i386 because I originally
> built it back when that seemed like a good decision for some reasons (like
> Flash support in browsers).  I've been building the amd64 version of this
> package on a VM that we use to build packages for work, but that system
> has very little disk space, and it's getting increasingly hard to do the
> amd64 builds.
> This isn't anything you can fix, or any problem with the package, but I
> just wanted to warn that I may have to scramble more and more to find a
> good environment in which to build it, since it requires 4-5GB of free
> disk space to build.  In the long run, I'm going to try to migrate my
> environment over to amd64, but it's going to take me a while.

Thanks for working on this.
Tested on 64-bit (mostly unstable) Debian with 3.2.6 kernel
and 295.20-1 drivers on ION (GeForce 9400M) hardware)
OpenCL works OK with latest CUDA toolkit packages (more details
in my other email), CUDA requires additional files to work.

In summary, NVIDIA has changed CUDA compiler to use LLVM,
but this was only done for new hardware (Fermi), while
other still uses older compiler. This means that nvcc requires
additional files. CUDA SDK compilation failed requiring cicc.
I have found it in toolkit in directory nvvm/ After copying
all files from nvvm/ (cicc and ci_include.h)
into /usr/lib/nvidia-cuda-toolkit both CUDA SDK and PyCUDA
compile and work without problem. I have just copied those
two files, have not created any symlinks, etc.

As a sidenote, it looks like 295.20 is already prepared 
for CUDA 4.2, as deviceQuery tool returns:
Driver Version 4.2
Runtime Version 4.1

Best regards.

Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the pkg-nvidia-devel mailing list