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
When building bpftool statically on Ubuntu 24.04 (note that it works fine on 22.04), -lzstd must be added to LIBS and BOOTSTRAP_LIBS. See my "live patch" cilium/tetragon@8e994cf.
Would it make sense to upstream that? I would be happy to.
I have a repro, do the following steps with ubuntu:22.04 and ubuntu:24.04 (replace clang 15 with clang 18 on 24.04)
Thanks for the report! We'll need to update both the kernel and the mirror repo, independently. Do you have more context on the change, by any chance? Is there a way to figure out whether the -lzstd is required without having to add a new set of probes?
Thanks for the report! We'll need to update both the kernel and the mirror repo, independently. Do you have more context on the change, by any chance? Is there a way to figure out whether the -lzstd is required without having to add a new set of probes?
Tbh I don't exactly know the "why", I just ended up finding that it fixed my issue when using the newer Ubuntu version. I could investigate to see!
I hit the same problem, for what is worth zstd is required by libelf. It could be that older versions of libelf didn't use zstd.
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libelf.a(elf_compress.o): in function `__libelf_decompress_elf':
(.text+0xd45): undefined reference to `ZSTD_decompress'
When building bpftool statically on Ubuntu 24.04 (note that it works fine on 22.04),
-lzstd
must be added toLIBS
andBOOTSTRAP_LIBS
. See my "live patch" cilium/tetragon@8e994cf.Would it make sense to upstream that? I would be happy to.
I have a repro, do the following steps with
ubuntu:22.04
andubuntu:24.04
(replace clang 15 with clang 18 on 24.04)The text was updated successfully, but these errors were encountered: