[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQKtMZoULOtHzxvb=r7K4C8R4vc-zDqZD6eFDCfxgh2xYw@mail.gmail.com>
Date: Thu, 14 May 2020 12:39:38 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Yonghong Song <yhs@...com>
Cc: Matteo Croce <mcroce@...hat.com>, bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Joe Stringer <joe@....org>, Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH bpf] samples: bpf: fix build error
On Mon, May 11, 2020 at 1:32 PM Yonghong Song <yhs@...com> wrote:
>
>
>
> On 5/11/20 4:32 AM, Matteo Croce wrote:
> > GCC 10 is very strict about symbol clash, and lwt_len_hist_user contains
> > a symbol which clashes with libbpf:
> >
> > /usr/bin/ld: samples/bpf/lwt_len_hist_user.o:(.bss+0x0): multiple definition of `bpf_log_buf'; samples/bpf/bpf_load.o:(.bss+0x8c0): first defined here
> > collect2: error: ld returned 1 exit status
> >
> > bpf_log_buf here seems to be a leftover, so removing it.
> >
> > Signed-off-by: Matteo Croce <mcroce@...hat.com>
>
> Acked-by: Yonghong Song <yhs@...com>
Applied to bpf tree. Thanks
Powered by blists - more mailing lists