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
[ 34%] Building CXX object storage/temptable/CMakeFiles/temptable.dir/src/plugin.cc.o
[ 34%] Building CXX object storage/temptable/CMakeFiles/temptable.dir/src/result.cc.o
[ 34%] Building CXX object storage/temptable/CMakeFiles/temptable.dir/src/row.cc.o
[ 34%] Building CXX object storage/temptable/CMakeFiles/temptable.dir/src/table.cc.o
[ 34%] Building CXX object storage/temptable/CMakeFiles/temptable.dir/src/test.cc.o
[ 34%] Linking CXX static library libtemptable.a
[ 34%] Built target temptable
[ 34%] Building CXX object storage/xengine/CMakeFiles/xengine_se.dir/handler/ha_xengine.cc.o
In file included from /root/wayne/polardbx/polardbx-engine/storage/xengine/core/compact/range_iterator.h:33,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/core/storage/multi_version_extent_meta_layer.h:25,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/core/db/snapshot_impl.h:13,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/core/storage/storage_manager.h:23,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/handler/./ha_xengine.h:50,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/handler/ha_xengine.cc:26:
/root/wayne/polardbx/polardbx-engine/storage/xengine/core/table/block.h: In constructor ‘xengine::table::BlockReadAmpBitmap::BlockReadAmpBitmap(size_t, size_t)’:
/root/wayne/polardbx/polardbx-engine/storage/xengine/core/table/block.h:74:53: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct std::atomic<unsigned int>’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess]
memset(bitmap_, 0, bitmap_size * kBytesPersEntry);
^
In file included from /root/wayne/polardbx/polardbx-engine/sql/sql_class.h:63,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/handler/ha_xengine.cc:25:
/usr/include/c++/8/atomic:684:12: note: ‘struct std::atomic<unsigned int>’ declared here
struct atomic<unsigned int> : __atomic_base<unsigned int>
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/8/unordered_map:46,
from /root/wayne/polardbx/polardbx-engine/include/map_helpers.h:30,
from /root/wayne/polardbx/polardbx-engine/sql/sql_class.h:70,
from /root/wayne/polardbx/polardbx-engine/storage/xengine/handler/ha_xengine.cc:25:
/usr/include/c++/8/bits/hashtable.h: In instantiation of ‘class std::_Hashtable<long int, std::pair<const long int, xengine::storage::AsyncRandomAccessExtent*>, xengine::memory::stl_adapt_allocator<std::pair<long int, xengine::storage::AsyncRandomAccessExtent*>, 14>, std::__detail::_Select1st, std::equal_to<long int>, std::hash<long int>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >’:
/usr/include/c++/8/bits/unordered_map.h:105:18: required from ‘class std::unordered_map<long int, xengine::storage::AsyncRandomAccessExtent*, std::hash<long int>, std::equal_to<long int>, xengine::memory::stl_adapt_allocator<std::pair<long int, xengine::storage::AsyncRandomAccessExtent*>, 14> >’
/root/wayne/polardbx/polardbx-engine/storage/xengine/core/compact/compaction.h:585:21: required from here
/usr/include/c++/8/bits/hashtable.h:192:21: error: static assertion failed: unordered container must have the same value_type as its allocator
static_assert(is_same<typename _Alloc::value_type, _Value>{},
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [storage/xengine/CMakeFiles/xengine_se.dir/build.make:76: storage/xengine/CMakeFiles/xengine_se.dir/handler/ha_xengine.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4925: storage/xengine/CMakeFiles/xengine_se.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
[root@localhost polardbx-engine]#
The text was updated successfully, but these errors were encountered:
this is guide I followed from github here
then I got below error during build
The text was updated successfully, but these errors were encountered: