diff mbox series

[v4,3/3] vte: Pin to use GCC

Message ID 20250529210239.2070257-3-raj.khem@gmail.com
State New
Headers show
Series [v4,1/3] tcf-agent: Add $@ to RANLIB | expand

Commit Message

Khem Raj May 29, 2025, 9:02 p.m. UTC
Fixes Qemu usermode crashes during GI data generation for armv7ve
when using clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/vte/vte_0.78.2.bb | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Khem Raj May 29, 2025, 9:58 p.m. UTC | #1
I did realize that this is not working, because the problem is in the
libraries in sysroot perhaps which are linking to the program and are
built using clang
so just limiting TOOLCHAIN for this recipe is not enough

On Thu, May 29, 2025 at 2:02 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> Fixes Qemu usermode crashes during GI data generation for armv7ve
> when using clang
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-support/vte/vte_0.78.2.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-support/vte/vte_0.78.2.bb b/meta/recipes-support/vte/vte_0.78.2.bb
> index 0593d16cd86..b8a19a03693 100644
> --- a/meta/recipes-support/vte/vte_0.78.2.bb
> +++ b/meta/recipes-support/vte/vte_0.78.2.bb
> @@ -26,6 +26,10 @@ SRC_URI[archive.sha256sum] = "35d7bcde07356846b4a12881c8e016705b70a9004a9082285e
>
>  ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
>
> +# qemu usermode crashes when using clang as system compiler but works with gcc
> +# see https://patchwork.yoctoproject.org/project/oe-core/patch/20240923234336.3978188-1-raj.khem@gmail.com/
> +TOOLCHAIN = "gcc"
> +
>  EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"
>  EXTRA_OEMESON:append = " ${@bb.utils.contains('GI_DATA_ENABLED', 'False', '-Ddocs=false', '', d)}"
>
diff mbox series

Patch

diff --git a/meta/recipes-support/vte/vte_0.78.2.bb b/meta/recipes-support/vte/vte_0.78.2.bb
index 0593d16cd86..b8a19a03693 100644
--- a/meta/recipes-support/vte/vte_0.78.2.bb
+++ b/meta/recipes-support/vte/vte_0.78.2.bb
@@ -26,6 +26,10 @@  SRC_URI[archive.sha256sum] = "35d7bcde07356846b4a12881c8e016705b70a9004a9082285e
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
+# qemu usermode crashes when using clang as system compiler but works with gcc
+# see https://patchwork.yoctoproject.org/project/oe-core/patch/20240923234336.3978188-1-raj.khem@gmail.com/
+TOOLCHAIN = "gcc"
+
 EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"
 EXTRA_OEMESON:append = " ${@bb.utils.contains('GI_DATA_ENABLED', 'False', '-Ddocs=false', '', d)}"