#10369 closed Bugs (fixed)
Using boost in cu file compiled with nvcc and icc as host compiler fails.
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Compiling the attached reproducer with nvcc and icc as host compiler fails with an error:
$ make nvcc -ccbin icc -arch=sm_20 -I/shared/apps/rhel-6.2/libs/boost-1.55/include -o test test.cu /shared/apps/rhel-6.2/libs/boost-1.55/include/boost/config/suffix.hpp(496): error: identifier "int128" is undefined
/shared/apps/rhel-6.2/libs/boost-1.55/include/boost/config/suffix.hpp(497): error: expected a ";"
2 errors detected in the compilation of "/tmp/tmpxft_000077b7_00000000-8_test.cpp1.ii". make: * [test] Error 2
This also happens with other components of boost assert was chosen to create a minimal reproducer.
Attachments (2)
Change History (5)
by , 8 years ago
comment:1 by , 8 years ago
Component: | None → config |
---|---|
Owner: | set to |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should be fixed with https://github.com/boostorg/config/commit/053f0e420a36c1166bbd145aa56f404a1e10a018
Reproducer