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.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.
I have been trying to install the shadow-plugin-bitcoin but I have not been successful due to multiple errors that pop up when I execute the 'make -j1' command.
I'm currently using the container available on the shadow github that has shadow v1.10.2 installed I have followed every step described in the shadow-plugin-bitcoin wiki but when I execute the command 'make -j1' I get the following error message.
shadow-plugin-bitcoind.hoisted.bc: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
src/CMakeFiles/shadow-plugin-bitcoind.dir/build.make:880: recipe for target 'src/libshadow-plugin-bitcoind.so' failed
make[2]: *** [src/libshadow-plugin-bitcoind.so] Error 1
CMakeFiles/Makefile2:260: recipe for target 'src/CMakeFiles/shadow-plugin-bitcoind.dir/all' failed
make[1]: *** [src/CMakeFiles/shadow-plugin-bitcoind.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
shadow-plugin-bitcoind.hoisted.bc: file not recognized: File format not recognized
The .bc file is a bitcode file that is produced by LLVM. My guess is that there is some issue with your version of Clang/LLVM - maybe your version doesn't do the same thing as it did back when we created this plugin. I'm not sure what to offer as a solution: I no longer use the bitcoin plugin and unfortunately it isn't really being maintained anymore.
The best option might be to update the plugin so that it runs in the latest version of Shadow. Shadow has some significant improvements since version 1.10.2 that would drastically simplify the bitcoin plugin build process and make it more sustainable long term.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have been trying to install the shadow-plugin-bitcoin but I have not been successful due to multiple errors that pop up when I execute the 'make -j1' command.
I'm currently using the container available on the shadow github that has shadow v1.10.2 installed I have followed every step described in the shadow-plugin-bitcoin wiki but when I execute the command 'make -j1' I get the following error message.
I have also uploaded a file with the full output of executing 'make -j1' output.txt as well as uploaded the container in the state where the make fails https://hub.docker.com/r/sigmajem/shadow/.
I also had to apply the fix from #3 until the C++ compiler stopped throwing errors
The text was updated successfully, but these errors were encountered: