* [Buildroot] [PATCH 1/1] package/libssh: fix build with Thumb
@ 2023-07-14 20:35 Bernd Kuhls
2023-07-14 21:21 ` Thomas Petazzoni via buildroot
2023-08-25 16:51 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2023-07-14 20:35 UTC (permalink / raw)
To: buildroot
/home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:
In function 'ssh_make_bignum_string':
/home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:64:1:
sorry, unimplemented: '-fstack-check=specific' for Thumb-1
Fixes:
http://autobuild.buildroot.net/results/82c/82c8e3bb755bc8732a81f05a72f04a96ecc08b4e/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/libssh/libssh.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libssh/libssh.mk b/package/libssh/libssh.mk
index 3be6c6adaf..e770d2b924 100644
--- a/package/libssh/libssh.mk
+++ b/package/libssh/libssh.mk
@@ -17,6 +17,10 @@ LIBSSH_CONF_OPTS = \
-DWITH_STACK_PROTECTOR=OFF \
-DWITH_EXAMPLES=OFF
+ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
+LIBSSH_CONF_OPTS += -DWITH_STACK_CLASH_PROTECTION=OFF
+endif
+
ifeq ($(BR2_PACKAGE_LIBSSH_SERVER),y)
LIBSSH_CONF_OPTS += -DWITH_SERVER=ON
else
--
2.39.2
_______________________________________________
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/libssh: fix build with Thumb
2023-07-14 20:35 [Buildroot] [PATCH 1/1] package/libssh: fix build with Thumb Bernd Kuhls
@ 2023-07-14 21:21 ` Thomas Petazzoni via buildroot
2023-08-25 16:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-14 21:21 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On Fri, 14 Jul 2023 22:35:30 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:
> /home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:
> In function 'ssh_make_bignum_string':
> /home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:64:1:
> sorry, unimplemented: '-fstack-check=specific' for Thumb-1
>
> Fixes:
> http://autobuild.buildroot.net/results/82c/82c8e3bb755bc8732a81f05a72f04a96ecc08b4e/
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/libssh/libssh.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/libssh: fix build with Thumb
2023-07-14 20:35 [Buildroot] [PATCH 1/1] package/libssh: fix build with Thumb Bernd Kuhls
2023-07-14 21:21 ` Thomas Petazzoni via buildroot
@ 2023-08-25 16:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-08-25 16:51 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:
> /home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:
> In function 'ssh_make_bignum_string':
> /home/buildroot/autobuild/instance-3/output-1/build/libssh-0.10.5/src/bignum.c:64:1:
> sorry, unimplemented: '-fstack-check=specific' for Thumb-1
> Fixes:
> http://autobuild.buildroot.net/results/82c/82c8e3bb755bc8732a81f05a72f04a96ecc08b4e/
> 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] 3+ messages in thread
end of thread, other threads:[~2023-08-25 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-14 20:35 [Buildroot] [PATCH 1/1] package/libssh: fix build with Thumb Bernd Kuhls
2023-07-14 21:21 ` Thomas Petazzoni via buildroot
2023-08-25 16:51 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox