From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Alex Michel <alex.michel@wiedemann-group.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libzenoh-pico: fix or1k build
Date: Mon, 5 Feb 2024 14:24:14 +0100 [thread overview]
Message-ID: <20240205142414.07741505@windsurf> (raw)
In-Reply-To: <20240110215515.1263859-1-fontaine.fabrice@gmail.com>
On Wed, 10 Jan 2024 22:55:15 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure with or1k raises since the addition of
> the package in commit a96361901dcc7b962a0c43f163e97a2de65687f3:
>
> /home/autobuild/autobuild/instance-1/output-1/build/libzenoh-pico-0.10.0-rc/src/link/endpoint.c: Assembler messages:
> /home/autobuild/autobuild/instance-1/output-1/build/libzenoh-pico-0.10.0-rc/src/link/endpoint.c:358: Error: unrecognized instruction `nop'
>
> Fixes:
> - http://autobuild.buildroot.org/results/fd0b2c666a1dc1537162d15b27743abd270243ed
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...001-Remove-nop-or-replace-with-macro.patch | 131 ++++++++++++++++++
> package/libzenoh-pico/libzenoh-pico.mk | 6 +
> 2 files changed, 137 insertions(+)
> create mode 100644 package/libzenoh-pico/0001-Remove-nop-or-replace-with-macro.patch
Thanks a lot for this new patch. We discussed it with Arnout, and even
with this upstream patch the whole thing is still very messy. There
seems to be absolutely no reason for upstream to need this ZP_ASM_NOP
macro. So rather than piling bogus things on top of more bogus things,
I went ahead and applied a fix that just disables this package on or1k.
Ideally, we should explain to upstream that these asm("nop") are
useless.
Thanks for your work!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-02-05 13:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-10 21:55 [Buildroot] [PATCH 1/1] package/libzenoh-pico: fix or1k build Fabrice Fontaine
2024-02-05 13:24 ` Thomas Petazzoni via buildroot [this message]
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=20240205142414.07741505@windsurf \
--to=buildroot@buildroot.org \
--cc=alex.michel@wiedemann-group.com \
--cc=fontaine.fabrice@gmail.com \
--cc=thomas.petazzoni@bootlin.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox