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

                 Summary: $$(eval) creating new targets causes segmentation
fault
                 Project: make
            Submitted by: ljessen
            Submitted on: Tue 21 Oct 2008 06:15:25 PM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.81
        Operating System: None
           Fixed Release: None

    _______________________________________________________

Details:

$$(eval) with SECONDEXPANSION enabled causes make to crash with a
segmentation fault when the expanded variable creates new targets.

The following makefile reproduces the crash:

$ cat Makefile
.SECONDEXPANSION:

proj1.exe : proj1.o $$(eval $$(test))
        
define test
proj1.o : proj1.c
proj1.c: proj1.h
endef

$ make
Segmentation fault





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



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

Reply via email to