[PATCH v2] newlib: libm: workaround ar duplicate member behavior
Corinna Vinschen
vinschen@redhat.com
Tue Feb 22 11:31:45 GMT 2022
On Feb 21 19:21, Mike Frysinger wrote:
> GNU ar has undocumented behavior where it doesn't dedupe its inputs if
> they're all on the same command line, so we have to dedupe ourselves.
> ---
> v2
> - use awk to dedupe the object list
This seems to work.
However, what do we have to do in future to make sure the order is
always correct?
And the heritic question: Wouldn't it be safer to keep the old
per-subdir lib.a logic?
Thanks,
Corinna
More information about the Newlib
mailing list