URL: <https://savannah.gnu.org/bugs/?62088>
Summary: Avoid re-exec due to stdin Project: make Submitted by: dgoncharov Submitted on: Sun 20 Feb 2022 01:26:47 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: None Fixed Release: None Triage Status: None _______________________________________________________ Details: A user reported the following "Noticed the regression on lowdown-0.10.0 upstream package. Here is a complete trigger: $ printf 'all:\n\techo $(CC)' | make -sf - [good] GNU make 4.3 works as expected: $ printf 'all:\n\techo $(CC)' | make -sf - cc [bad] GNU make from git loops indefinitely in re-execution: $ printf 'all:\n\techo $(CC)' | ./make -sf - <hung> Curiously space separation workaround is enough to get the result: $ printf 'all:\n\techo $(CC)' | ./make -s -f - cc Bitsect points at commit 7c4e6b0299 "[SV 60595] Restart whenever any makefile is rebuilt"." The original bug report is here https://lists.gnu.org/archive/html/bug-make/2022-02/msg00037.html. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?62088> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/