[Buildroot] [PATCH 1/1] boost: fiber needs exception_ptr

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Jun 25 20:50:57 UTC 2018


Dear Thomas,

2018-06-25 21:35 GMT+02:00 Thomas Petazzoni <thomas.petazzoni at bootlin.com>:

> Hello,
>
> On Mon, 25 Jun 2018 20:45:06 +0200, Fabrice Fontaine wrote:
> > fiber needs exception_ptr because context is a transient dependency of
> fiber
>
> What do you mean by "transient" ? Perhaps you meant "transitive" ?
>
I got this "transient dependencies" from
https://gist.github.com/ax3l/7450482 but you're right transitive is better.

>
> > that needs exception_ptr.
> > An other option would be to make boost fiber depends on boost context
> > (https://www.boost.org/doc/libs/1_67_0/libs/fiber/doc/
> html/fiber/overview.html)
>
> If boost fiber relies on boost context, then boost fiber should select
> boost context.
>
Indeed a select would be better, I will update my patch.
However, I was thinking to add a dependency because that's what is
currently done for BR2_PACKAGE_BOOST_COROUTINE which depends on
BR2_PACKAGE_BOOST_CONTEXT. But after checking the history in patchwork (
http://patchwork.ozlabs.org/patch/539552), it seems this one is a special
case and you wanted to avoid duplicating the dependencies of boost-context
in boost-coroutine.

>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
Best Regards,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180625/7ac33ea8/attachment-0002.html>


More information about the buildroot mailing list