From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/uhd: fix build with riscV
Date: Thu, 28 Jan 2021 18:01:33 +0100 [thread overview]
Message-ID: <87eei53sia.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20210112063027.27344-1-gwenj@trabucayre.com> (Gwenhael Goavec-Merou's message of "Tue, 12 Jan 2021 07:30:27 +0100")
>>>>> "Gwenhael" == Gwenhael Goavec-Merou <gwenj@trabucayre.com> writes:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> When the target CPU is riscV, msgpack is unable to detect endianness with a list of errors like:
> uhd/host/lib/deps/rpclib/include/rpc/msgpack/pack.hpp:190:2: error:
> #error msgpack-c supports only big endian and little endian
> 190 | #error msgpack-c supports only big endian and little endian
> | ^~~~~
> and with subsequent errors:
> uhd0/host/lib/deps/rpclib/include/rpc/msgpack/pack.hpp:236:46: error:
> there are no arguments to 'take8_8' that depend on a template
> parameter, so a declaration of 'take8_8' must be available
> [-fpermissive]
> 236 | char buf[2] = {static_cast<char>(0xccu), take8_8(d)};
> |
> This is due to a missing support for this architecture in msgpack.
> This patch adapt commit from https://github.com/boostorg/predef
> [backported from https://github.com/EttusResearch/uhd/pull/400]
> Fix:
> - http://autobuild.buildroot.net/results/afacf5c5c2cd9dff6962523f1fdded9b474b9d66/
> - http://autobuild.buildroot.net/results/91530538d630a7f09d85327e514f01b45253c1a6/
> - http://autobuild.buildroot.net/results/91530538d630a7f09d85327e514f01b45253c1a6/
> - and others
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Committed to 2020.11.x, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2021-01-28 17:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-12 6:30 [Buildroot] [PATCH] package/uhd: fix build with riscV Gwenhael Goavec-Merou
2021-01-23 21:00 ` Thomas Petazzoni
2021-01-28 17:01 ` Peter Korsgaard [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-10-30 15:31 Gwenhael Goavec-Merou
2020-11-01 10:14 ` Yann E. MORIN
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=87eei53sia.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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.