intel / intel-ipsec-mb

Intel(R) Multi-Buffer Crypto for IPSec
BSD 3-Clause "New" or "Revised" License
288 stars 88 forks source link

Fuzz test application compilation issue #106

Closed tkanteck closed 1 year ago

tkanteck commented 2 years ago

On some system there appear to be an issue with compiling one of the test applications which manifests itself with linking problem like this:

/usr/bin/ld: cannot find /usr/local/lib/clang/14.0.0/lib/linux/libclang_rt.fuzzer-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/local/lib/clang/14.0.0/lib/linux/libclang_rt.asan-x86_64.a: No such file or directory

In such case please run make -j -k to make sure that compilation process attempts to compile as much as possible despite the error. The library doesn't depend on the test application and is 100% usable without it. make install is expected to run smoothly too.

tkanteck commented 1 year ago

After some investigation the issue couldn't be replicated with any standard clang installation. In order to replicate the problem one of the libraries in question had to be renamed or removed. This leads to conclusion that if the issue appears then the clang installation seems to be broken.

Running make -j -k is the advised solution in this case.