xfs
[Top] [All Lists]

acl and attr: libmisc linkage

To: linux-xfs@xxxxxxxxxxx, Timothy Shimmin <tes@xxxxxxx>
Subject: acl and attr: libmisc linkage
From: Andreas Gruenbacher <agruen@xxxxxxx>
Date: Sun, 28 Oct 2007 19:04:04 +0100
Cc: Gerald Bringhurst <gbringhurst@xxxxxxxxxx>, Brandon Philips <bphilips@xxxxxxx>
Organization: SUSE Labs, Novell
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.9.5
Hello,

I noticed that in some cases, gcc is unhappy when libmisc.a is specified after 
libattr.so and libacl.so, and doesn't link in stuff from libmisc.a 
(specifically, walk_tree). I don't know the exact reason for this behavior, 
but putting libmisc.a before the dynamic libraries fixes the problem, i.e., 
like this:

  -LLDLIBS = $(LIBACL) $(LIBATTR) $(LIBMISC)
  -LTDEPENDENCIES = $(LIBACL) $(LIBMISC)
  +LLDLIBS = $(LIBMISC) $(LIBACL) $(LIBATTR)
  +LTDEPENDENCIES = $(LIBMISC) $(LIBACL)

Is that acceptable?

Thanks,
Andreas


<Prev in Thread] Current Thread [Next in Thread>
  • acl and attr: libmisc linkage, Andreas Gruenbacher <=