Skip to contentSkip to conversation

openssl: fix runtime failure on some powerpc variants

PATCH New Gustavo Zacarias 2 participants 2 messages Dec 7, 2012 – Dec 10, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openssl: fix runtime failure on some powerpc variants

OpenSSL's assembly optimizations por PowerPC seem to be broken for at least 4xx cores.
Thanks go to Jan Schunke for reporting and testing.

---
 package/openssl/openssl.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
package/openssl/openssl.mk +3 -0
index 265a4fb..160df2e 100644
@@ -38,8 +38,11 @@ endif
 endif
 endif
 ifeq ($(ARCH),powerpc)
+# 4xx cores seem to have trouble with openssl's ASM optimizations
+ifeq ($(BR2_powerpc_401)$(BR2_powerpc_403)$(BR2_powerpc_405)$(BR2_powerpc_405fp)$(BR2_powerpc_440)$(BR2_powerpc_440fp),)
 	OPENSSL_TARGET_ARCH = ppc
 endif
+endif
 ifeq ($(ARCH),x86_64)
 	OPENSSL_TARGET_ARCH = x86_64
 endif
Signature · 1 line
1.7.8.6
#1 lore raw

PATCH 1/1 openssl: fix runtime failure on some powerpc variants

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Gustavo> OpenSSL's assembly optimizations por PowerPC seem to be broken for at Gustavo> least 4xx cores.
Gustavo> Thanks go to Jan Schunke for reporting and testing.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard