Re: Defining and exporting and a variable undefined in a foreach loop cause a Segmentation fault with Make 4.2.1 on Debian bullseye/sid x64

2020-03-09 Thread Xavier Sanchez
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

Re: Defining and exporting and a variable undefined in a foreach loop cause a Segmentation fault with Make 4.2.1 on Debian bullseye/sid x64

2020-03-07 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
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

Defining and exporting and a variable undefined in a foreach loop cause a Segmentation fault with Make 4.2.1 on Debian bullseye/sid x64

2020-03-05 Thread Xavier Sanchez
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