[fedfs-utils] [PATCH 0/3] Proposing fedfs-utils 0.9.2

Chuck Lever chuck.lever at oracle.com
Tue Jun 25 09:07:00 PDT 2013


On Jun 25, 2013, at 11:25 AM, David Disseldorp <ddiss at suse.de> wrote:

> On Tue, 25 Jun 2013 10:37:01 -0400
> Chuck Lever <chuck.lever at oracle.com> wrote:
> 
> ...
>>> I spoke to one of our toolchain team members, he demonstrated that the
>>> difference in behaviour is due to openSUSE's use of the --as-needed
>>> binutils feature:
>> 
>> How is that flag specified in your build?  I'd like to try it here.  Out of interest, why is this needed?
> 
> It's triggered by the build service using the SUSE_ASNEEDED envirnment
> variable, but can be add manually via the -Wl,--as-needed option.
> 
> As to why it's needed, the Gentoo documentation does best at describing
> how --as-needed can be beneficial:
> http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap1

Playing with this a bit.

It looks to me like you do not need to re-order the libraries for the plug-ins directory.  I get the same successful result whether or not --as-needed is specified.  Is there a justification for changing the plug-in library?  Risks?

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com







More information about the fedfs-utils-devel mailing list