Re: [PATCH bpf-next v4 0/2] BPF static linker: fix linking duplicate extern functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Wed, 02 Oct 2024 14:25:05 +0800 you wrote:
> Currently, if `bpftool gen object` tries to link two objects that
> contains the same extern function prototype, libbpf will try to get
> their (non-existent) size by calling bpf__resolve_size like extern
> variables and fail with:
> 
> 	libbpf: global 'whatever': failed to resolve size of underlying type: -22
> 
> [...]

Here is the summary with links:
  - [bpf-next,v4,1/2] libbpf: do not resolve size on duplicate FUNCs
    https://git.kernel.org/bpf/bpf-next/c/4b146e95da87
  - [bpf-next,v4,2/2] selftests/bpf: test linking with duplicate extern functions
    https://git.kernel.org/bpf/bpf-next/c/3c591de28543

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux