https://sourceware.org/bugzilla/show_bug.cgi?id=28917
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #3 from Alan Modra <amodra at gmail dot com> --- GNU ar was deliberately changed to allow multiple files with the same base name in commit 7f924d5516cf5 1996-10-01. That's when the comment was added about "compatibility with existing ar programs" too. I think we should leave things as they are. Posix says "It is unspecified whether multiple files in the archive may be identically named." Since we do allow that, it seems reasonable to make "ar -r archive.a a/foo.o b/foo.o" put both objects in the archive. -- You are receiving this mail because: You are on the CC list for the bug.