[lvm-devel] [PATCH] Fix liblvm2cmd.so linking order for --as-needed builds

Diego Elio Pettenò flameeyes at gmail.com
Wed Sep 1 15:35:00 UTC 2010


Hi all,

I'm attaching a patch that fix the linking of liblvm2cmd.so so that it
actually links to the libraries it needs... with the original Makefile,
the linking order is such that ld drops all the libraries, linking only
libc at the end... this in turn will cause undefined references to floor
when the library is loaded in (see http://bugs.gentoo.org/335205 for
reference).

HTH!

-- 
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-2.02.73-asneeded.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100901/d3186f81/attachment.bin>


More information about the lvm-devel mailing list