[Buildroot] [PATCH] package/tstools: fix build w/ gcc-15

Baruch Siach baruch at tkos.co.il
Mon Sep 1 02:40:12 UTC 2025


Hi Peter,

On Sun, Aug 31 2025, Peter Korsgaard wrote:

>>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:
>
>  > GCC-15 defaults to C23, which changes the meaning of an empty parameter
>  > list:
>
>  > https://gcc.gnu.org/gcc-15/porting_to.html#c23-fn-decls-without-parameters
>
>  > Leading to a build failure:
>
>  > tsserve.c: In function ‘set_child_exit_handler’:
>  > tsserve.c:2988:21: error: assignment to ‘__sighandler_t’ {aka ‘void
>  > (*)(int)’} from incompatible pointer type ‘void (*)(void)’
>  > [-Wincompatible-pointer-types]
>  >  2988 |   action.sa_handler = on_child_exit;
>
>  > Add a patch from an upstream PR to fix that.
>
>  > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
>
> Committed, thanks.

This is not in master as of commit c7af01f47a ("package/ipmitool: move
to codeberg").

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -


More information about the buildroot mailing list