Details
Description
Building the server fails with:
from src/mongo/db/auth/authorization_session.h:39,
|
from src/mongo/s/commands/cluster_refine_collection_shard_key_cmd.cpp:34:
|
src/mongo/stdx/thread.h:110:56: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
|
110 | std::max(kMongoMinSignalStackSize, std::size_t{MINSIGSTKSZ});
|
| ^~~~~~~~~~~
|
In file included from /usr/include/boost/config/stdlib/libstdcpp3.hpp:78,
|
from /usr/include/boost/config.hpp:48,
|
This is due to changes in glibc-2.34 (https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html):
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ. When _DYNAMIC_STACK_SIZE_SOURCE
|
or _GNU_SOURCE are defined, MINSIGSTKSZ and SIGSTKSZ are no longer
|
constant on Linux. MINSIGSTKSZ is redefined to sysconf(_SC_MINSIGSTKSZ) and SIGSTKSZ is redefined to sysconf (_SC_SIGSTKSZ). This supports dynamic sized register sets for modern architectural features like Arm SVE.
|
Downstream bug: https://bugs.gentoo.org/806773
Attachments
Issue Links
- related to
-
SERVER-61433 Boost thread compilation warning with new glibc
-
- Closed
-