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
Describe the bug
Compilation fails on some PowerPC machines with nvcc. This is the case on the Pangea3 Power9 platform for exemple.
The cause is a compiler bug that causes the fmt library to malfunction. Specifically, if:
Using fmt versions 10.0 and above;
On a PowerPC machine (although it could happen on other platforms)
WIth a compiler for which the following substitution in fmt/include/core.h fails: typename Context::template formatter_type<T>().format( std::declval<const T&>(), std::declval<Context&>())
then the has_const_formatter check fails and the compilation stops.
The bug was inadvertently introduced by PR 2449.
To Reproduce
Take the current develop branch of GEOS (as of 09/22/2023) and compile. The compilation fails at coreComponents/functions/TableFunctions.cpp line 69. fmt provides the following information:
"Cannot format an argument. To make type T formattable provide a formatter<T> specialization"
Expected behavior
Compilation succeeds.
Platform (please complete the following information):
Pangea3 and possibly other Power machines. GEOS latest version.
The text was updated successfully, but these errors were encountered:
Describe the bug
Compilation fails on some PowerPC machines with
nvcc
. This is the case on the Pangea3 Power9 platform for exemple.The cause is a compiler bug that causes the fmt library to malfunction. Specifically, if:
10.0
and above;fmt/include/core.h
fails:typename Context::template formatter_type<T>().format( std::declval<const T&>(), std::declval<Context&>())
then the
has_const_formatter
check fails and the compilation stops.The bug was inadvertently introduced by PR 2449.
This
fmt
issue is known, and a workaround was introduced but later removed.To Reproduce
Take the current
develop
branch ofGEOS
(as of 09/22/2023) and compile. The compilation fails atcoreComponents/functions/TableFunctions.cpp
line 69.fmt
provides the following information:"Cannot format an argument. To make type T formattable provide a formatter<T> specialization"
Expected behavior
Compilation succeeds.
Platform (please complete the following information):
Pangea3 and possibly other Power machines. GEOS latest version.
The text was updated successfully, but these errors were encountered: