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

David Disseldorp ddiss at suse.de
Tue Jun 25 06:34:54 PDT 2013


Hi Chuck,

On Mon, 24 Jun 2013 16:52:01 -0400
Chuck Lever <chuck.lever at oracle.com> wrote:

> For the time being I've left out David Disseldorp's Makefile changes
> until we have a better understanding of the problem he has hit.  I
> have been unable to reproduce his issue on Fedora.

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:
  Normally the linker will add a DT_NEEDED tag for each dynamic library
  mentioned on the command line, regardless of whether the library is
  actually needed or not. --as-needed causes a DT_NEEDED tag to only be
  emitted for a library that satisfies an undefined symbol reference
  from a regular object file or, if the library is not found in the
  DT_NEEDED lists of other libraries linked up to that point, an
  undefined symbol reference from another dynamic library.
  --no-as-needed restores the default behaviour.

He also mentioned that the same linker argument ordering requirements
would be present if the shared libraries were static libraries instead.

With this in mind, I stand by my request to have the "fix gcc linker
library argument placement" patch considered for upstream inclusion.

FWIW, I've setup a public build service repo[1] that builds fedfs-utils
packages for openSUSE and Fedora fedfs-utils.

Cheers, David

1. Open Build Service fedfs-utils repository
   https://build.opensuse.org/project/show?project=home%3Admdiss%3Afedfs



More information about the fedfs-utils-devel mailing list