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
cmake changes #10351
cmake changes #10351
Conversation
Signed-off-by: Kefu Chai <kchai@redhat.com>
util.cc is included by both librados and libcephfs, the `lvm` static variable in `lsb_release_parse()` will be free twice by them. this could lead to double free issue. and util.cc is not used by client at all, so remove it from them. Signed-off-by: Kefu Chai <kchai@redhat.com>
this silences the warning of: ``` In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/include/gtest/gtest.h:58:0, from /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osdcap.cc:20: /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osdcap.cc: In member function ‘virtual void OSDCap_AllowClassMulti_Test::TestBody()’: /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osdcap.cc:766:6: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without TEST(OSDCap, AllowClassMulti) { ^ /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/include/gtest/internal/gtest-internal.h:1211:3: note: in definition of macro ‘GTEST_TEST_CLASS_NAME_’ test_case_name##_##test_name##_Test ^ /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/include/gtest/gtest.h:2181:3: note: in expansion of macro ‘GTEST_TEST_’ GTEST_TEST_(test_case_name, test_name, \ ^ /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/include/gtest/gtest.h:2187:42: note: in expansion of macro ‘GTEST_TEST’ # define TEST(test_case_name, test_name) GTEST_TEST(test_case_name, # test_name) ^ /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/osdcap.cc:766:1: note: in expansion of macro ‘TEST’ TEST(OSDCap, AllowClassMulti) { ^ ``` see also b668051 Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov |
@tchaikov this looks good to me, you wisely chose to leave libcommon in the src directory! you're not adding anything else to this PR right? |
i put all the changes i added in the commit messages.
|
This appears to have broken the debian build at least: cp -a debian/tmp/usr/include/rados/buffer.h debian/librados-dev//usr/include/rados/ |
thanks @dmick, i am on it. |
No description provided.