-
Notifications
You must be signed in to change notification settings - Fork 46
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
Compilation error for buffetfsm "forward declaration of 'sigaltstack'" #6
Comments
Thanks for reporting this! Buffet is implemented as a set of patches against a version of clang that is now quite out of date, so it's not surprising that new compilers might fail to compile it. We're working on a fix (either patching the old version of clang we use or making our patches work against a newer version), but in the meantime the best workaround I can offer is to use an older version of gcc (<= 6). FYI, I was able to reproduce the build error you got using the exact OS and gcc version you mentioned, but not on Debian unstable with gcc 7.2.0. |
I tried to compile against the latest version of llvm patched and the entire build process is working. |
I also had a problem with the build process when compiling libsnark. My issue was the same as scipr-lab/libsnark#82 and scipr-lab/libsnark#86 (comment) I also updated the installation scripts to use the latest version of libsnark and created a pr #10 With these two changes the entire build process works. My only problem now is when trying to run the examples it cannot find the libsnark headers. I see that they are installed under |
When running
./install_buffet.sh
in an up to date Fedora 27 with gcc version7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)
I get this error:The text was updated successfully, but these errors were encountered: