From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH v3 net-next 0/2] bpfilter Date: Wed, 23 May 2018 18:33:52 -0700 Message-ID: <20180523183352.7ccc3f5d@cakuba> References: <20180522022230.2492505-1-ast@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "David S . Miller" , , , , , , , , , To: Alexei Starovoitov Return-path: In-Reply-To: <20180522022230.2492505-1-ast@kernel.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Minor glitch with Ubuntu 18.04: $ gcc --version gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0 In file included from /usr/include/fcntl.h:290:0, from ../net/bpfilter/main.c:7: In function =E2=80=98open=E2=80=99, inlined from =E2=80=98main=E2=80=99 at ../net/bpfilter/main.c:58:13: /usr/include/x86_64-linux-gnu/bits/fcntl2.h:50:4: error: call to =E2=80=98_= _open_missing_mode=E2=80=99 declared with attribute error: open with O_CREA= T or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^~~~~~~~~~~~~~~~~~~~~~ scripts/Makefile.host:107: recipe for target 'net/bpfilter/main.o' failed make[3]: *** [net/bpfilter/main.o] Error 1 I can't repro on Fedora 27 gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5), perhaps the GCC is broken on that Ubuntu 18.04 box of mine. The warning/ /error, however, looks potentially legit?