iu-parfunc / ShadowGuard

Low(er) Overhead Shadow Stack Implementation using Binary Static Analysis
8 stars 4 forks source link

Cannot build #1

Open testhound opened 4 years ago

testhound commented 4 years ago

After installing bazel and execut "./bazel.sh build" I received the following error:

src/main/tools/process-tools.cc:118: sigaction(32, &sa, nullptr) failed src/main/tools/process-tools.cc:118: sigaction(33, &sa, nullptr) failed /usr/include/boost/system/error_code.hpp:206: error: undefined reference to 'boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:208: error: undefined reference to 'boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:210: error: undefined reference to 'boost::system::system_category()' /usr/include/boost/system/error_code.hpp:656: error: undefined reference to 'boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:659: error: undefined reference to 'boost::system::generic_category()' /usr/include/boost/system/error_code.hpp:210: error: undefined reference to 'boost::system::system_category()' collect2: error: ld returned 1 exit status

mxz297 commented 4 years ago

@testhound Hi, it looks like you are using the system boost, which may not necessarily have all the boost libraries we need installed.

Did you run ./bazel.sh deps ?

testhound commented 4 years ago

Yes I ran "./bazel deps"

testhound commented 4 years ago

I looked a the deps build and it does not do anything with boost. How does bazel locate boost on my system?