Skip to contentSkip to conversation

pixman: disable vmx for powerpc CS toolchains

PATCH New Gustavo Zacarias 3 participants 3 messages Dec 7, 2015 – Dec 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pixman: disable vmx for powerpc CS toolchains

The ppc CS toolchains have flaky VMX (AKA altivec) implementation causing build failure. Disable it for these toolchains. Fixes:
http://autobuild.buildroot.net/results/3b4/3b4cda40f074578f6b35b1fb381ba37b93174e86/

---
 package/pixman/pixman.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/pixman/pixman.mk +5 -0
index 8281773..8845315 100644
@@ -32,5 +32,10 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405),y)
 PIXMAN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DPIXMAN_NO_TLS"
 endif
 
+# Altivec detection isn't reliable for CS toolchains
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103)$(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009),y)
+PIXMAN_CONF_OPTS += --disable-vmx
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 pixman: disable vmx for powerpc CS toolchains

Gustavo, All,

On 2015-12-07 11:27 -0300, Gustavo Zacarias spake thusly:

Quoted 5 lines

The ppc CS toolchains have flaky VMX (AKA altivec) implementation causing build failure. Disable it for these toolchains. Fixes:
http://autobuild.buildroot.net/results/3b4/3b4cda40f074578f6b35b1fb381ba37b93174e86/

[yann.morin.1998 at free.fr: build-tested only]

Regards,
Yann E. MORIN.

Quoted 26 lines
---
 package/pixman/pixman.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/pixman/pixman.mk +5 -0
index 8281773..8845315 100644
@@ -32,5 +32,10 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405),y)
 PIXMAN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DPIXMAN_NO_TLS"
 endif
 
+# Altivec detection isn't reliable for CS toolchains
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103)$(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009),y)
+PIXMAN_CONF_OPTS += --disable-vmx
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 6 lines
2.4.10

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 pixman: disable vmx for powerpc CS toolchains

In reply to Gustavo Zacarias
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

The ppc CS toolchains have flaky VMX (AKA altivec) implementation causing build failure. Disable it for these toolchains. Fixes:
http://autobuild.buildroot.net/results/3b4/3b4cda40f074578f6b35b1fb381ba37b93174e86/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard