From: "Alex Bennée" <alex.bennee@linaro.org>
To: Alyssa Ross <hi@alyssa.is>
Cc: Brian Cain <bcain@quicinc.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH] target/hexagon: don't look for static glib
Date: Mon, 05 Aug 2024 14:17:08 +0100 [thread overview]
Message-ID: <87zfprqfcb.fsf@draig.linaro.org> (raw)
In-Reply-To: <20240805104921.4035256-1-hi@alyssa.is> (Alyssa Ross's message of "Mon, 5 Aug 2024 12:49:21 +0200")
Alyssa Ross <hi@alyssa.is> writes:
> When cross compiling QEMU configured with --static, I've been getting
> configure errors like the following:
>
> Build-time dependency glib-2.0 found: NO
>
> ../target/hexagon/meson.build:303:15: ERROR: Dependency lookup for glib-2.0 with method 'pkgconfig' failed: Could not generate libs for glib-2.0:
> Package libpcre2-8 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libpcre2-8.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'libpcre2-8', required by 'glib-2.0', not found
>
> This happens because --static sets the prefer_static Meson option, but
> my build machine doesn't have a static libpcre2. I don't think it
> makes sense to insist that native dependencies are static, just
> because I want the non-native QEMU binaries to be static.
Makes sense:
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2024-08-05 13:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-05 10:49 [PATCH] target/hexagon: don't look for static glib Alyssa Ross
2024-08-05 13:15 ` Paolo Bonzini
2024-08-05 13:17 ` Alex Bennée [this message]
2024-08-05 13:57 ` Brian Cain
2024-08-05 14:31 ` Brian Cain
2024-08-05 15:39 ` Anton Johansson via
2024-08-06 16:18 ` Brian Cain
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=87zfprqfcb.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=bcain@quicinc.com \
--cc=hi@alyssa.is \
--cc=qemu-devel@nongnu.org \
/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.