Follow-up Comment #6, bug #54854 (group make): Thanks for taking the time to explain with a simple and easy to follow example.
>From the looks of it I have to agree that this is a legitimate case and cannot to lead to a broken build. Unfortunately my case is a rule for a program that builds two real files (not .PHONY). The problem is the second -j thread overwrites the output the first. I agree that the solution is to restructure the rules in a way to avoid behavior and this is what I have done but it took a while to figure it out. Hopefully this thread will be findable by other people who may wonder about the exact GNU Make behavior and possible workarounds. Thanks again. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54854> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/