[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Paul D. Smith
Update of bug #65972 (group make): Status:None => Not A Bug Open/Closed:Open => Closed Operating System: POSIX-Based => Any ___

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
Follow-up Comment #6, bug #65972 (group make): I'm fine with closing this bug, but I don't know how to do it. ___ Reply to this item at: ___ Message sen

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
Follow-up Comment #5, bug #65972 (group make): This seems to do the trick: .SECONDARY: $(OBJS) $(foreach T,$(TESTS),$($T-test_OBJDEPS)) $(HELPERS:%=%.wrap) So your suggestion covered it by ~80%. Thanks! ___ Reply to this item at:

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Paul D. Smith
Follow-up Comment #4, bug #65972 (group make): I don't think we will allow "going back" to the old behavior. That behavior was just a bug (IMO) and also, your makefile is fragile by relying on it (if that object file was ever mentioned anywhere else outside of a pattern rule, it would break). If

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
Follow-up Comment #3, bug #65972 (group make): Thanks for your response. I only saw it after adding my last comment. > .SECONDARY: $(OBJS) $(foreach T,$(TESTS),$($T-test_OBJDEPS)) That doesn't do the trick, but it seems to go into the right direction. I'll keep experimenting. _

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
Follow-up Comment #2, bug #65972 (group make): I bisected this manually to 510e5ce ("[SV 60188] Explicit prereqs cannot be intermediate files"). So apparently this change was made deliberately in the context of bug #60188. I wish it was possible to restore the historical behavior. I wonder if I

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Paul D. Smith
Follow-up Comment #1, bug #65972 (group make): Unfortunately the output shown in the comment here is not the important part. The important part is why make decided that the -test file needs to be updated, so you need to look at how make processes the target that is being rebuilt, not the thing th

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
Additional Item Attachment, bug #65972 (group make): File name: sid.logSize: 356KiB File name: f40.logSize: 597KiB AG

[bug #65972] Change in dependency treatment between GNU make 4.3 and 4.4.1

2024-07-10 Thread Martin Wilck
URL: Summary: Change in dependency treatment between GNU make 4.3 and 4.4.1 Group: make Submitter: mwilck Submitted: Wed 10 Jul 2024 02:59:38 PM UTC Severity: 3 - Normal