Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-02-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (master) by Andrii Nakryiko : On Thu, 30 Jan 2025 15:33:45 -0700 you wrote: > Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM > libraries"), only statically linking test_progs is supported. However, > some distros only provide a

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-02-05 Thread Andrii Nakryiko
On Thu, Jan 30, 2025 at 2:34 PM Daniel Xu wrote: > > Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM > libraries"), only statically linking test_progs is supported. However, > some distros only provide a dynamically linkable LLVM. > > This commit adds a fallback for dynamically

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-02-01 Thread Yonghong Song
On 2/1/25 12:23 AM, Daniel Xu wrote: Hi Yonghong, On Thu, Jan 30, 2025 at 10:28:11PM -0800, Yonghong Song wrote: On 1/30/25 2:33 PM, Daniel Xu wrote: Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM libraries"), only statically linking test_progs is supported. However,

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-02-01 Thread Daniel Xu
Hi Yonghong, On Thu, Jan 30, 2025 at 10:28:11PM -0800, Yonghong Song wrote: > > > > On 1/30/25 2:33 PM, Daniel Xu wrote: > > Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM > > libraries"), only statically linking test_progs is supported. However, > > some distros only provid

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-01-30 Thread Yonghong Song
On 1/30/25 2:33 PM, Daniel Xu wrote: Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM libraries"), only statically linking test_progs is supported. However, some distros only provide a dynamically linkable LLVM. This commit adds a fallback for dynamically linking LLVM if st

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-01-30 Thread Yonghong Song
On 1/30/25 2:33 PM, Daniel Xu wrote: Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM libraries"), only statically linking test_progs is supported. However, some distros only provide a dynamically linkable LLVM. This commit adds a fallback for dynamically linking LLVM if st

Re: [PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-01-30 Thread Eduard Zingerman
On Thu, 2025-01-30 at 15:33 -0700, Daniel Xu wrote: > Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM > libraries"), only statically linking test_progs is supported. However, > some distros only provide a dynamically linkable LLVM. > > This commit adds a fallback for dynamically

[PATCH] selftests: bpf: Support dynamic linking LLVM if static not available

2025-01-30 Thread Daniel Xu
Since 67ab80a01886 ("selftests/bpf: Prefer static linking for LLVM libraries"), only statically linking test_progs is supported. However, some distros only provide a dynamically linkable LLVM. This commit adds a fallback for dynamically linking LLVM if static linking is not available. If both opti