package/libressl: bump version to 4.4.0
PATCH v4 1/1 package/libressl: bump version to 4.4.0
- bump version to 4.4.0 (for details see [1])
- enable 'ENABLE_ASM=OFF' for aarch64, fixes (for some combinations of
gcc/binutils/target-cpu):
bootlin-aarch64-glibc-old/build/libressl-4.4.0/crypto/sha/sha1_aarch64_ce.S:105: Error: unknown architectural extension sha2' bootlin-aarch64-glibc-old/build/libressl-4.4.0/crypto/sha/sha1_aarch64_ce.S:156: Error: selected processor does not support sha1c q18,s19,v28.4s'
- add stack protector 'ENABLE_HARDENING=OFF' flag, fixes "undefined reference to `__stack_chk_fail_local'"
[1] https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.4.0-relnotes.txt
---
Changes v3 -> v4:
- add 'ENABLE_HARDENING=OFF' flag unconditionaly
(suggested by Thomas Petazzoni)
Changes v2 -> v3:
- fix 'ENABLE_ASM=OFF' comment formating
Changes v1 -> v2:
- enable 'ENABLE_ASM=OFF' for aarch64
- handle stack protector/ENABLE_HARDENING flag
--- package/libressl/libressl.hash | 2 +- package/libressl/libressl.mk | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-)
package/libressl/libressl.hash +1 -1
@@ -1,4 +1,4 @@ # From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 57c8b2f8c6f9505587abaeddab003ea243d615edb7ed71957968121fc6316bd6 libressl-4.3.4.tar.gz +sha256 7d02522ad5070b9adb32eb253ecabce181184a3750cf65abac0675ee908687c1 libressl-4.4.0.tar.gz # Locally computed sha256 9853507b8821c3f277aa60bf554eade41441ef06b2df538d247183ad28789b7f COPYING
package/libressl/libressl.mk +7 -3
@@ -4,7 +4,7 @@ # ################################################################################ -LIBRESSL_VERSION = 4.3.4 +LIBRESSL_VERSION = 4.4.0 LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) LIBRESSL_LICENSE_FILES = COPYING
@@ -13,11 +13,15 @@ LIBRESSL_INSTALL_STAGING = YES LIBRESSL_CONF_OPTS = -DLIBRESSL_TESTS=OFF -DOPENSSLDIR="/etc/ssl" # Otherwise fails to build with undefined reference to -# `bn_mul_add_words' -ifeq ($(BR2_powerpc)$(BR2_mips64)$(BR2_mips64el),y) +# `bn_mul_add_words' or for some aarch64 combinations (gcc/binutils/target-cpu) +# with "Error: unknown architectural extension `sha2' +ifeq ($(BR2_aarch64)$(BR2_powerpc)$(BR2_mips64)$(BR2_mips64el),y) LIBRESSL_CONF_OPTS += -DENABLE_ASM=OFF endif +# Avoid linking problem: "undefined reference to `__stack_chk_fail_local'" +LIBRESSL_CONF_OPTS += -DENABLE_HARDENING=OFF + ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),) define LIBRESSL_REMOVE_BIN $(RM) -f $(TARGET_DIR)/usr/bin/openssl
Signature · 6 lines
2.56.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot