Skip to contentSkip to conversation

package/mongodb: disable on powerpc64

PATCH New Fabrice Fontaine 3 participants 3 messages Mar 9, 2019 – Mar 25, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mongodb: disable on powerpc64

As stated in SConstruct, the altivec runtime test breaks
cross-compilation: "This checks for an altivec optimization we use in full text search. Different versions of gcc appear to put output bytes in different parts of the output vector produced by vec_vbpermq. This configure check looks to see which format the compiler produces. NOTE:
This breaks cross compiles, as it relies on checking runtime functionality for the environment we're in."

Fixes:
- http://autobuild.buildroot.org/results/162198617979a83b66f70ed6013251942ed04d67

---
 package/mongodb/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/mongodb/Config.in +1 -1
index 4696eb7660..7df502add6 100644
@@ -3,7 +3,7 @@ config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
 	bool
 	# ARM needs LDREX/STREX, so ARMv6+
 	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
-	default y if BR2_aarch64 || BR2_powerpc64 || BR2_x86_64
+	default y if BR2_aarch64 || BR2_x86_64
 
 config BR2_PACKAGE_MONGODB
 	bool "mongodb"
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/mongodb: disable on powerpc64

Quoted 8 lines · On Sat, 9 Mar 2019 22:12:36 +0100 Fabrice Fontaine…

As stated in SConstruct, the altivec runtime test breaks
cross-compilation: "This checks for an altivec optimization we use in full text search. Different versions of gcc appear to put output bytes in different parts of the output vector produced by vec_vbpermq. This configure check looks to see which format the compiler produces. NOTE:
This breaks cross compiles, as it relies on checking runtime functionality for the environment we're in."

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/162198617979a83b66f70ed6013251942ed04d67

---
 package/mongodb/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/mongodb: disable on powerpc64

In reply to Fabrice Fontaine
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

As stated in SConstruct, the altivec runtime test breaks
cross-compilation: "This checks for an altivec optimization we use in full text search. Different versions of gcc appear to put output bytes in different parts of the output vector produced by vec_vbpermq. This configure check looks to see which format the compiler produces. NOTE:
This breaks cross compiles, as it relies on checking runtime functionality for the environment we're in."

Quoted 4 lines

Fixes:
- http://autobuild.buildroot.org/results/162198617979a83b66f70ed6013251942ed04d67

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard