buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4
@ 2023-07-26 19:44 Bernd Kuhls
  2023-07-26 19:44 ` [Buildroot] [PATCH 2/2] package/wolfssl: bump version to 5.6.3 Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bernd Kuhls @ 2023-07-26 19:44 UTC (permalink / raw)
  To: buildroot; +Cc: Sergio Prado

Quoting
https://developer.arm.com/documentation/dui0489/i/arm-and-thumb-instructions/clz
"This ARM instruction is available in ARMv5T and above."

Fixes:
- armeb
  http://autobuild.buildroot.net/results/ea9/ea9b19e872b4b20b97fceec3f7e0a6a1109c4f12/
  /tmp/ccdRCOaB.s:27: Error: selected processor does not support `clz r5,r2' in ARM mode
- arm
  http://autobuild.buildroot.net/results/cb1/cb1c7ac68b3379d3f4b5efc897198bea0a904217/
  /tmp/cc72ECAj.s:6764: Error: selected processor does not support `clz r5,r0' in ARM mode
  /tmp/cc72ECAj.s:7110: Error: selected processor does not support `clz r5,lr' in ARM mode
  /tmp/cc72ECAj.s:8934: Error: selected processor does not support `clz r5,fp' in ARM mode

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wolfssl/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/wolfssl/Config.in b/package/wolfssl/Config.in
index c41bdb6888..9d173412fe 100644
--- a/package/wolfssl/Config.in
+++ b/package/wolfssl/Config.in
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_WOLFSSL_ASM_SUPPORTS
 	bool
 	default y if BR2_aarch64
-	default y if BR2_arm || BR2_armeb
+	default y if (BR2_arm || BR2_armeb) && !BR2_ARM_CPU_ARMV4 # clz
 	default y if BR2_powerpc
 	default y if BR2_powerpc64 || BR2_powerpc64le
 	default y if BR2_mips64 && !BR2_MIPS_CPU_MIPS32R6
-- 
2.39.2

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

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

* [Buildroot] [PATCH 2/2] package/wolfssl: bump version to 5.6.3
  2023-07-26 19:44 [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Bernd Kuhls
@ 2023-07-26 19:44 ` Bernd Kuhls
  2023-07-27 10:28 ` [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Thomas Petazzoni via buildroot
  2023-08-30 10:49 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Bernd Kuhls @ 2023-07-26 19:44 UTC (permalink / raw)
  To: buildroot; +Cc: Sergio Prado

Changelog: https://github.com/wolfSSL/wolfssl/blob/master/ChangeLog.md

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/wolfssl/wolfssl.hash | 2 +-
 package/wolfssl/wolfssl.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/wolfssl/wolfssl.hash b/package/wolfssl/wolfssl.hash
index 08262113a0..3407586edd 100644
--- a/package/wolfssl/wolfssl.hash
+++ b/package/wolfssl/wolfssl.hash
@@ -1,5 +1,5 @@
 # Locally computed:
-sha256  fd3135b8657d09fb96a8aad16585da850b96ea420ae8ce5ac4d5fdfc614c2683  wolfssl-5.5.3.tar.gz
+sha256  2e74a397fa797c2902d7467d500de904907666afb4ff80f6464f6efd5afb114a  wolfssl-5.6.3.tar.gz
 
 # Hash for license files:
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/wolfssl/wolfssl.mk b/package/wolfssl/wolfssl.mk
index 9f06bb1b4b..9b35a6a84a 100644
--- a/package/wolfssl/wolfssl.mk
+++ b/package/wolfssl/wolfssl.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WOLFSSL_VERSION = 5.5.3
+WOLFSSL_VERSION = 5.6.3
 WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable)
 WOLFSSL_INSTALL_STAGING = YES
 
-- 
2.39.2

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

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

* Re: [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4
  2023-07-26 19:44 [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Bernd Kuhls
  2023-07-26 19:44 ` [Buildroot] [PATCH 2/2] package/wolfssl: bump version to 5.6.3 Bernd Kuhls
@ 2023-07-27 10:28 ` Thomas Petazzoni via buildroot
  2023-08-30 10:49 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-27 10:28 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Sergio Prado, buildroot

On Wed, 26 Jul 2023 21:44:52 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:

> Quoting
> https://developer.arm.com/documentation/dui0489/i/arm-and-thumb-instructions/clz
> "This ARM instruction is available in ARMv5T and above."
> 
> Fixes:
> - armeb
>   http://autobuild.buildroot.net/results/ea9/ea9b19e872b4b20b97fceec3f7e0a6a1109c4f12/
>   /tmp/ccdRCOaB.s:27: Error: selected processor does not support `clz r5,r2' in ARM mode
> - arm
>   http://autobuild.buildroot.net/results/cb1/cb1c7ac68b3379d3f4b5efc897198bea0a904217/
>   /tmp/cc72ECAj.s:6764: Error: selected processor does not support `clz r5,r0' in ARM mode
>   /tmp/cc72ECAj.s:7110: Error: selected processor does not support `clz r5,lr' in ARM mode
>   /tmp/cc72ECAj.s:8934: Error: selected processor does not support `clz r5,fp' in ARM mode
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/wolfssl/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, both applied!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4
  2023-07-26 19:44 [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Bernd Kuhls
  2023-07-26 19:44 ` [Buildroot] [PATCH 2/2] package/wolfssl: bump version to 5.6.3 Bernd Kuhls
  2023-07-27 10:28 ` [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Thomas Petazzoni via buildroot
@ 2023-08-30 10:49 ` Peter Korsgaard
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2023-08-30 10:49 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: Sergio Prado, buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Quoting
 > https://developer.arm.com/documentation/dui0489/i/arm-and-thumb-instructions/clz
 > "This ARM instruction is available in ARMv5T and above."

 > Fixes:
 > - armeb
 >   http://autobuild.buildroot.net/results/ea9/ea9b19e872b4b20b97fceec3f7e0a6a1109c4f12/
 >   /tmp/ccdRCOaB.s:27: Error: selected processor does not support `clz r5,r2' in ARM mode
 > - arm
 >   http://autobuild.buildroot.net/results/cb1/cb1c7ac68b3379d3f4b5efc897198bea0a904217/
 >   /tmp/cc72ECAj.s:6764: Error: selected processor does not support `clz r5,r0' in ARM mode
 >   /tmp/cc72ECAj.s:7110: Error: selected processor does not support `clz r5,lr' in ARM mode
 >   /tmp/cc72ECAj.s:8934: Error: selected processor does not support `clz r5,fp' in ARM mode

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2023.02.x and 2023.05.x, thanks.

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

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

end of thread, other threads:[~2023-08-30 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 19:44 [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Bernd Kuhls
2023-07-26 19:44 ` [Buildroot] [PATCH 2/2] package/wolfssl: bump version to 5.6.3 Bernd Kuhls
2023-07-27 10:28 ` [Buildroot] [PATCH 1/2] package/wolfssl: disable asm on armv4 Thomas Petazzoni via buildroot
2023-08-30 10:49 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).