Closed
Description
I have glibc v2.34-11, running on Fedora 35. I've seen similar reports elsewhere but don't understand how to fix it.
I've followed the following steps but running make
gives me the following error:
make[1]: Entering directory '/home/Documents/projects/bitcoin/btcdeb'
make[2]: Entering directory '/home/Documents/projects/bitcoin/btcdeb/secp256k1'
make[2]: Leaving directory '/home/Documents/projects/bitcoin/btcdeb/secp256k1'
CXX test/btcdeb-catch.o
In file included from /usr/include/signal.h:328,
from test/catch.hpp:7854,
from test/catch.cpp:15:
test/catch.cpp:3754:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
3754 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from test/catch.hpp:7854,
from test/catch.cpp:15:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
640 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
test/catch.cpp:3810:45: error: size of array ‘altStackMem’ is not an integral constant-expression
3810 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
| ^~~~~~~~~~~~
make[1]: *** [Makefile:1540: test/btcdeb-catch.o] Error 1
Metadata
Metadata
Assignees
Labels
No labels