Re: '... | Avoiding implicit rule recursion for rule '%/dir: %'. | ...'

2024-11-07 Thread Dmitry Goncharov
On Thu, Nov 7, 2024 at 3:49 AM WaitronCharm via Bug reports and discussion for GNU make wrote: > > all: hello.tsk > > %.tsk: %.o; $(info hello.tsk) > > %.o: %.c %.tsk; $(info hello.c) > Wouldn't this result anyway in a cyclic graph due to '%.tsk'? This is a legal makefile. Make drops the circular

[bug #66424] Infinite loop when cross-compiling glibc-2.12.2

2024-11-07 Thread Adam
URL: Summary: Infinite loop when cross-compiling glibc-2.12.2 Group: make Submitter: adaha Submitted: Thu 07 Nov 2024 02:59:10 PM UTC Severity: 3 - Normal Item G

Re: '... | Avoiding implicit rule recursion for rule '%/dir: %'. | ...'

2024-11-07 Thread WaitronCharm via Bug reports and discussion for GNU make
On Wednesday, November 6th, 2024 at 9:51 PM, Dmitry Goncharov wrote: > Maybe the authors had some other reason, but the only reason i can see > today for implicit rules (other than match-anything rules) is > avoidance of infinite recursion in cases like the following > > all: hello.tsk > %.tsk:

Re: '... | Avoiding implicit rule recursion for rule '%/dir: %'. | ...'

2024-11-07 Thread Edward Welbourne
>> I am sure there are legitimate cases where recursively (but not >> infinitely) applying pattern rules should be useful. Dmitry Goncharov (6 November 2024 21:51) replied (inter alia): > How do you teach make to allow some, but not infinite recursion? Allow recursion whenever each step takes you