[Buildroot] [PATCH 1/3] package/qpid-proton: fix build without threads
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Apr 2 21:54:11 UTC 2021
Fabrice, All,
On 2021-04-02 18:33 +0200, Fabrice Fontaine spake thusly:
> Build of qpid-proton is broken since bump to version 0.33.0 in commit
> d4c0fde91da0d79204a21ed8de1bd410efa1c4d6 because epoll proactor
> unconditonally uses pthread
>
> Fixes:
> - http://autobuild.buildroot.org/results/ec34da16a11f0600ecfbbbc4039e8210aea0498c
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
[--SNIP--]
> diff --git a/package/qpid-proton/qpid-proton.mk b/package/qpid-proton/qpid-proton.mk
> index b73ab8d6da..bbf953c472 100644
> --- a/package/qpid-proton/qpid-proton.mk
> +++ b/package/qpid-proton/qpid-proton.mk
> @@ -31,6 +31,14 @@ QPID_PROTON_CONF_OPTS = \
> -DENABLE_WARNING_ERROR=OFF \
> -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python2
>
> +# epoll proactor unconditionally uses pthread and cpp binding unconditionally
> +# uses proactor
I added a small clarification that 'CPP' in this context means C++, not
cpp. Ain't it confusing? ;-)
Applied to master, thanks.
Regards,
Yann E. MORIN.
> +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
> +QPID_PROTON_CONF_OPTS += \
> + -DBUILD_CPP=OFF \
> + -DPROACTOR=none
> +endif
> +
> ifeq ($(BR2_PACKAGE_JSONCPP),y)
> QPID_PROTON_DEPENDENCIES += jsoncpp
> QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=ON
> --
> 2.30.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list