[PATCH] Fix liblvm2cmd.so linking order for --as-needed builds
Zdenek Kabelac <[email protected]>
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <[email protected]> |
Dne 1.9.2010 17:37, Diego Elio Petten? napsal(a): > 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). The last occurrence of CLDWHOLEARCHIVE in tools/Makefile.in seems to be dropped by this Alasdair's commit: Author: Alasdair Kergon <[email protected]> Date: Thu Feb 2 19:16:47 2006 +0000 Which seems to in somewhat history. So this patch doesn't look like upstream related - rather some local 'gentoo' cooking patch ? Is gentoo doing their own build rules? If the upstream still has any linking problem - please report problems/patches against upstream CVS/git repository. Zdenek