Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-22 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 22, 2016 at 06:01:08PM +, Alexey Brodkin escreveu: > On Fri, 2016-08-19 at 20:02 -0300, Arnaldo Carvalho de Melo wrote: > > Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > > > > cor

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-22 Thread Alexey Brodkin
Hi Arnaldo, On Fri, 2016-08-19 at 20:02 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu: > > > > Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > > > > > > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrot

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 06:42:07PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote: > > >> But one question: when you test build, do you have any extra devel > > >> > packages ins

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 02:27:58PM -0700, Vineet Gupta escreveu: > On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote: > >> But one question: when you test build, do you have any extra devel > >> > packages installed besides what is in this prebuilt toolchain tarball? > >> > > >> > I'll add at

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Vineet Gupta
On 08/19/2016 02:10 PM, Arnaldo Carvalho de Melo wrote: >> But one question: when you test build, do you have any extra devel >> > packages installed besides what is in this prebuilt toolchain tarball? >> > >> > I'll add at least zlib and elfutils to the mix, building it in the >> > docker image c

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 04:23:02PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 19, 2016 at 11:01:49AM -0700, Vineet Gupta escreveu: > > Awesome - I presume it ran to completion and builds perf successfully. > > Right, see full logs below. > > But one question: when you test build, do

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Vineet Gupta
On 08/19/2016 12:23 PM, Arnaldo Carvalho de Melo wrote: > . > But one question: when you test build, do you have any extra devel > packages installed besides what is in this prebuilt toolchain tarball? No - not when doing this with minimal cross tools - we do have Buildroot where libelf and zlib a

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 19, 2016 at 11:01:49AM -0700, Vineet Gupta escreveu: > Awesome - I presume it ran to completion and builds perf successfully. Right, see full logs below. But one question: when you test build, do you have any extra devel packages installed besides what is in this prebuilt toolchain ta

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Vineet Gupta
On 08/19/2016 07:22 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 18, 2016 at 09:03:08AM -0700, Vineet Gupta escreveu: >> On 08/18/2016 07:07 AM, Arnaldo Carvalho de Melo wrote: >>> Are you aware of any readily available tarball or docker image that has >>> a uclibc based devel env that I could

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-19 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 18, 2016 at 09:03:08AM -0700, Vineet Gupta escreveu: > On 08/18/2016 07:07 AM, Arnaldo Carvalho de Melo wrote: > > Are you aware of any readily available tarball or docker image that has > > a uclibc based devel env that I could grab? I'd add it to my build setup > > to make sure I (and

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Arnaldo Carvalho de Melo
Em Thu, Aug 18, 2016 at 09:03:08AM -0700, Vineet Gupta escreveu: > On 08/18/2016 07:07 AM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Aug 17, 2016 at 01:00:50PM -0700, Vineet Gupta escreveu: > >> perf tools build in recent kernels spews splat when cross compiling with > >> uClibc > >> > >> | CC

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Vineet Gupta
On 08/18/2016 07:07 AM, Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 17, 2016 at 01:00:50PM -0700, Vineet Gupta escreveu: >> perf tools build in recent kernels spews splat when cross compiling with >> uClibc >> >> | CC util/alias.o >> | In file included from tools/perf/util/../ui/../util/

Re: [PATCH] tools lib: Reinstate strlcpy() header guard with __UCLIBC__

2016-08-18 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 17, 2016 at 01:00:50PM -0700, Vineet Gupta escreveu: > perf tools build in recent kernels spews splat when cross compiling with > uClibc > > | CC util/alias.o > | In file included from tools/perf/util/../ui/../util/cache.h:8:0, > | from tools/perf/util/../ui/he