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
kou
changed the title
Apache Arrow 12.0.1: use of deleted function 'std::atomic<long int>::atomic(const std::atomic<long int>&)'
[C++] Apache Arrow 12.0.1: use of deleted function 'std::atomic<long int>::atomic(const std::atomic<long int>&)'
Aug 30, 2023
kou
changed the title
[C++] Apache Arrow 12.0.1: use of deleted function 'std::atomic<long int>::atomic(const std::atomic<long int>&)'
[Go] Apache Arrow 12.0.1: use of deleted function 'std::atomic<long int>::atomic(const std::atomic<long int>&)'
Aug 30, 2023
Hmm, this looks like the issue is caused by the version of C++ being utilized by the compiler. The cgoalloc uses the Arrow C++ library memory pool to perform allocations via the allocator and includes arrow/memory_pool.h which expects C++17 or greater to compile.
Thanks @zeroshade . I'm able to run locally on Mac with mallocator which was failing to build with CGO Allocator. Are there any performance benchmarks between CGOAllocator and Mallocator? Thank you.
Describe the bug, including details regarding any error messages, version, and platform.
We are compiling go code to so file using
go build
module. Detailed Trace log information is belowgo build -mod=mod -buildmode=c-shared -tags cgo,ccalloc -o embedded_go.so .
this command generates following error (Tried go v8/ v12 versions):Component(s)
Go
The text was updated successfully, but these errors were encountered: