bug-make
[Top][All Lists]
Advanced

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

[bug #24622] $$(eval) creating new targets causes segmentation fault


From: Lars S. Jessen
Subject: [bug #24622] $$(eval) creating new targets causes segmentation fault
Date: Tue, 21 Oct 2008 18:15:29 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; da-DK; rv:1.9.0.3) Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3

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/





reply via email to

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