URL: <https://savannah.gnu.org/bugs/?57014>
Summary: make-4.2.91 segfaults under Solaris 10 when many files are involved Project: make Submitted by: None Submitted on: Mon 07 Oct 2019 01:01:57 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: SCM Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: Hello, With the following Makefile, make-4.2.91 segfaults on my Solaris 10: % cat Makefile include /dev/null dummy: subdir/*.c include /dev/null % This needs some preparation: many files in subdir, including at least one subfolder: % mkdir -p subdir/subsubdir % touch `seq -f subdir/%5.0f 11001 12000` # seq does not exist on my solaris, yet you understand the idea % make -d GNU Make 4.2.91 Built for sparc-sun-solaris2.10 Copyright (C) 1988-2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Reading makefiles... Reading makefile 'Makefile'... Reading makefile '/dev/null' (search path) (no ~ expansion)... Segmentation fault % Of course the two include's are not necessary, but are useful to pinpoint the bug. This 'make' was built with '--disable-posix-spawn'. I insist that when there is no subfolder in subdir, no segfault shows up. I was unable to reproduce on linux and/or cygwin. I have no access on Solaris 11. Regards, Denis Excoffier. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57014> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make