diff options
author | KP Singh <[email protected]> | 2022-03-07 13:30:47 +0000 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2022-03-07 22:27:00 -0800 |
commit | 5ad0a415da6be8c13ed45c655e5acc9fa93557a9 (patch) | |
tree | 525cb317b0fea5cf4038bd6ea00b60e0fdfe073a /lib/string_helpers.c | |
parent | 4989135a85334337ac8b7e42e7ee1a569ad5f7f5 (diff) |
bpf/docs: Update vmtest docs for static linking
Dynamic linking when compiling on the host can cause issues when the
libc version does not match the one in the VM image. Update the
docs to explain how to do this.
Before:
./vmtest.sh -- ./test_progs -t test_ima
./test_progs: /usr/lib/libc.so.6: version `GLIBC_2.33' not found (required by ./test_progs)
After:
LDLIBS=-static ./vmtest.sh -- ./test_progs -t test_ima
test_ima:OK
Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED
Reported-by: "Geyslan G. Bem" <[email protected]>
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions