Ceph 12.2.2 - Compiler Hangs on src/rocksdb/monitoring/statistics.cc

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

 



Hi,

GLIBC 2.25-r9
GCC 6.4.0-r1

When compiling Ceph 12.2.2, the compilation hangs (cc1plus goes into an infinite loop and never finishes, requiring the process to be killed manually) while compiling the file 'src/rocksdb/monitoring/statistics.cc'. By forever, I've left it sit and it ran for 140+ minutes.

The specific command is which runs forever is:

/usr/i686-pc-linux-gnu/gcc-bin/6.4.0/i686-pc-linux-gnu-g++ -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -I/var/tmp/portage/sys-cluster/ceph-12.2.2/work/ceph-12.2.2/src/rocksdb -I/var/tmp/portage/sys-cluster/ceph-12.2.2/work/ceph-12.2.2/src/rocksdb/include -isystem /var/tmp/portage/sys-cluster/ceph-12.2.2/work/ceph-12.2.2/src/rocksdb/third-party/gtest-1.7.0/fused-src -march=i686 -O2 -pipe -W -Wextra -Wall -Wsign-compare -Wshadow -Wno-unused-parameter -Wno-unused-variable -Woverloaded-virtual -Wnon-virtual-dtor -Wno-missing-field-initializers -std=c++11 -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer -Werror -fno-builtin-memcmp -fPIC -o CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o -c /var/tmp/portage/sys-cluster/ceph-12.2.2/work/ceph-12.2.2/src/rocksdb/monitoring/statistics.cc


However, if I turn off all optimizations (replace all '-O2' with '-O0') or remove '-fno-omit-frame-pointer' (while keeping all the '-O2'), then the compilation finishes.


Thanks,
Dyweni


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux