Subject: bug#61787: [gnu.org #1923372] sed - build problem - malloc - savannah git master head (today)

From: "Therese Godefroy via RT" <[email-masked]>
Date: Sat, 25 Feb 2023 10:19:40 -0500

Le Ven 24 Fév 2023 17:29:57, [email-masked] a écrit :
> file:
> <sed_root>/lib/malloc/scratch_buffer.h
> 
> env:
> gcc-13.1
> gnulib (gnu git master head, today)
> Linux 6.2.0-rc6-vakgina+ #1 SMP PREEMPT_DYNAMIC  x86_64 GNU/Linux
> (numero UNO)
> 
> when building sed from savannah git master head (earlier today); there
> was a build problem.
> 
> ...the problem centers around max_align_t type def (really the lack
> thereof)...
> I tried including headers that are of higher regional correlation with
> that word_name (for example, like:
> 
> #include <wchar.h>lib/malloc/scratch_buffer.h
> #include <sys/types.h>
> #include <stdio.h>
> #include <locale.h>
> #include <string.h>
> #include <stdlib.h>
> 
> ) but, surprisingly that did not resolve the problem (also tried
> including the listed header mod list that is generated when
> bootstrap.sh is invoked... to no avail)
> the crappy solution was to change the gnulib/m4/stddef_h.m4
> "gl_cv_type_max_align_t" test to default to "HAVE_MAX_ALIGN_T=0" such
> that the max_align_t was turned off.
> 
> ...this better not be some form of social engineering.
> 
> Best
> 
> 1pf1

Hello Peter,

Thank you for reporting this issue.
I'm cc'ing the <[email-masked]>.

Best regards,
Thérèse