All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
	"Brian Cain" <brian.cain@oss.qualcomm.com>,
	qemu-devel@nongnu.org,
	"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
	stefanha@gmail.com, "Kohei Tokunaga" <ktokunaga.mail@gmail.com>
Subject: Re: [PATCH] tests/docker: add flex and bison to emsdk-wasm64-cross
Date: Wed, 24 Jun 2026 18:48:54 +0100	[thread overview]
Message-ID: <ajwYhu9lClShuhVj@redhat.com> (raw)
In-Reply-To: <87wlvnj0qf.fsf@draig.linaro.org>

On Wed, Jun 24, 2026 at 06:40:24PM +0100, Alex Bennée wrote:
> Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> writes:
> 
> > On 24/6/26 07:48, Brian Cain wrote:
> >> The hexagon idef-parser requires flex and bison as host build
> >> tools.  Add them to the emsdk-wasm64-cross container image so that
> >> wasm64 builds including hexagon-softmmu can find them.
> >> Link:
> >> https://lore.kernel.org/qemu-devel/CAJSP0QVk6wsOnPAspC4YfXRp90saKibQfD4Mk-44-RQo0k=z3w@mail.gmail.com/
> >> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
> >> ---
> >>   tests/docker/dockerfiles/emsdk-wasm64-cross.docker | 2 ++
> >>   1 file changed, 2 insertions(+)
> >> diff --git a/tests/docker/dockerfiles/emsdk-wasm64-cross.docker
> >> b/tests/docker/dockerfiles/emsdk-wasm64-cross.docker
> >> index 8a924816f92..5debbc77d08 100644
> >> --- a/tests/docker/dockerfiles/emsdk-wasm64-cross.docker
> >> +++ b/tests/docker/dockerfiles/emsdk-wasm64-cross.docker
> >> @@ -19,7 +19,9 @@ ENV CXXFLAGS="$CFLAGS"
> >>   ENV LDFLAGS="-sWASM_BIGINT -sASYNCIFY=1 -L$TARGET/lib"
> >>   RUN apt-get update && apt-get install -y \
> >>       autoconf \
> >> +    bison \
> >>       build-essential \
> >> +    flex \
> >>       libglib2.0-dev \
> >>       libtool \
> >>       pkgconf \
> >
> > Maybe emsdk-wasm64 should have been added to lci-tool first.
> > (not your responsibility).
> 
> I don't think that will be easy on account of emsdk having to build a
> bunch of libraries to support building QEMU. If a distro provides a
> better cross environment for wasm64 then we could try.

Yeah, there's rather too much custom stuff going on in our emsdk
dockerfile to make it practical to add to lcitool.


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



  reply	other threads:[~2026-06-24 17:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-24  5:48 [PATCH] tests/docker: add flex and bison to emsdk-wasm64-cross Brian Cain
2026-06-24  6:34 ` Philippe Mathieu-Daudé
2026-06-24 17:40   ` Alex Bennée
2026-06-24 17:48     ` Daniel P. Berrangé [this message]
2026-06-24 12:29 ` Stefan Hajnoczi
2026-06-24 16:13 ` Pierrick Bouvier
2026-06-24 18:48 ` Pierrick Bouvier
2026-06-25  1:56   ` Kohei Tokunaga

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=ajwYhu9lClShuhVj@redhat.com \
    --to=berrange@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=brian.cain@oss.qualcomm.com \
    --cc=ktokunaga.mail@gmail.com \
    --cc=philmd@oss.qualcomm.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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 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.