[Buildroot] [PATCH 2/2] package/gobject-introspection/Config.in: Allow RISCV_32 builds

Arnout Vandecappelle arnout at mind.be
Tue May 18 20:36:20 UTC 2021



On 07/05/2021 19:01, Adam Duskett wrote:
> From: Adam Duskett <aduskett at gmail.com>
> 
> Qemu 6.0.0 no longer segfaults when running qemu-riscv32. As such, it's now
> possible to allow riscv32 to compile gobject-introspection.
> 
> Fixes:
> http://autobuild.buildroot.org/results/668397b1df42297505e6fc8353c4752290a5628d
> Signed-off-by: Adam Duskett <aduskett at rivian.com>

 Applied to next, thanks.

 However, this doesn't actually fix anything, so I rewrote part of the commit
message:

    package/gobject-introspection/Config.in: Allow RISCV_32 builds

    Qemu 6.0.0 no longer segfaults when running qemu-riscv32. As such, it's now
    possible to allow riscv32 to compile gobject-introspection.

    This partially reverts commit c94a212390e33c122cf9db4c772caf8bf3804565.
    The symbol BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS is kept, even
    though it is now equivalent to BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS,
    because it's likely that architecture dependencies will pop up again in
    the future.

    The configuration of a previously failing autobuilder [1] now passes.

    [1]
http://autobuild.buildroot.org/results/668397b1df42297505e6fc8353c4752290a5628d

    Signed-off-by: Adam Duskett <aduskett at rivian.com>
    Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>


 Regards,
 Arnout

> ---
>  package/gobject-introspection/Config.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/gobject-introspection/Config.in b/package/gobject-introspection/Config.in
> index 57c569704e..bacf44363c 100644
> --- a/package/gobject-introspection/Config.in
> +++ b/package/gobject-introspection/Config.in
> @@ -2,7 +2,6 @@ config BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS
>  	bool
>  	default y
>  	depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
> -	depends on !BR2_RISCV_32 # qemu-riscv32 segfaults in qemu-5.0.0
>  
>  config BR2_PACKAGE_GOBJECT_INTROSPECTION
>  	bool "gobject-introspection"
> 



More information about the buildroot mailing list