* [Buildroot] [PATCH 1/1] package/tinyssh: fix build issues with GCC 14
@ 2025-08-12 21:57 Florian Larysch
2025-08-16 20:08 ` Thomas Petazzoni via buildroot
2025-08-21 19:21 ` Thomas Perale via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Florian Larysch @ 2025-08-12 21:57 UTC (permalink / raw)
To: buildroot; +Cc: Vadim Kochan, Florian Larysch
tinyssh 20240101 fails to build on GCC 14 because of a missing include
for a forward declaration. Import the upstream patch that fixes it.
Fixes: https://autobuild.buildroot.org/results/e45/e4563317371c90669f6417ee3d1c48a41cb59cb2/
Signed-off-by: Florian Larysch <fl@n621.de>
---
There have been a number of newer releases since 20240101 that also
include this fix, but there also have been some build system changes as
well as a license change. For this reason and for porting this to stable
it makes sense to fix this issue separately first.
...issing-bug.h-include-for-global_die-.patch | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
diff --git a/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch b/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
new file mode 100644
index 0000000000..99649d4690
--- /dev/null
+++ b/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
@@ -0,0 +1,33 @@
+From f863e60d93006019855a0431ea5cd71c8f1fc173 Mon Sep 17 00:00:00 2001
+From: Haelwenn Monnier <contact+github.com@hacktivis.me>
+Date: Tue, 9 Jan 2024 20:15:29 +0100
+Subject: [PATCH] packet_put: Add missing bug.h include for global_die (#84)
+
+```
+packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+ global_die(111);
+ ^
+1 error generated.
+```
+
+Upstream: https://github.com/janmojzis/tinyssh/commit/f863e60d93006019855a0431ea5cd71c8f1fc173
+Signed-off-by: Florian Larysch <fl@n621.de>
+---
+ tinyssh/packet_put.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tinyssh/packet_put.c b/tinyssh/packet_put.c
+index 17e8d84..7f46ff6 100644
+--- a/tinyssh/packet_put.c
++++ b/tinyssh/packet_put.c
+@@ -6,6 +6,7 @@ Public domain.
+
+ #include "uint32_pack_big.h"
+ #include "buf.h"
++#include "bug.h"
+ #include "sshcrypto.h"
+ #include "ssh.h"
+ #include "log.h"
+--
+2.50.1
+
--
2.50.1
_______________________________________________
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/tinyssh: fix build issues with GCC 14
2025-08-12 21:57 [Buildroot] [PATCH 1/1] package/tinyssh: fix build issues with GCC 14 Florian Larysch
@ 2025-08-16 20:08 ` Thomas Petazzoni via buildroot
2025-08-21 19:21 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-08-16 20:08 UTC (permalink / raw)
To: Florian Larysch; +Cc: buildroot, Vadim Kochan
On Tue, 12 Aug 2025 23:57:37 +0200
Florian Larysch <fl@n621.de> wrote:
> tinyssh 20240101 fails to build on GCC 14 because of a missing include
> for a forward declaration. Import the upstream patch that fixes it.
>
> Fixes: https://autobuild.buildroot.org/results/e45/e4563317371c90669f6417ee3d1c48a41cb59cb2/
> Signed-off-by: Florian Larysch <fl@n621.de>
> ---
> There have been a number of newer releases since 20240101 that also
> include this fix, but there also have been some build system changes as
> well as a license change. For this reason and for porting this to stable
> it makes sense to fix this issue separately first.
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/tinyssh: fix build issues with GCC 14
2025-08-12 21:57 [Buildroot] [PATCH 1/1] package/tinyssh: fix build issues with GCC 14 Florian Larysch
2025-08-16 20:08 ` Thomas Petazzoni via buildroot
@ 2025-08-21 19:21 ` Thomas Perale via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2025-08-21 19:21 UTC (permalink / raw)
To: Florian Larysch; +Cc: Thomas Perale, buildroot
In reply of:
> tinyssh 20240101 fails to build on GCC 14 because of a missing include
> for a forward declaration. Import the upstream patch that fixes it.
>
> Fixes: https://autobuild.buildroot.org/results/e45/e4563317371c90669f6417ee3d1c48a41cb59cb2/
> Signed-off-by: Florian Larysch <fl@n621.de>
Applied to 2025.02.x & 2025.05.x. Thanks
> ---
> There have been a number of newer releases since 20240101 that also
> include this fix, but there also have been some build system changes as
> well as a license change. For this reason and for porting this to stable
> it makes sense to fix this issue separately first.
>
> ...issing-bug.h-include-for-global_die-.patch | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
>
> diff --git a/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch b/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
> new file mode 100644
> index 0000000000..99649d4690
> --- /dev/null
> +++ b/package/tinyssh/0001-packet_put-Add-missing-bug.h-include-for-global_die-.patch
> @@ -0,0 +1,33 @@
> +From f863e60d93006019855a0431ea5cd71c8f1fc173 Mon Sep 17 00:00:00 2001
> +From: Haelwenn Monnier <contact+github.com@hacktivis.me>
> +Date: Tue, 9 Jan 2024 20:15:29 +0100
> +Subject: [PATCH] packet_put: Add missing bug.h include for global_die (#84)
> +
> +```
> +packet_put.c:53:9: error: call to undeclared function 'global_die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> + global_die(111);
> + ^
> +1 error generated.
> +```
> +
> +Upstream: https://github.com/janmojzis/tinyssh/commit/f863e60d93006019855a0431ea5cd71c8f1fc173
> +Signed-off-by: Florian Larysch <fl@n621.de>
> +---
> + tinyssh/packet_put.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/tinyssh/packet_put.c b/tinyssh/packet_put.c
> +index 17e8d84..7f46ff6 100644
> +--- a/tinyssh/packet_put.c
> ++++ b/tinyssh/packet_put.c
> +@@ -6,6 +6,7 @@ Public domain.
> +
> + #include "uint32_pack_big.h"
> + #include "buf.h"
> ++#include "bug.h"
> + #include "sshcrypto.h"
> + #include "ssh.h"
> + #include "log.h"
> +--
> +2.50.1
> +
> --
> 2.50.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
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:[~2025-08-21 19:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12 21:57 [Buildroot] [PATCH 1/1] package/tinyssh: fix build issues with GCC 14 Florian Larysch
2025-08-16 20:08 ` Thomas Petazzoni via buildroot
2025-08-21 19:21 ` Thomas Perale via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox