On Sun, Apr 24, 2022 at 05:23:15PM EDT, Ruben Schuller wrote: > Hi, > > hyperscan 5.4.0 fails to build with > > In file included from /usr/include/signal.h:328, > from > /tmp/SBo/hyperscan-5.4.0/tools/hscollider/sig.cpp:40: > /tmp/SBo/hyperscan-5.4.0/tools/hscollider/sig.cpp:178:40: error: size > of array ‘alt_stack_loc’ is not an integral constant-expression 178 | > static TLS_VARIABLE char alt_stack_loc[SIGSTKSZ]; | > ^~~~~~~~ make[2]: *** > [tools/hscollider/CMakeFiles/hscollider.dir/build.make:221: > tools/hscollider/CMakeFiles/hscollider.dir/sig.cpp.o] Error 1 > > There is an issue [1] about this on GitHub suggesting -DFAT_RUNTIME=off, > but this didn't help here. Any suggestions?
It built fine for me. Are you on 15.0 or current? Perusing through the system headers I saw some comment that SIGSTKSZ was being redefined from a constant to something potentially variable in glibc >= 2.34. So if you're on current with glibc 2.35, you may be getting a build failure that is not reproducible on 15.0. _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/