All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libressl: fix mips64el build
@ 2024-07-25 11:39 Fabrice Fontaine
  2024-07-25 15:41 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-07-25 11:39 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Disable assembly with mips64el to avoid the following build failure
raised since bump to version 3.8.2 in commit
21eca49ed5110872407b76ab9337d2877c4cda24:

/home/autobuild/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-gnu/13.2.0/../../../../mips64el-buildroot-linux-gnu/bin/ld: ../../crypto/libcrypto.so.52.0.0: undefined reference to `bn_mul_words'

Fixes: 21eca49ed5110872407b76ab9337d2877c4cda24
 - http://autobuild.buildroot.org/results/09b86c95ea1054d5f54d4ef4a041eb105c3f4aa9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libressl/libressl.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/libressl/libressl.mk b/package/libressl/libressl.mk
index 1d90aa853d..edf3ef9d0e 100644
--- a/package/libressl/libressl.mk
+++ b/package/libressl/libressl.mk
@@ -19,4 +19,10 @@ endef
 LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
 endif
 
+ifeq ($(BR2_mips64el),)
+LIBRESSL_CONF_OPTS += -DENABLE_ASM=ON
+else
+LIBRESSL_CONF_OPTS += -DENABLE_ASM=OFF
+endif
+
 $(eval $(cmake-package))
-- 
2.43.0

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

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

end of thread, other threads:[~2024-07-25 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 11:39 [Buildroot] [PATCH 1/1] package/libressl: fix mips64el build Fabrice Fontaine
2024-07-25 15:41 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.