[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176963640461.2240971.7239537113425583931.git-patchwork-notify@kernel.org>
Date: Wed, 28 Jan 2026 21:40:04 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ihor Solodrai <ihor.solodrai@...ux.dev>
Cc: qmo@...nel.org, ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
bpf@...r.kernel.org, linux-kernel@...r.kernel.org, kernel-team@...a.com
Subject: Re: [PATCH] bpftool: Fix dependencies for static build
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Wed, 28 Jan 2026 13:12:55 -0800 you wrote:
> When building selftests/bpf with EXTRA_LDFLAGS=-static the follwoing
> error happens:
>
> LINK /ws/linux/tools/testing/selftests/bpf/tools/build/bpftool/bootstrap/bpftool
> /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libcrypto.a(libcrypto-lib-dso_dlfcn.o): in function `dlfcn_globallookup':
> [...]
> /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libcrypto.a(libcrypto-lib-c_zlib.o): in function `zlib_oneshot_expand_block':
> (.text+0xc64): undefined reference to `uncompress'
> /usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libcrypto.a(libcrypto-lib-c_zlib.o): in function `zlib_oneshot_compress_block':
> (.text+0xce4): undefined reference to `compress'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:252: /ws/linux/tools/testing/selftests/bpf/tools/build/bpftool/bootstrap/bpftool] Error 1
> make: *** [Makefile:327: /ws/linux/tools/testing/selftests/bpf/tools/sbin/bpftool] Error 2
> make: *** Waiting for unfinished jobs....
>
> [...]
Here is the summary with links:
- bpftool: Fix dependencies for static build
https://git.kernel.org/bpf/bpf-next/c/08a749184322
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists