Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-31 Thread Andrii Nakryiko
On Wed, Jul 31, 2019 at 6:21 AM Ilya Leoshkevich wrote: > > > Am 27.07.2019 um 20:53 schrieb Andrii Nakryiko : > > > > On Fri, Jul 26, 2019 at 3:01 PM Stanislav Fomichev wrote: > >> > >> On 07/26, Andrii Nakryiko wrote: > >>> On Fri, Jul 26, 2019 at 2:21 PM Stanislav Fomichev > >>> wrote: > >>>

Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-31 Thread Ilya Leoshkevich
> Am 27.07.2019 um 20:53 schrieb Andrii Nakryiko : > > On Fri, Jul 26, 2019 at 3:01 PM Stanislav Fomichev wrote: >> >> On 07/26, Andrii Nakryiko wrote: >>> On Fri, Jul 26, 2019 at 2:21 PM Stanislav Fomichev wrote: On 07/26, Andrii Nakryiko wrote: > Apprently listing header as a n

Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-27 Thread Andrii Nakryiko
On Fri, Jul 26, 2019 at 3:01 PM Stanislav Fomichev wrote: > > On 07/26, Andrii Nakryiko wrote: > > On Fri, Jul 26, 2019 at 2:21 PM Stanislav Fomichev wrote: > > > > > > On 07/26, Andrii Nakryiko wrote: > > > > Apprently listing header as a normal dependency for a binary output > > > > makes it go

Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-26 Thread Stanislav Fomichev
On 07/26, Andrii Nakryiko wrote: > On Fri, Jul 26, 2019 at 2:21 PM Stanislav Fomichev wrote: > > > > On 07/26, Andrii Nakryiko wrote: > > > Apprently listing header as a normal dependency for a binary output > > > makes it go through compilation as if it was C code. This currently > > > works with

Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-26 Thread Andrii Nakryiko
On Fri, Jul 26, 2019 at 2:21 PM Stanislav Fomichev wrote: > > On 07/26, Andrii Nakryiko wrote: > > Apprently listing header as a normal dependency for a binary output > > makes it go through compilation as if it was C code. This currently > > works without a problem, but in subsequent commits caus

Re: [PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-26 Thread Stanislav Fomichev
On 07/26, Andrii Nakryiko wrote: > Apprently listing header as a normal dependency for a binary output > makes it go through compilation as if it was C code. This currently > works without a problem, but in subsequent commits causes problems for > differently generated test.h for test_progs. Markin

[PATCH bpf-next 1/9] selftests/bpf: prevent headers to be compiled as C code

2019-07-26 Thread Andrii Nakryiko
Apprently listing header as a normal dependency for a binary output makes it go through compilation as if it was C code. This currently works without a problem, but in subsequent commits causes problems for differently generated test.h for test_progs. Marking those headers as order-only dependency