add patch to allow SymEngine v0.7 to compile with glibc >= 2.34#23817
Conversation
|
Test report by @Flamefire |
|
Another possible solution to this might be to add a #define SIGSTKSZ sysconf (_SC_SIGSTKSZ)
PS: Trying to see if I can get this to work otherwise I think also defining the fallback value would be fine |
|
NVM using #include <stdio.h>
#include <unistd.h>
#define SIGSTKSZ sysconf (_SC_SIGSTKSZ)
int main() {
printf(" SIGSTKSZ: %ld\n", SIGSTKSZ);
printf("_SC_SIGSTKSZ: %d\n", _SC_SIGSTKSZ);
}
// SIGSTKSZ: 14528
// _SC_SIGSTKSZ: 250 |
|
Test report by @Crivella |
Crivella
left a comment
There was a problem hiding this comment.
Adding comments for the patch
|
@boegelbot please test @ jsc-zen3 |
|
@Crivella: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3269962741 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
I guess we can live with the ~32kb non deallocated array since i think it will be done only once throughout the code. On a side note when digging a little from which is the reason the code is not failing due to the undefined macro, but is failing since you cannot allocate a static array with a non constant integer. |
SymEngine 0.7 to compile with glibc >= 2.34
|
Going in, thanks @Flamefire! |
It is used in |
SymEngine 0.7 to compile with glibc >= 2.34glibc >= 2.34
(created using
eb --new-pr)