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.
// empirically, jl_finish_task needs about 64k stack space to infer/run
// and additionally, gc-stack reserves 64k for the guard pages
#if defined(MINSIGSTKSZ) &&MINSIGSTKSZ>131072
#defineMINSTKSZ MINSIGSTKSZ
#else
#defineMINSTKSZ 131072
#endif
make -j2
[...]
CC src/task.o
In file included from /usr/include/signal.h:315,
from /home/fedora/nalimilan/julia/src/task.c:31:
/home/fedora/nalimilan/julia/src/task.c:69:29: error: missing binary operator before token "("
69 | #if defined(MINSIGSTKSZ) && MINSIGSTKSZ > 131072
| ^~~~~~~~~~~
FWIW, this only happens with -D_GNU_SOURCE, but AFAICT Julia needs it.
glibc 2.33 deprecated the
MINSIGSTKSZconstant in favor ofsysconf (_SC_MINSIGSTKSZ):https://sourceware.org/git/?p=glibc.git;a=commit;h=6c57d320484988e87e446e2e60ce42816bf51d53
This makes the build fail on Fedora Rawhide due to these lines (both on 1.6.0-rc1 and master):
julia/src/task.c
Lines 67 to 73 in a12d0ff
FWIW, this only happens with
-D_GNU_SOURCE, but AFAICT Julia needs it.(See also https://bugzilla.redhat.com/show_bug.cgi?id=1928696.)
Cc: @vtjnash who touched these lines last.
The text was updated successfully, but these errors were encountered: