On 10/14/25 1:28 PM, Basil Milanich wrote:
The extra \; parameter in the find command causes it to fail immediately and
not clean any config.cache:

$ find . -name config.cache -exec rm -f {} \; \;
find: paths must precede expression: `;'

This is benign in most cases but the binutils is also using this Makefile.tpl 
and
as the result its 'make distclean' can leave config.cache files around, which
fails subsequent attempts to configure and build it.

I have modified the Makefile.tpl and regenerated Makefile.in from it. For 
testing
I ran a config/make/make distclean loop.
Thanks. I checked the history here just in case there was something subtle I was missing. But in that discussion there was only a single ";" in the proposed line. Somehow we ended up with 2.

I added a suitable ChangeLog entry and pushed this to the trunk. Presumably at some point binutils will resync and pick this up.

Thanks,
Jeff

Reply via email to