Skip to content

[BUG] nvcc issuing unrecognized GCC pragma in fmt compiling libcudf in debug mode #454

Closed

Description

Describe the bug
I am hitting issues with "src/cudf/cpp/build/_deps/fmt-src/include/fmt/core.h(290): error #1675-D: unrecognized GCC pragma" when attempting to build libcudf in debug mode using the FMT provided by rapids-cmake/CPM. This is using the system compiler (GCC 11.4.0) with CUDA 11.8.

Steps/Code to reproduce bug

git clone https://github.com/rapidsai/cudf.git
cd cudf
./build.sh -n -g libcudf

This results in compiler errors such as:

1 error detected in the compilation of "/src/cudf/cpp/src/binaryop/compiled/Add.cu".
/src/cudf/cpp/build/_deps/fmt-src/include/fmt/core.h(290): error #1675-D: unrecognized GCC pragma

Expected behavior
Compilation to succeed as the default release mode does.

Environment details (please complete the following information):

  • Environment location: Bare-metal
  • CMake version: 3.27.1
  • OS: Ubuntu 22.04

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

2 - In ProgressCurrenty a work in progressbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions