[Buildroot] [PATCH v4 1/1] package/uvw: new package

Asaf Kahlon asafka7 at gmail.com
Sat Oct 26 20:40:25 UTC 2019


Hi,

On Sat, Oct 26, 2019 at 8:43 PM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> On Sat, 26 Oct 2019 17:02:04 +0300
> Asaf Kahlon <asafka7 at gmail.com> wrote:
>
> > A header-only libuv wrapper in C++.
> >
> > Signed-off-by: Asaf Kahlon <asafka7 at gmail.com>
> > ---
> > v3->v4:
> >  * gcc 7.x is now OR'ed with NPTL and dynamic library.
> >  * use UVW_SUPPORTS_IN_SOURCE_BUILD = NO.
>
> This patch causes a Doxygen issue:
> http://autobuild.buildroot.net/results/9c6/9c61c06142c832a9669afdcafcbb8b1f7df51082/build-end.log
>
> Could you have a look?

Actually, this failure isn't related to Doxygen.
The problem occurs when CMake runs a simple threads test.
This seems to be fixed on a newer CMake version, as described in this issue:
https://gitlab.kitware.com/cmake/cmake/issues/16920
As a workaround, setting THREADS_PTHREAD_ARG to "2" on UVW_CONF_OPTS
does the job, but I wonder maybe we want to put it on toolchainfile.cmake,
as this can potentially happen in the future with other packages...

Do you have any thoughts regarding the correct solution?

>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

Regards,
Asaf.


More information about the buildroot mailing list