This is an automated email from the git hooks/post-receive script. adconrad pushed a commit to branch glibc-2.26 in repository glibc.
commit 04770d5747d91c17c9a74bca5e02084a3abac377 Author: Adam Conrad <adcon...@0c3.net> Date: Wed Oct 11 13:46:02 2017 -0600 debian/patches/any/local-cudacc-float128.diff: Local patch to prevent defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257) --- debian/changelog | 2 ++ debian/patches/any/local-cudacc-float128.diff | 18 ++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 21 insertions(+) diff --git a/debian/changelog b/debian/changelog index 416e0d9..913b09f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -28,6 +28,8 @@ glibc (2.26-0experimental0) UNRELEASED; urgency=medium - debian/patches/sparc/submitted-sparc64-socketcall.diff: rebased. - debian/patches/localedata/local-hu_HU-sort.diff: Make testsuite agree with the sorting we see in Debian, may need another look. + - debian/patches/any/local-cudacc-float128.diff: Local patch to prevent + defining __HAVE_FLOAT128 on NVIDIA's CUDA compilers (LP: #1717257) - debian/control.in/libc: Drop ancient Breaks satisfied in oldoldstable. - debian/{debhelper.in/libc.preinst,sysdeps/amd64.mk,sysdeps/i386.mk}: Bump MIN_KERNEL_SUPPORTED to 3.2 on x86, following upstream's change. diff --git a/debian/patches/any/local-cudacc-float128.diff b/debian/patches/any/local-cudacc-float128.diff new file mode 100644 index 0000000..254a850 --- /dev/null +++ b/debian/patches/any/local-cudacc-float128.diff @@ -0,0 +1,18 @@ +Description: Turn off HAVE_FLOAT128 for CUDACC compilers. +Author: Adam Conrad <adcon...@0c3.net> +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1717257 +Forwarded: no +Last-Update: 2017-10-11 + +--- glibc-2.26.orig/sysdeps/x86/bits/floatn.h ++++ glibc-2.26/sysdeps/x86/bits/floatn.h +@@ -28,7 +28,8 @@ + support, for x86_64 and x86. */ + #if (defined __x86_64__ \ + ? __GNUC_PREREQ (4, 3) \ +- : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) ++ : (defined __GNU__ ? __GNUC_PREREQ (4, 5) : __GNUC_PREREQ (4, 4))) \ ++ && !defined(__CUDACC__) + # define __HAVE_FLOAT128 1 + #else + # define __HAVE_FLOAT128 0 diff --git a/debian/patches/series b/debian/patches/series index 00c8b66..1548798 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -234,3 +234,4 @@ any/local-libpic.diff any/local-bootstrap-headers.diff any/submitted-resolv-unaligned.diff any/submitted-intl-tstgettext.diff +any/local-cudacc-float128.diff -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git