You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently running into an issue with libprotobuf>=3.20. Due to a change in their header files, you can get the following error if using a debug build:
Others have reported the issue here, protocolbuffers/protobuf#9947, but it was closed as wont fix. We currently get around this issue by using version 3.19 but since cudf will require libprotobuf>=3.20 in version 22.06 we need to figure out a way around this. Current options:
The conda-build compiler packages get updated to not use that flag. There is an issue for that here
The conda-forge package of libprotobuf gets updated to include debug binaries as well as release so you link to the proper one depending on NDEBUG
We would probably need to do this ourselves
We wrap all of our #include <anything_protobuf> in a separate header which #define NDEBUG; #include <protobuf>; #undef NDEBUG. UGLY but it would work.
Similar to option 3, we do:
#pragma GCC visibility push("default")
#include <protobuf>
#pragma GCC visiblity pop
The text was updated successfully, but these errors were encountered:
We are currently running into an issue with
libprotobuf>=3.20
. Due to a change in their header files, you can get the following error if using a debug build:The specific commit that caused the issue is here: https://github.com/protocolbuffers/protobuf/blame/3.20.x/src/google/protobuf/metadata_lite.h#L73-L81.
Others have reported the issue here, protocolbuffers/protobuf#9947, but it was closed as wont fix. We currently get around this issue by using version 3.19 but since cudf will require
libprotobuf>=3.20
in version 22.06 we need to figure out a way around this. Current options:libprotobuf
gets updated to include debug binaries as well as release so you link to the proper one depending onNDEBUG
#include <anything_protobuf>
in a separate header which#define NDEBUG; #include <protobuf>; #undef NDEBUG
. UGLY but it would work.The text was updated successfully, but these errors were encountered: