xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0 of 4] tools: build system fix indirect library usage and --as-needed
@ 2011-03-15 16:16 Ian Campbell
  2011-03-15 16:16 ` [PATCH 1 of 4] tools/blktap2: push uuid wrapper functions down into libvhd Ian Campbell
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ian Campbell @ 2011-03-15 16:16 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell

This series arranges for all libraries and binaries to only link
against those shared libraries which they use directly, relying on the
dynamic linker to do the right thing for indirect dependencies.

In order to do this I've pushed the tools/blktap2 UUID abstraction
down into libvhd and out of line to encapsulate all knowledge
regarding this abstraction into libvhd rather than expecting the users
of the library to do the right thing.

Having done this supporting --as-needed becomes a pretty trivial case
of ensuring links lines have the libraries in the correct order.

Tested by:
	* running xl, start/stop a guest
	* running xend, start/stop a guest
	* manually importing each python extension and calling
          whatever initialisation function I could find.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-03-17 19:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 16:16 [PATCH 0 of 4] tools: build system fix indirect library usage and --as-needed Ian Campbell
2011-03-15 16:16 ` [PATCH 1 of 4] tools/blktap2: push uuid wrapper functions down into libvhd Ian Campbell
2011-03-15 16:16 ` [PATCH 2 of 4] tools/blktap2/libvhd: move uuid wrapper functions out of line Ian Campbell
2011-03-15 16:42   ` Daniel Stodden
2011-03-15 16:16 ` [PATCH 3 of 4] tools: link each shared library or binary only against the libraries it uses Ian Campbell
2011-03-15 16:16 ` [PATCH 4 of 4] tools: support building with --as-needed Ian Campbell
2011-03-15 16:18 ` [PATCH 0 of 4] tools: build system fix indirect library usage and --as-needed Ian Campbell
2011-03-17 19:17   ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).