Re: ceph 16.2.5: three build issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 7 Aug 2021 at 14:16, kefu chai <tchaikov@xxxxxxxxx> wrote:

+ dev@xxxxxxx

Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx>于2021年8月7日 周六14:38写道:
On Sat, 7 Aug 2021 at 05:50, kefu chai <tchaikov@xxxxxxxxx> wrote:
Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx>于2021年8月4日 周三22:58写道:
[..] 
WITH_BLUESTORE:BOOL=OFF

why did you disable bluestone? Are you only interested in the client side?

No I'm not.
In this case it looks like it is a mistake.
(As I've still not been able to compile ceph even one time without errors I had no chance to correct that mistake).
Nevertheless, after change to WITH_BLUESTORE=ON still build fails in all those three points reported before.

I can understand that fixing those issues may take time so at this stage it would be good to know if at least some were able to reproduce those errors (?)

To reproduce this build failure, could you please share the exact steps to build the tree? For instance, the build environment, the spec file and any options you specified.

My spec file is not fully finished so sharing is a bit pointless.

Here is th part of the script generated by rpm with all crucial settings

CPPFLAGS=' -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux'
CFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fcommon'
CXXFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none'
FFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
FCFLAGS='-O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -I/usr/lib64/gfortran/modules'
LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--gc-sections -Wl,-z,now -flto=auto -flto-partition=none -fuse-linker-plugin'
CC=/usr/bin/gcc
CXX=/usr/bin/g++
FC=/usr/bin/gfortran
AR=/usr/bin/gcc-ar
NM=/usr/bin/gcc-nm
RANLIB=/usr/bin/gcc-ranlib
export CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS CC CXX FC AR NM RANLIB
/usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D DBUILD_SHARED_LIBS=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D BUILD_CONFIG=rpmbuild -D CMAKE_COLOR_MAKEFILE=OFF -D CMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -D CMAKE_INSTALL_INCLUDEDIR=/usr/include -D CMAKE_INSTALL_LIBDIR=/usr/lib64 -D CMAKE_INSTALL_LIBEXECDIR=/usr/libexec -D CMAKE_INSTALL_LOCALSTATEDIR=/var -D CMAKE_INSTALL_MANDIR=/usr/share/man -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_INSTALL_SYSCONFDIR=/etc -D CMAKE_INSTALL_SYSTEMD_SERVICEDIR=/usr/lib/systemd/system -D WITH_BLUESTORE=ON -D WITH_BLUESTORE_PMEM=OFF -D WITH_CEPHFS_JAVA=OFF -D WITH_CEPHFS_SHELL=ON -D WITH_GRAFANA=ON -D WITH_MANPAGE=ON -D WITH_MGR_DASHBOARD_FRONTEND=OFF -D WITH_PYTHON3=3.8 -D WITH_RADOSGW_LUA_PACKAGES=ON -D WITH_SELINUX=OFF -D WITH_SYSTEM_BOOST=ON -D WITH_SYSTEM_GTEST=ON -D WITH_SYSTEM_LIBURING=ON -D WITH_SYSTEM_PMDK=OFF -D WITH_SYSTEM_ROCKSDB=ON -D WITH_TESTS=ON -D WITH_LTTNG=ON -D WITH_BABELTRACE=ON -D WITH_OCF=ON -D WITH_LIBRADOSSTRIPER=ON -D WITH_RADOSGW_AMQP_ENDPOINT=ON -D WITH_RADOSGW_KAFKA_ENDPOINT=ON -D WITH_RBD_RWL=OFF -D WITH_RBD_SSD_CACHE=ON
/usr/bin/cmake --build x86_64-redhat-linux-gnu --verbose

Only patch which I'm using is from Fedora to allow use shared liburing
I'm using gcc 11.1.1
kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH

_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux