From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2, 1/1] package/boost: boost-thread needs a toolchain without bug 64735
Date: Wed, 25 Dec 2019 22:39:50 +0100 [thread overview]
Message-ID: <20191225223950.6e447b53@windsurf> (raw)
In-Reply-To: <20191222223353.3981922-1-fontaine.fabrice@gmail.com>
On Sun, 22 Dec 2019 23:33:53 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> boost-thread needs std::current_exception since version 1.71.0 and
> https://github.com/boostorg/exception/commit/386f5507cb8ec99c03ca535bea4f8bd61e0de910
>
> std::current_exception depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 as a
> result, gnuradio fails to build on:
>
> [ 12%] Building CXX object gnuradio-runtime/lib/pmt/CMakeFiles/gnuradio-pmt.dir/pmt_pool.cc.o
> In file included from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:15:0,
> from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception_ptr.hpp:9,
> from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10,
> from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/future.hpp:34,
> from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread.hpp:24,
> from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/include/pmt/pmt_pool.h:27,
> from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/lib/pmt/pmt.cc:31:
> /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp: In function 'std::string boost::current_exception_diagnostic_information(bool)':
> /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp:49:26: error: 'current_exception' is not a member of 'std'
> else if (auto* p=std::current_exception().__cxa_exception_type())
> ^
> So add this dependency on boost-thread, boost-log and gnuradio (the only
> reverse dependencies of boost-thread that does not already depends on
> !BR2_TOOLCHAIN_HAS_GCC_BUG_64735)
>
> Finally, add this dependency on gqrx as it is a reverse dependency of
> gnuradio
>
> Fixes:
> - http://autobuild.buildroot.org/results/c384205cf50929c320d90b620f2390837721d9f9
> - http://autobuild.buildroot.org/results/47440354b336b943b74b72fa303b079dc962bfd0
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2:
> - Also update boost-log option
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-12-25 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-22 22:33 [Buildroot] [PATCH v2, 1/1] package/boost: boost-thread needs a toolchain without bug 64735 Fabrice Fontaine
2019-12-25 21:39 ` Thomas Petazzoni [this message]
2020-01-07 21:15 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191225223950.6e447b53@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.