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
{{ message }}
Building v1.10.0 from source fails with Clang 18 + libstdc++ 13 (native_calc_plan.cpp:231) #779
Error, for both the pineforge and pineforge_kernel targets:
src/native_calc_plan.cpp:231:17: error: no matching member function for call to 'emplace'
calc_group_.emplace();
The libstdc++ std::optional<pineforge::NativeExecutionConsumer::CalcGroup>::emplace overload is not viable because std::is_constructible_v<pineforge::NativeExecutionConsumer::CalcGroup> is not satisfied under Clang.
Not affected: GCC builds (GCC 11 or later, the compiler the CI uses) and the published prebuilt binaries.
Workaround: build with GCC (libstdc++ from GCC 11 or later, as the README lists), or use the prebuilt binaries.
Update: the README's default build (tests ON) also fails with the same Clang 18 error in the test sources, at tests/test_native_state_continuation.cpp, for CurrentExecutionFrame and MarginLiquidation (same emplace / is_constructible failure).
The workaround is the same: build with GCC (libstdc++ from GCC 11 or later) or use the prebuilt binaries. The fix covers both.
Activity
luisleo526 commentedon Nov 7, 2026
Update: the README's default build (tests ON) also fails with the same Clang 18 error in the test sources, at
tests/test_native_state_continuation.cpp, forCurrentExecutionFrameandMarginLiquidation(sameemplace/is_constructiblefailure).The workaround is the same: build with GCC (libstdc++ from GCC 11 or later) or use the prebuilt binaries. The fix covers both.