[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
** No longer affects: llvm-toolchain-3.8 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
This bug was fixed in the package gcc-7 - 7.2.0-8ubuntu3 --- gcc-7 (7.2.0-8ubuntu3) artful; urgency=medium * debian/patches/cuda-float128.diff: Mask __float128 from CUDA (LP: #1717257) -- Adam ConradSat, 14 Oct 2017 14:35:40 -0600 ** Changed in: gcc-7 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
** Changed in: gcc-7 (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
** Also affects: gcc-7 (Ubuntu) Importance: Undecided Status: New ** Changed in: gcc-7 (Ubuntu) Assignee: (unassigned) => Adam Conrad (adconrad) ** Changed in: llvm-toolchain-3.8 (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
This bug was fixed in the package glibc - 2.26-0ubuntu2 --- glibc (2.26-0ubuntu2) artful; urgency=medium * Cherry-pick some changes from Debian git for a few pending Ubuntu bugfixes: - Update to master and drop redundant submitted-tst-tlsopt-powerpc.diff. - debian/patches/any/local-cudacc-float128.diff: Local patch to prevent defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257) - debian/patches/arm/git-arm64-memcmp.diff: Backport optimized memcmp for AArch64, improving performance from 25% to 500% (LP: #1720832) - debian/patches/amd64/git-x86_64-search.diff: Backport upstream commit to put x86_64 back in the search path, like in 2.25 (LP: #1718928) - debian/rules.d/debhelper.mk: Filter python hooks in stage1 (LP: #1715366) -- Adam ConradWed, 11 Oct 2017 14:21:40 -0600 ** Changed in: glibc (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: llvm-toolchain-3.8 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
** Changed in: glibc (Ubuntu) Assignee: (unassigned) => Adam Conrad (adconrad) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
I've found several bug reports and am sure that the problem stems from clang-3.8 being built with libstdc++-7-dev and not properly supporting __float128 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678033 Google patched gcc by hiding _GLIBCXX_USE_FLOAT128 from clang: https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00672.html There also seems to be a simple typedef workaround: https://stackoverflow.com/questions/13525774/clang-and-float128-bug-error I had to patch /usr/include/c++/7.2.0/bits/std_abs.h in order to compile cupy from source with CUDA8. #if !defined(__STRICT_ANSI__) && defined(_GLIBCXX_USE_FLOAT128) && !defined(__CUDACC__) ** Bug watch added: Debian Bug tracker #678033 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678033 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
I can confirm the compilation problems with CUDA8. Perhaps the correct package should be clang-3.8 since it's used by nvcc and is incompatible with libstdc++-7-dev. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871011 ** Bug watch added: Debian Bug tracker #871011 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871011 ** Also affects: llvm-toolchain-3.8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: glibc (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1717257] Re: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC)
** Summary changed: - proposal of patch for glibc to avoid erros in compiping NVCC + [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717257 Title: [bug / patch ]patch for glibc 2.26 to avoid errors in compiling with CUDA(NVCC) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1717257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs