[Bug 1865091] [NEW] Backport broken scatter/gather Signatures

2020-02-27 Thread Axel Huebl via ubuntu-bugs
Public bug reported:

Ubuntu 18.04 LTS ships CUDA 9.1.85 which is broken with provided GCC
compilers in a slightly complex way.

By default, the g++ compiler version is 7.4.0, which is not supported by 
CUDA/NVCC 9.1.85.
Next, CUDA/NVCC 9.1.85 should have provided support for g++ 6. But the release 
overlooked an incompatibility with std::tuple which renders this compiler 
combination not useful either:
  https://gist.github.com/ax3l/9489132

Consequently, users that want to use mature C++11/14 features can still switch 
to install a g++-5 package on Ubuntu 18.04 but this compiler has another set of 
bugs in signatures of gather/scatter intrinsics which were fixed in later GCC 
releases. This fix was unfortunately not backported to GCC 5.5 .
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731

In order to make NVCC+GCC work together on Ubuntu 18.04, I would recommend to 
backport the small patches of three intrinsic files with broken signatures to 
the g++-5 (specifically the libgcc-5-dev) packages:
  https://stackoverflow.com/a/50815334/2719194

Thanks a lot for considering,
Axel

** Affects: gcc-5 (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: nvidia-cuda-toolkit (Ubuntu)
 Importance: Undecided
 Status: New

** Also affects: nvidia-cuda-toolkit (Ubuntu)
   Importance: Undecided
   Status: New

** Description changed:

  Ubuntu 18.04 LTS ships CUDA 9.1.85 which is broken with provided GCC
  compilers in a slightly complex way.
  
  By default, the g++ compiler version is 7.4.0, which is not supported by 
CUDA/NVCC 9.1.85.
  Next, CUDA/NVCC 9.1.85 should have provided support for g++ 6. But the 
release overlooked an incompatibility with std::tuple which renders this 
compiler combination not useful either:
-   https://gist.github.com/ax3l/9489132
+   https://gist.github.com/ax3l/9489132
  
- Consequently, users that want to use mature C++11/14 features can still 
switch to install a g++-5 package on Ubuntu 18.04 but this compilers has 
another set of bugs in gather/scatter intrinsics which were fixed in later GCC 
releases. This fix was unfortunately not backported to GCC 5.5 .
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
+ Consequently, users that want to use mature C++11/14 features can still 
switch to install a g++-5 package on Ubuntu 18.04 but this compiler has another 
set of bugs in gather/scatter intrinsics which were fixed in later GCC 
releases. This fix was unfortunately not backported to GCC 5.5 .
+   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
  
  In order to make NVCC+GCC work together on Ubuntu 18.04, I would recommend to 
backport the small patches of three intrinsic files with broken signatures to 
the g++-5 (specifically the libgcc-5-dev) packages:
-   https://stackoverflow.com/a/50815334/2719194
+   https://stackoverflow.com/a/50815334/2719194
  
  Thanks a lot for considering!
  Axel

** Description changed:

  Ubuntu 18.04 LTS ships CUDA 9.1.85 which is broken with provided GCC
  compilers in a slightly complex way.
  
  By default, the g++ compiler version is 7.4.0, which is not supported by 
CUDA/NVCC 9.1.85.
  Next, CUDA/NVCC 9.1.85 should have provided support for g++ 6. But the 
release overlooked an incompatibility with std::tuple which renders this 
compiler combination not useful either:
    https://gist.github.com/ax3l/9489132
  
  Consequently, users that want to use mature C++11/14 features can still 
switch to install a g++-5 package on Ubuntu 18.04 but this compiler has another 
set of bugs in gather/scatter intrinsics which were fixed in later GCC 
releases. This fix was unfortunately not backported to GCC 5.5 .
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76731
  
  In order to make NVCC+GCC work together on Ubuntu 18.04, I would recommend to 
backport the small patches of three intrinsic files with broken signatures to 
the g++-5 (specifically the libgcc-5-dev) packages:
    https://stackoverflow.com/a/50815334/2719194
  
- Thanks a lot for considering!
+ Thanks a lot for considering,
  Axel

** Description changed:

  Ubuntu 18.04 LTS ships CUDA 9.1.85 which is broken with provided GCC
  compilers in a slightly complex way.
  
  By default, the g++ compiler version is 7.4.0, which is not supported by 
CUDA/NVCC 9.1.85.
  Next, CUDA/NVCC 9.1.85 should have provided support for g++ 6. But the 
release overlooked an incompatibility with std::tuple which renders this 
compiler combination not useful either:
    https://gist.github.com/ax3l/9489132
  
- Consequently, users that want to use mature C++11/14 features can still 
switch to install a g++-5 package on Ubuntu 18.04 but this compiler has another 
set of bugs in gather/scatter intrinsics which were fixed in later GCC 
releases. This fix was unfortunately not backported to GCC 5.5 .
+ Consequently, users that want to use mature C++11/14 features can still 
switch to install a g++-5 package on Ubuntu 18.04 but this compiler has another 
set of bugs in 

[Bug 1812133] [NEW] libc++abi-dev lacks include

2019-01-16 Thread Axel Huebl via ubuntu-bugs
Public bug reported:

Even after installing libc++-dev and libc++abi-dev, clang can not
compile with `-stdlib=libc++` if it needs to include ``.

The reason lies in a missing include or symlink in cxxabi.h
```
/usr/include/c++/v1/cxxabi.h:21:10: fatal error: '__cxxabi_config.h' file not
  found
#include <__cxxabi_config.h>
 ^~~
1 error generated.
```

That file is located in /usr/include/libcxxabi/

Maybe add a symlink or install it in a different, clang-findable
location?

** Affects: libc++ (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: xenial

** Tags added: xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812133

Title:
  libc++abi-dev lacks include

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libc++/+bug/1812133/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1706326] Re: Clang CUDA Support Failing

2018-04-27 Thread Axel Huebl via ubuntu-bugs
I'm not sure if invalid is the correct resolution status but the issue
was solved now in the nvidia-cuda-toolkit package. It now installs CUDA
in a monolithic path.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1706326

Title:
  Clang CUDA Support Failing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1706326/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs