All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Joel Stanley" <joel@jms.id.au>, "Cédric Le Goater" <clg@kaod.org>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/pixman: fix powerpc64le build
Date: Mon, 18 Jul 2022 14:14:53 +0200	[thread overview]
Message-ID: <20220718141453.23c89337@windsurf> (raw)
In-Reply-To: <20220708142150.234611-1-bernd.kuhls@t-online.de>

Hello,

Let's add some PowerPC folks into the loop. Joel, Cédric, could you
have a look at the below patch, and how to handle VMX support in the
pixman package?

It feels a bit unfortunate to unconditionally disable VMX support:
there is some logic in the pixman configure script to detect the
availability of VMX, but apparently this logic assumes it works on
powerpc64le, even though at build time it breaks.

Could you have a look and give us your advice?

Thanks a lot!

Thomas Petazzoni

On Fri,  8 Jul 2022 16:21:50 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Disable vmx support to fix build error:
> 
> pixman-vmx.c:268:5: note: in expansion of macro 'LOAD_VECTOR'
>   268 |     LOAD_VECTOR (src);
>       |     ^~~~~~~~~~~
> pixman-vmx.c:268:5: error: cannot convert a value of type 'int' to
>  vector type '__vector(4) unsigned int' which has different size
> 
> Fixes:
> http://autobuild.buildroot.net/results/fda886768fce25ccd9b52b635ff5b13da7ba2d0c/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/pixman/pixman.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk
> index 64302fa49a..0f00a20cd8 100644
> --- a/package/pixman/pixman.mk
> +++ b/package/pixman/pixman.mk
> @@ -21,7 +21,8 @@ PIXMAN_AUTORECONF = YES
>  # don't build gtk based demos
>  PIXMAN_CONF_OPTS = \
>  	--disable-gtk \
> -	--disable-loongson-mmi
> +	--disable-loongson-mmi \
> +	--disable-vmx
>  
>  # The ARM SIMD code from pixman requires a recent enough ARM core, but
>  # there is a runtime CPU check that makes sure it doesn't get used if



-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-07-18 12:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 14:21 [Buildroot] [PATCH 1/1] package/pixman: fix powerpc64le build Bernd Kuhls
2022-07-18 12:14 ` Thomas Petazzoni via buildroot [this message]
2022-07-19  7:46   ` Joel Stanley
2022-07-19  8:27     ` Thomas Petazzoni via buildroot
2022-07-26 20:19       ` Thomas Petazzoni via buildroot
     [not found] <20220708142150.234611-1-bernd.kuhls__17925.5718061299$1657290142$gmane$org@t-online.de>
2022-10-30 21:48 ` Bernd Kuhls

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=20220718141453.23c89337@windsurf \
    --to=buildroot@buildroot.org \
    --cc=bernd.kuhls@t-online.de \
    --cc=clg@kaod.org \
    --cc=joel@jms.id.au \
    --cc=thomas.petazzoni@bootlin.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.