On Mon, Jun 28, 2010 at 4:51 PM, Julien Cristau <jcris...@debian.org> wrote: > On Mon, Jun 28, 2010 at 16:14:23 +0200, Bastien ROUCARIES wrote: > >> upstream does not seems how to use libtools in order to create a publi >> private list of symbols using the procedure described in >> http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=12841 >> > Oh and fwiw libtool does not create a list. It takes a list (or regexp) > and ensures that only the matching symbols are exported. You can > achieve the same with a linker script or adding visibility attributes in > the source code. But neither of those prevent ABI breakage if public > functions or symbols change signature or are removed, which is what > happened here. The only way to prevent this is to either bump SONAME > when that happens, or not do those changes in the first place.
yes but with a list of symbols publically exported we could use a script to detect change between version, and ask to bump soname in case of missmatch. We used with kind of stuff a long time ago, but upstream does not always bump soname saying it is a private symbols. We therefore ask to only export public symbols and they do not know how to use libtool facility. So if you post a patch, we could create a list and after a few iteration only export abi stable symbols. Bastien > Cheers, > Julien > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQIcBAEBCAAGBQJMKLcDAAoJEDEBgAUJBeQMGnAP/RL1vrqk31c1+e0N2sqh6+7R > EpzXe+NyTRCTR/fmvLE7L+VBcqI0SDMDjdbWHgzd848he7qmHF7Z2i3xyOsU9DEI > XZ+ejfA6n3YXyGpwtfpYDQAEtzuxEBiimxAJG6ZIK0FGtg67OwY0BOFPSTNAA77L > BrPK+umBoMSnyhJyvKdJORBbqrJPxe1tl5OE90Q7dA2v4hO9sGvtkilSMyNdbWSs > ASRCq69ET7a3PVkpZY/cWO9y+IaVRzlL0yrUo9FmSmyIQhdd4L64BMTr+AWUhJU7 > 6wKjqnghcj4IVnbOfViej/mrC0O1pvEnUNEuMyVsy/5wpa5vWZFzdPN4pXiANrWG > UI/S+0emQaOV7J+V4j/LwlycurgleMMBcN50yXrs49QccjuX0+FhxFrSpL2quDTh > A7JMz8yq5WHCJISn32k69IPBObWZHJz6HSY8+2j4QpozFJDs9G4pg3DYjRlsBTrN > HZRVi4WsKTG0R/oev7amDhhQ/unB4prkGbuBARTBfK17Ozo73ewbP3vjau5eusah > Y1jXbgr8hb+XiwaewuZBjLFssxePIJ7iFObeaUJX3ChP6vkOq7U7jHpgCjgZvWvy > DIG9RLIFnxgDpATbZu9rqCUgNl32YxNrD0GVAgow/A5k3CE7u2y04ZsFA4peanQO > ORwJ/7xf525ldWe6xC+5 > =jqks > -----END PGP SIGNATURE----- > > -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org