bug-make
[Top][All Lists]
Advanced

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

[bug #54529] [Makefile:5: foobar] Segmentation fault


From: Mark Galeck
Subject: [bug #54529] [Makefile:5: foobar] Segmentation fault
Date: Fri, 17 Aug 2018 10:46:44 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?54529>

                 Summary: [Makefile:5: foobar] Segmentation fault
                 Project: make
            Submitted by: mark_galeck0
            Submitted on: Fri 17 Aug 2018 02:46:42 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2.1
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

For this Makefile:

ROOT := ${shell echo
/home/mgaleck/ws/mgaleck_build/mgaleck_build_refactor2/target | sed s/t/t/}
export LD_LIBRARY_PATH := ${ROOT}/usr/lib64:${LD_LIBRARY_PATH}

foobar:
        touch $@


and file foobar missing, then on some Linux distributions, I get this:

$ make-4.2.1/make
touch foobar
make: *** [Makefile:5: foobar] Segmentation fault (core dumped)


The above Makefile is SSCCE for me - if I delete any elements from the above,
even just one letter from the echo string, does not happen.  

This happens on CentOS 7.3, but on latest Ubuntu, does not happen.  I am
hoping that this is merely a matter of different timing and the bug is really
present on all OS and a person sufficiently familiar with the code can see it
from the above description.  

Mark  




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?54529>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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