Bug 1565375
Summary: | Advanced C++ code which requires CUDA can't be built on RHEL7 | ||
---|---|---|---|
Product: | Red Hat Developer Toolset | Reporter: | Ben Woodard <woodard> |
Component: | gcc | Assignee: | Marek Polacek <mpolacek> |
Status: | CLOSED NOTABUG | QA Contact: | Martin Cermak <mcermak> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | DTS 7.1 RHEL 7 | CC: | ernunes, jakub, kanderso, law, mcermak, mnewsome, ohudlick, tgummels |
Target Milestone: | alpha | ||
Target Release: | 7.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-12 21:54:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ben Woodard
2018-04-09 23:54:26 UTC
(In reply to Ben Woodard from comment #0) > 3) You can work around some of those problems by adding -Xcompiler > "-std=c++03" to nvcc command line. I thought that -std=c++11 was supposed to > work but for some reason it didn’t. In this case it's a preprocessor macro in the CUDA 9.1 headers, so I believe it is just an Nvidia issue: /usr/local/cuda-9.1/targets/x86_64-linux/include/crt/host_config.h 119 #if __GNUC__ > 6 120 121 #error -- unsupported GNU version! gcc versions later than 6 are not supported! 122 123 #endif /* __GNUC__ > 6 */ This is really a problem with the NVidia CUDA headers. There's really nothing we can do here. |