I've built Make 4.3 and the attached Makefile works as intended.
The exact same Makefile produce the segfault on 4.2.1 on my x64 machine with
glibc 2.29-10.
What is your libc version ?
$ /usr/local/bin/make -v
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Found
On Thu, Mar 5, 2020 at 10:45 AM Xavier Sanchez wrote:
>
> Hi, I've got a segfault in __strlen_avx2 () at
> ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
>
> While defining a variable that has been undefined in a foreach loop using Make
> 4.2.1 on my Bullseye/sid workstation.
Does not reproduce for
Hi, I've got a segfault in __strlen_avx2 () at
../sysdeps/x86_64/multiarch/strlen-avx2.S:65
While defining a variable that has been undefined in a foreach loop using Make
4.2.1 on my Bullseye/sid workstation.
The code is a bit tricky. I've attached the Makefile and the backtrace.
# Bug in GNU Ma