On Sun, Nov 10, 2024 at 11:10:17AM +0100, Jeremie Courreges-Anglas wrote: > On Sat, Nov 09, 2024 at 07:23:31PM -0500, George Koehler wrote: [...] > > I also want to report that 32-bit archs (powerpc but not powerpc64) > > give lots of this warning, > > | /usr/local/include/xxhash.h:617:16: warning: unknown attribute > > | 'rpl_malloc' ignored [-Wunknown-attributes] > > because <xxhash.h> has "__attribute__((malloc))" but > > WRKSRC/gnulib/import/stdlib.h does "#define malloc rpl_malloc", after > > WRKSRC/gnulib/import/m4/malloc.m4 checks "whether malloc is ptrdiff_t > > safe", which is "no" on 32-bit archs. > > Ugh, we want to address that at some point I think.
Probably something like: MAKE_ENV= gl_cv_malloc_ptrdiff=yes If it does the job, builds and runs fine on powerpc, feel free to commit it. -- jca