bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #57014] make-4.2.91 segfaults under Solaris 10 when many files are


From: anonymous
Subject: [bug #57014] make-4.2.91 segfaults under Solaris 10 when many files are involved
Date: Mon, 7 Oct 2019 09:02:00 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]