New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infernalis: librados (C++) linker error (undefined reference) #7835
Conversation
buffer::list::iterator_impl symbols are referenced by const_iterator and iterator, and are exposed as weak symbols. if a source file is compiled using the buffer.h, the produced object file will reference these symbols as well, so we'd better hiding them and avoid using them in the header file. as a side-effect, buffer::list::const_iterator is also hidden, but currently we don't have any librados client using this class, so we can just leave it as an internal class at this moment. Fixes: ceph#14788 Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 6c64578)
the symbols of buffer::list::iterator_impl<> were wrongly exposed in previous infernalis release, and the clients linked against librados are very likely using them. so we need to document this change. Signed-off-by: Kefu Chai <kchai@redhat.com> (cherry picked from commit 694f92f) Conflicts: PendingReleaseNotes fix is backported to v9.2.2 - adjust version number to reflect this
@smithfarm i rethought about this. i'd suggest not bump the so version. in theory, we should change "2:0:0" to "3:0:0", as we removed some of the interfaces from librados. and the produced shared object would be librados.so.3.0.0. but that would break the soname dependency of rpm packages depending on librados.
among them, the most notably package is qemu. so as long as foobar-package is not linked against v9.1.0 or v9.2.0. it will continue to work when the librados v10.* is installed. and since hammer is the last LTS, most (if not all) distros are packaging hammer. so there is less chance that it will break. what do you think? |
@tchaikov OK, so we leave the versioning unchanged in infernalis, but what about jewel? |
@smithfarm we leave it unchanged in jewel also. @liewegas what do you think? |
@smithfarm #7974 (comment) does this convince you? |
@tchaikov I'm OK to leave the major so version number unchanged in infernalis. |
@smithfarm so you are suggesting bump up the release number? |
@tchaikov I don't know. I want to drop the inter-shared-library runtime dependencies from the spec file (see the I have a problem, but I don't have a solution. |
infernalis has been EOL for a few months now, there does not seem to be a need for another release, even for upgrade purposes |
http://tracker.ceph.com/issues/14916