On 2026/06/18 17:50, Tao Liu wrote: > Hi Kazu, > > Yes, it is needed for reallocarray() in kallsyms.c. For "man > reallocarray" gives: > > reallocarray(): > Since glibc 2.29: > _DEFAULT_SOURCE > glibc 2.28 and earlier: > _GNU_SOURCE > > For glibc <= 2.28, we need to use _GNU_SOURCE in order to use > reallocarray(). E.g I can encounter the compiling warning in rhel8 > once removed.
Thanks for the info. so let's keep it. Thanks, Kazu
