bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/14698] ar, nm and ranlib don't use gcc's liblto_plugin.so


From: gingold at adacore dot com
Subject: [Bug binutils/14698] ar, nm and ranlib don't use gcc's liblto_plugin.so in BINDIR/../lib/bfd-plugins automatically
Date: Mon, 22 Sep 2014 10:35:12 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=14698

gingold at adacore dot com <gingold at adacore dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |gingold at adacore dot com
         Resolution|FIXED                       |---

--- Comment #7 from gingold at adacore dot com <gingold at adacore dot com> ---
Hello,

I think the patch is not correct.

Unless --target is specified, it creates archives using the "plugin" target,
which may not be compatible with the target.  For example, the archive format
on IBM AIX is not compatible with the "plugin" one.

I think the ar.c:open_inarch lines:
 if (target == NULL)
    target = plugin_target;
should be moved (target shouldn't be overridden when creating a new target).

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]