[Buildroot] [git commit branch/2022.02.x] package/pixman: fix mips build
Peter Korsgaard
peter at korsgaard.com
Tue May 24 13:48:31 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=d578253cdbb43857fc832a7dbfb2416a96e05fb8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
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 at gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit 7e0fbf4dcd4cd0cf17cfe89ebf6808fdace8f01f)
Signed-off-by: Peter Korsgaard <peter at korsgaard.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
More information about the buildroot
mailing list