Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM 服务器编译 DN 失败 #16

Open
wsm12138 opened this issue Mar 17, 2022 · 0 comments
Open

ARM 服务器编译 DN 失败 #16

wsm12138 opened this issue Mar 17, 2022 · 0 comments

Comments

@wsm12138
Copy link

wsm12138 commented Mar 17, 2022

平台:Linux 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Mon Mar 23 19:06:43 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
gcc: gcc (GCC) 10.2.1
报错信息:

/usr/include/c++/10/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, std::hash, 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++/10/bits/unordered_map.h:105:18: required from ‘class std::unordered_map<long int, xengine::storage::AsyncRandomAccessExtent*, std::hash, std::equal_to, xengine::memory::stl_adapt_allocator<std::pair<long int, xengine::storage::AsyncRandomAccessExtent*>, 14> >’
middleware/galaxyengine/storage/xengine/core/compact/compaction.h:589:21: required from here
/usr/include/c++/10/bits/hashtable.h:192:21: error: static assertion failed: unordered container must have the same value_type as its allocator
192 | static_assert(is_same<typename _Alloc::value_type, _Value>{},
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [storage/xengine/CMakeFiles/xengine_se.dir/build.make:80: storage/xengine/CMakeFiles/xengine_se.dir/handler/ha_xengine.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5298: storage/xengine/CMakeFiles/xengine_se.dir/all] Error 2
make: *** [Makefile:180: all] Error 2
你好,在上述服务器环境,遇到了同样的问题,请问有没有快速修复的方法? #5

xiewajueji pushed a commit that referenced this issue May 5, 2024
Add counter for number of times table stats has been fetched from NDB.
Remove usage of execute, scan and purge counter from the function that
fetches table stats.
Keep counting one execute when fetching table stats.

Change-Id: I489babe9631e3c385ac8b49dfadc440cfe22fbaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant