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/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to