From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
Cc: 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:40:24 +0100 [thread overview]
Message-ID: <87wlvnj0qf.fsf@draig.linaro.org> (raw)
In-Reply-To: <dd48e432-ab04-42e7-a88f-231d1c9d55fa@oss.qualcomm.com> ("Philippe Mathieu-Daudé"'s message of "Wed, 24 Jun 2026 08:34:19 +0200")
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.
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2026-06-24 17:42 UTC|newest]
Thread overview: 7+ 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 [this message]
2026-06-24 17:48 ` Daniel P. Berrangé
2026-06-24 12:29 ` Stefan Hajnoczi
2026-06-24 16:13 ` Pierrick Bouvier
2026-06-24 18:48 ` Pierrick Bouvier
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=87wlvnj0qf.fsf@draig.linaro.org \
--to=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.