Kirkstone-nut openssl compile error:
Error Log:
ERROR: openssl-3.0.13-r0 do_patch: Applying patch 'bti.patch' on target directory '/home/vkumbhar/kirkstone-nut/build/tmp-glibc/work/core2-64-oe-linux/openssl/3.0.13-r0/openssl-3.0.13'
CmdError('quilt --quiltrc /home/vkumbhar/kirkstone-nut/build/tmp-glibc/work/core2-64-oe-linux/openssl/3.0.13-r0/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch bti.patch
can't find file to patch at input line 23
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From ba8a599395f8b770c76316b5f5b0f3838567014f Mon Sep 17 00:00:00 2001
|Date: Tue, 26 Mar 2024 13:18:00 +0000
|Subject: [PATCH] aarch64: fix BTI in bsaes assembly code
|
|In Arm systems where BTI is enabled but the Crypto extensions are not (more
|likely in FVPs than in real hardware), the bit-sliced assembler code will
|be used. However, this wasn't annotated with BTI instructions when BTI was
|enabled, so the moment libssl jumps into this code it (correctly) aborts.
|
|Solve this by adding the missing BTI landing pads.
|
|---
| 1 file changed, 4 insertions(+), 1 deletion(-)
|
|index b3c97e439f..c3c5ff3e05 100644
--------------------------
No file to patch. Skipping patch.
4 out of 4 hunks ignored
Patch bti.patch does not apply (enforce with -f)
stderr: ")
ERROR: Logfile of failure stored in: /home/vkumbhar/kirkstone-nut/build/tmp-glibc/work/core2-64-oe-linux/openssl/3.0.13-r0/temp/log.do_patch.152571
ERROR: Task (/home/vkumbhar/kirkstone-nut/meta/recipes-connectivity/openssl/openssl_3.0.13.bb:do_patch) failed with exit code '1'