Re: [PATCH bpf-next] libbpf: Fix build with gcc-8

2019-04-11 Thread Daniel Borkmann
On 04/11/2019 03:36 AM, Andrey Ignatov wrote: > Reported in [1]. > > With gcc 8.3.0 the following error is issued: > > cc -Ibpf@sta -I. -I.. -I.././include -I.././include/uapi > -fdiagnostics-color=always -fsanitize=address,undefined > -fno-omit-frame-pointer > -pipe -D_FILE_OFFSET_BITS=64

Re: [PATCH bpf-next] libbpf: Fix build with gcc-8

2019-04-10 Thread Yonghong Song
On 4/10/19 6:36 PM, Andrey Ignatov wrote: > Reported in [1]. > > With gcc 8.3.0 the following error is issued: > >cc -Ibpf@sta -I. -I.. -I.././include -I.././include/uapi >-fdiagnostics-color=always -fsanitize=address,undefined > -fno-omit-frame-pointer >-pipe -D_FILE_OFFSET_BITS=6

[PATCH bpf-next] libbpf: Fix build with gcc-8

2019-04-10 Thread Andrey Ignatov
Reported in [1]. With gcc 8.3.0 the following error is issued: cc -Ibpf@sta -I. -I.. -I.././include -I.././include/uapi -fdiagnostics-color=always -fsanitize=address,undefined -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -g -fPIC -g -O2 -Werror -Wall -