Re: [PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 08, 2017 at 10:04:05AM +0200, Jörg Krause escreveu: > On Mon, 2017-03-06 at 16:38 -0300, Arnaldo Carvalho de Melo wrote: > > When building with clang on a musl libc system, Alpine Linux, we end up > > hitting a problem where memset() is used but its prototype is not > > present, add it

Re: [PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 08, 2017 at 10:04:05AM +0200, Jörg Krause escreveu: > On Mon, 2017-03-06 at 16:38 -0300, Arnaldo Carvalho de Melo wrote: > > When building with clang on a musl libc system, Alpine Linux, we end up > > hitting a problem where memset() is used but its prototype is not > > present, add it

Re: [PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-09-08 Thread Jörg Krause
Hi Arnaldo, On Mon, 2017-03-06 at 16:38 -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > When building with clang on a musl libc system, Alpine Linux, we end up > hitting a problem where memset() is used but its prototype is not > present, add it to

Re: [PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-09-08 Thread Jörg Krause
Hi Arnaldo, On Mon, 2017-03-06 at 16:38 -0300, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > When building with clang on a musl libc system, Alpine Linux, we end up > hitting a problem where memset() is used but its prototype is not > present, add it to avoid this: > >

[PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-03-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When building with clang on a musl libc system, Alpine Linux, we end up hitting a problem where memset() is used but its prototype is not present, add it to avoid this: bench/futex-wake.c:99:3: error: implicitly declaring library function

[PATCH 33/35] perf bench futex: Fix build on musl + clang

2017-03-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When building with clang on a musl libc system, Alpine Linux, we end up hitting a problem where memset() is used but its prototype is not present, add it to avoid this: bench/futex-wake.c:99:3: error: implicitly declaring library function 'memset' with type