[Bugs] [Bug 1160711] libgfapi: use versioned symbols in libgfapi.so for compatibility

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 9 12:15:57 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1160711



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9199 committed in release-3.5 by Niels de Vos
(ndevos at redhat.com) 
------
commit 20f45d95608e4a7ba54c3977d0a5c31ee5a36cd9
Author: Niels de Vos <ndevos at redhat.com>
Date:   Thu Nov 20 16:26:36 2014 +0100

    pkg-config: make the version in gluster-api.pc backwards compatible

    Once we released gluster-api.pc with version=4. Since then we undid the
    library versioning and replaced it with symbol-versioning. The current
    libgfapi.so has version 0, but the symbols have the version from the
    main package at the time they were added.

    Because other packages (like samba) use the pkg-config version, we can
    not drop it, or decrease the version easily. The simplest solution is to
    keep the version=4 and add sub-digits for the actual package/symbol
    versions. In future, the version in gluster-api.pc will be like 4.3.x.y.

    Cherry picked from commit 6ba258d2b7d4520af95ff638e02598e4aa247ec4:
    > Change-Id: If359c8de5b847a7e818199a7246636113837da2d
    > BUG: 1166232
    > Signed-off-by: Niels de Vos <ndevos at redhat.com>
    > Reviewed-on: http://review.gluster.org/9154
    > Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    > Reviewed-by: Lalatendu Mohanty <lmohanty at redhat.com>
    > Tested-by: Gluster Build System <jenkins at build.gluster.com>

    BUG: 1160711
    Change-Id: I785335972b357954fe4ede9c599b305c4a56eba7
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: http://review.gluster.org/9199
    Tested-by: Gluster Build System <jenkins at build.gluster.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list