[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-08-29 Thread Graham Inggs
** Changed in: nvidia-cuda-toolkit (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/1589751 Title: Simple file fails to compile with -O2 or -O3 To

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-08-01 Thread Bug Watch Updater
** Changed in: nvidia-cuda-toolkit (Debian) Status: New => 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/1589751 Title: Simple file fails to compile with -O2 or -O3 To manage

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-10 Thread Graham Inggs
@mdpoole: thanks for confirming! This seems to be fixed in the CUDA 8.0 release candidate. I can't see that Nvidia changed anything related to this in common_functions.h, so I suggest using -D_FORCE_INLINES for now. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-07 Thread Michael Poole
The workarounds (either one separately, or both) resolve the compile issue for me. Thank you for the pointers! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589751 Title: Simple file fails to

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-07 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589751 Title: Simple file fails to compile with -O2 or -O3 To manage notifications about this bug go to:

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-07 Thread Graham Inggs
Please also try editing /usr/include/common_functions.h and commenting out the line containing (as per the attached patch: __cdecl memcpy(void*, const void*, size_t) __THROW; ** Patch added: "cuda-glibc223.patch"

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-07 Thread Bug Watch Updater
** Changed in: nvidia-cuda-toolkit (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589751 Title: Simple file fails to compile with -O2 or -O3 To manage

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-06 Thread Graham Inggs
** Bug watch added: Debian Bug tracker #822783 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822783 ** Also affects: nvidia-cuda-toolkit (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822783 Importance: Unknown Status: Unknown -- You received this bug

[Bug 1589751] Re: Simple file fails to compile with -O2 or -O3

2016-06-06 Thread Graham Inggs
Please try the following workaround: $ nvcc -c -O2 -D_FORCE_INLINES dummy.cu ** Changed in: nvidia-cuda-toolkit (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.