Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with glibc >= 2.34 #114

Closed
ggardet opened this issue Jul 5, 2022 · 2 comments
Closed

Build fails with glibc >= 2.34 #114

ggardet opened this issue Jul 5, 2022 · 2 comments

Comments

@ggardet
Copy link

ggardet commented Jul 5, 2022

Build fails with glibc >= 2.34 with:

[ 6426s] [ 91%] Building CXX object tools/hscollider/CMakeFiles/hscollider.dir/sig.cpp.o
[ 6426s] cd /home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/build/tools/hscollider && /usr/bin/c++  -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/hscollider -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/build/tools/hscollider -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/hscollider -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/src -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/build -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7 -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/src -I/home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/util -isystem /home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/include -mbranch-protection=standard -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type  -g -march=armv8-a+crypto+crc -mtune=native  -O3 -std=c++17 -Wall -Wextra -Wshadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor -fno-strict-aliasing -fno-new-ttp-matching -DNDEBUG -Wno-maybe-uninitialized -Wno-abi -fno-omit-frame-pointer -fvisibility=hidden -Wvla -Wpointer-arith -Wno-unused-const-variable -Wno-ignored-attributes -Wno-redundant-move -Wmissing-declarations  -g -DNDEBUG -MD -MT tools/hscollider/CMakeFiles/hscollider.dir/sig.cpp.o -MF CMakeFiles/hscollider.dir/sig.cpp.o.d -o CMakeFiles/hscollider.dir/sig.cpp.o -c /home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/hscollider/sig.cpp
[ 6428s] In file included from /usr/include/signal.h:328,
[ 6428s]                  from /home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/hscollider/sig.cpp:40:
[ 6428s] /home/abuild/rpmbuild/BUILD/vectorscan-vectorscan-5.4.7/tools/hscollider/sig.cpp:169:40: error: size of array 'alt_stack_loc' is not an integral constant-expression
[ 6428s]   169 | static TLS_VARIABLE char alt_stack_loc[SIGSTKSZ];
[ 6428s]       |                                        ^~~~~~~~

This was found on openSUSE Tumbleweed aarch64.

@markos
Copy link

markos commented Jul 6, 2022

This is the case with original hyperscan as well. Working on backporting a few fixes from upstream at the moment including this one.

@markos
Copy link

markos commented Sep 3, 2022

This should be fixed in #118

@markos markos closed this as completed Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants