Using strip on multiple files using wildcards fails since Binutils 2.44

Jan Beulich jbeulich@suse.com
Wed Feb 26 07:06:52 GMT 2025


(re-adding the list)

On 26.02.2025 06:26, Markus Eisenmann wrote:
> Thx for the answer!
> 
> The Binutil tools before 2.44 in MSYS2/MinGW64 are have a builtin wildcard file expansion like bash do it transparently ... now, it seems that it were removed in this Windows port/variant.
> 
> Ie., tested by calling strip 2.43 vs. 2.44 from Windows-CLI and now they bahave differently.

Yet still, now having gone over the (titles of) the changes that went in
between 2.43 and 2.44, there was nothing that even remotely looks like it
might have had such an effect. IOW I still wonder whether that isn't a
change on the library side, resulting in applications behaving differently.
Or, if this isn't a self-built binary, in how the package build is done.

Just fyi, while I don't have any MinGW around, I at least tried with
Cygwin. No wildcard expansion in 2.43 either when an argument is quoted.

> It was much more that I was suprised that a unchanged batch-file failed after (automatically) updating only the MSYS2-packages. Fix was only to use a FOR-loop in the batch-variant (vs. bash with wildcards) ...

I can certainly understand such to be surprising.

Jan



More information about the Binutils mailing list