[Pkg-julia-devel] Bug#963473: julia: LLVM error with CUDA.jl

Tommy-Xavier Robillard tommy.xavier.robillard at gmail.com
Mon Jun 22 07:01:38 BST 2020


Package: julia
Version: 1.4.1+dfsg-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

This is a bug that has been going on for a while now (at least 3 months). It only occurs
with the apt version of julia. Everything works as expected with the
official tarball (with the same julia version).

How to reproduce
================
* Install julia and nvidia-cuda-toolkit
* Install the CUDA package using Pkg and run any broadcasting operation. For example: ```
    using CUDA
    CuArray(1:10) .+ 1
  ```


The error is "ERROR: LLVM error: Cannot cast between two non-generic address spaces".
The complete stacktrace can be found in the official repository issue
tracker with some discussion about the issue (https://github.com/JuliaGPU/CUDA.jl/issues/190).
It is suggested that this might have to do with a different LLVM patch?
But my knowledge on that subject is too limited so I cannot really tell more than that.

That's about it. Thank you!




-- System Information:
GPU: RTX 2060 Super
nvidia-cuda-toolkit 10.1.243-6
nvidia-cuda-dev     10.1.243-6

Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-2-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages julia depends on:
ii  julia-common      1.4.1+dfsg-1
ii  libc6             2.30-8
ii  libcurl3-gnutls   7.68.0-1
ii  libdsfmt-19937-1  2.2.3+dfsg-4
ii  libgcc-s1         10.1.0-3
ii  libgfortran5      10.1.0-3
ii  libgit2-28        0.28.5+dfsg.1-1
ii  libgmp10          2:6.2.0+dfsg-6
ii  libjulia1         1.4.1+dfsg-1
ii  libllvm8          1:8.0.1-9
ii  libmbedcrypto3    2.16.5-1
ii  libmbedtls12      2.16.5-1
ii  libmbedx509-0     2.16.5-1
ii  libmpfr6          4.0.2-1
ii  libopenlibm3      0.7.0+dfsg-1
ii  libpcre2-8-0      10.34-7
ii  libquadmath0      10.1.0-3
ii  libssh2-1         1.8.0-2.1
ii  libunwind8        1.2.1-9
ii  libutf8proc2      2.5.0-1

Versions of packages julia recommends:
ii  git      1:2.27.0-1
ii  openssl  1.1.1g-1

Versions of packages julia suggests:
pn  ess        <none>
pn  julia-doc  <none>
pn  vim-julia  <none>

-- no debconf information



More information about the Pkg-julia-devel mailing list