* [Buildroot] [PATCH 1/1] package/botan: disable neon with arm soft float
@ 2024-01-06 13:26 Fabrice Fontaine
2024-02-12 22:02 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2024-01-06 13:26 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
Disable neon with soft float to fix the following build failure raised
at least since version 2.19.1:
In file included from build/include/botan/internal/simd_32.h:27,
from src/lib/block/aes/aes_vperm/aes_vperm.cpp:15:
/home/thomas/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabi/10.4.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
| ^~~~~
Fixes:
- http://autobuild.buildroot.org/results/6b311e97484db2b0f8adbda140320d696713b1e0
- http://autobuild.buildroot.org/results/c309940ea6db0845d8221fb51611d0254222c644
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/botan/botan.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/botan/botan.mk b/package/botan/botan.mk
index 74cf6175dd..9e92b38b6d 100644
--- a/package/botan/botan.mk
+++ b/package/botan/botan.mk
@@ -90,6 +90,10 @@ ifeq ($(BR2_ARM_CPU_HAS_NEON),)
BOTAN_CONF_OPTS += --disable-neon
endif
+ifeq ($(BR2_SOFT_FLOAT),y)
+BOTAN_CONF_OPTS += --disable-neon
+endif
+
define BOTAN_CONFIGURE_CMDS
(cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS))
endef
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [Buildroot] [PATCH 1/1] package/botan: disable neon with arm soft float 2024-01-06 13:26 [Buildroot] [PATCH 1/1] package/botan: disable neon with arm soft float Fabrice Fontaine @ 2024-02-12 22:02 ` Thomas Petazzoni via buildroot 2024-03-16 21:07 ` Peter Korsgaard 0 siblings, 1 reply; 3+ messages in thread From: Thomas Petazzoni via buildroot @ 2024-02-12 22:02 UTC (permalink / raw) To: Fabrice Fontaine; +Cc: buildroot On Sat, 6 Jan 2024 14:26:08 +0100 Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: > Disable neon with soft float to fix the following build failure raised > at least since version 2.19.1: > > In file included from build/include/botan/internal/simd_32.h:27, > from src/lib/block/aes/aes_vperm/aes_vperm.cpp:15: > /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabi/10.4.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" > 31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" > | ^~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/6b311e97484db2b0f8adbda140320d696713b1e0 > - http://autobuild.buildroot.org/results/c309940ea6db0845d8221fb51611d0254222c644 > > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> > --- > package/botan/botan.mk | 4 ++++ > 1 file changed, 4 insertions(+) Applied to master, thanks. 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] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/botan: disable neon with arm soft float 2024-02-12 22:02 ` Thomas Petazzoni via buildroot @ 2024-03-16 21:07 ` Peter Korsgaard 0 siblings, 0 replies; 3+ messages in thread From: Peter Korsgaard @ 2024-03-16 21:07 UTC (permalink / raw) To: Thomas Petazzoni via buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni >>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes: > On Sat, 6 Jan 2024 14:26:08 +0100 > Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote: >> Disable neon with soft float to fix the following build failure raised >> at least since version 2.19.1: >> >> In file included from build/include/botan/internal/simd_32.h:27, >> from src/lib/block/aes/aes_vperm/aes_vperm.cpp:15: >> /home/thomas/autobuild/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabi/10.4.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" >> 31 | #error "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard" >> | ^~~~~ >> >> Fixes: >> - http://autobuild.buildroot.org/results/6b311e97484db2b0f8adbda140320d696713b1e0 >> - http://autobuild.buildroot.org/results/c309940ea6db0845d8221fb51611d0254222c644 >> >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> >> --- >> package/botan/botan.mk | 4 ++++ >> 1 file changed, 4 insertions(+) > Applied to master, thanks. Committed to 2023.02.x and 2023.11.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-16 21:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-01-06 13:26 [Buildroot] [PATCH 1/1] package/botan: disable neon with arm soft float Fabrice Fontaine 2024-02-12 22:02 ` Thomas Petazzoni via buildroot 2024-03-16 21:07 ` Peter Korsgaard
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox