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

Vineet Gupta Vineet.Gupta1 at synopsys.com
Fri Aug 19 13:09:51 PDT 2016


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 as cross devel packages.

> I'll add at least zlib and elfutils to the mix, building it in the
> docker image creation process, and then testing with/without
> NO_LIBELF=1, as I do to other cross-building images:

But that won't work with tools you got now - I can have someone provide you
prebuilt tools off of Buildroot with those packages included. Or if you could be
arsed that is really easy to do off upstream buildroot :-)

>  
>> Thx a bunch for doing this Arnaldo - CROSS build and uclibc had a tendency to
>> break here and there so this will catch errors early.
> Hopefully this is something of the past :-)

Cool stuff - thx once again !

-Vineet



More information about the linux-snps-arc mailing list