Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pixman: fix mips build
@ 2022-04-18 10:38 Fabrice Fontaine
  2022-04-21 20:59 ` Arnout Vandecappelle
  2022-05-24 13:48 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-04-18 10:38 UTC (permalink / raw)
  To: buildroot; +Cc: Bernd Kuhls, Fabrice Fontaine

Disable Loongson MMI fast paths to fix the following mips build failure:

./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm'
  407 |  asm("pinsrh_%3 %0, %1, %2\n\t"
      |  ^~~

Fixes:
 - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11
 - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/pixman/pixman.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk
index 6fab539593..64302fa49a 100644
--- a/package/pixman/pixman.mk
+++ b/package/pixman/pixman.mk
@@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf
 PIXMAN_AUTORECONF = YES
 
 # don't build gtk based demos
-PIXMAN_CONF_OPTS = --disable-gtk
+PIXMAN_CONF_OPTS = \
+	--disable-gtk \
+	--disable-loongson-mmi
 
 # 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
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/pixman: fix mips build
  2022-04-18 10:38 [Buildroot] [PATCH 1/1] package/pixman: fix mips build Fabrice Fontaine
@ 2022-04-21 20:59 ` Arnout Vandecappelle
  2022-05-24 13:48 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 20:59 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Bernd Kuhls



On 18/04/2022 12:38, Fabrice Fontaine wrote:
> Disable Loongson MMI fast paths to fix the following mips build failure:
> 
> ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm'
>    407 |  asm("pinsrh_%3 %0, %1, %2\n\t"

  We could maybe find the arch options with which this actually works, but I 
don't expect this is really important.

  Applied to master, thanks.

  Regards,
  Arnout

>        |  ^~~
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11
>   - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>   package/pixman/pixman.mk | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/pixman/pixman.mk b/package/pixman/pixman.mk
> index 6fab539593..64302fa49a 100644
> --- a/package/pixman/pixman.mk
> +++ b/package/pixman/pixman.mk
> @@ -19,7 +19,9 @@ HOST_PIXMAN_DEPENDENCIES = host-pkgconf
>   PIXMAN_AUTORECONF = YES
>   
>   # don't build gtk based demos
> -PIXMAN_CONF_OPTS = --disable-gtk
> +PIXMAN_CONF_OPTS = \
> +	--disable-gtk \
> +	--disable-loongson-mmi
>   
>   # 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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/pixman: fix mips build
  2022-04-18 10:38 [Buildroot] [PATCH 1/1] package/pixman: fix mips build Fabrice Fontaine
  2022-04-21 20:59 ` Arnout Vandecappelle
@ 2022-05-24 13:48 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-24 13:48 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Bernd Kuhls, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Disable Loongson MMI fast paths to fix the following mips build failure:
 > ./loongson-mmintrin.h:407:2: error: impossible constraint in 'asm'
 >   407 |  asm("pinsrh_%3 %0, %1, %2\n\t"
 >       |  ^~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/75267aa5b5a631f091d4c8cb6ad9baeb5f72ee11
 >  - http://autobuild.buildroot.org/results/55b7431a50b85c24406131af1932d6f3f6853de6

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-24 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18 10:38 [Buildroot] [PATCH 1/1] package/pixman: fix mips build Fabrice Fontaine
2022-04-21 20:59 ` Arnout Vandecappelle
2022-05-24 13:48 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox