mkdir git && cd git git clone https://github.com/llvm-mirror/llvm.git git checkout stable cd llvm/tools git clone https://github.com/llvm-mirror/clang.git git clone https://github.com/llvm-mirror/lld.git cd /tmp mkdir llvm-build && cd llvm-build cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=ARM;X86;AArch64;Mips /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/osd/PrimaryLogPG.cc:1589:26: error: no matching function for call to 'min' size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target, ^~~~~~~~ /usr/bin/../lib/gcc/arm-linux-gnueabihf/6.3.0/../../../../include/c++/6.3.0/bits/algorithmfwd.h:370:5: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned int' vs. 'unsigned long long') min(const _Tp&, const _Tp&); ^ /usr/bin/../lib/gcc/arm-linux-gnueabihf/6.3.0/../../../../include/c++/6.3.0/bits/stl_algo.h:3453:5: note: candidate template ignored: could not match 'initializer_list' against 'unsigned int' min(initializer_list<_Tp> __l, _Compare __comp) ^ /usr/bin/../lib/gcc/arm-linux-gnueabihf/6.3.0/../../../../include/c++/6.3.0/bits/algorithmfwd.h:375:5: note: candidate function template not viable: requires 3 arguments, but 2 were provided min(const _Tp&, const _Tp&, _Compare); ^ /usr/bin/../lib/gcc/arm-linux-gnueabihf/6.3.0/../../../../include/c++/6.3.0/bits/stl_algo.h:3447:5: note: candidate function template not viable: requires single argument '__l', but 2 arguments were provided min(initializer_list<_Tp> __l) ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/osd/PrimaryLogPG.cc:3412:11: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [ctx, this]() { ****************************************************** /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.cc:768:8: error: case value evaluates to 2435016766, which cannot be narrowed to type 'long' [-Wc++11-narrowing] case BTRFS_SUPER_MAGIC: ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC' #define BTRFS_SUPER_MAGIC 0x9123683EL ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.cc:797:8: error: case value evaluates to 2435016766, which cannot be narrowed to type 'long' [-Wc++11-narrowing] case BTRFS_SUPER_MAGIC: ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC' #define BTRFS_SUPER_MAGIC 0x9123683EL ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.cc:5927:8: error: case value evaluates to 2435016766, which cannot be narrowed to type 'long' [-Wc++11-narrowing] case BTRFS_SUPER_MAGIC: ^ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC' #define BTRFS_SUPER_MAGIC 0x9123683EL ************************************************************ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/rgw/rgw_sync_log_trim.cc:896:20: error: non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'time_t' (aka 'long') in initializer list [-Wc++11-narrowing] wait(utime_t{config.trim_interval_sec, 0}); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/rgw/rgw_sync_log_trim.cc:896:20: note: insert an explicit cast to silence this issue wait(utime_t{config.trim_interval_sec, 0}); ^~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ******************************************* /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/rgw/rgw_rados.cc:3823:47: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'std::vector::size_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] auto handles = std::vector{cct->_conf->rgw_num_rados_handles}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/rgw/rgw_rados.cc:3823:47: note: insert an explicit cast to silence this issue auto handles = std::vector{cct->_conf->rgw_num_rados_handles}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast( ) ************************************* dpkg: dependency problems prevent configuration of ceph-base: ceph-base depends on cryptsetup-bin | cryptsetup; however: Package cryptsetup-bin is not installed. Package cryptsetup is not installed. ceph-base depends on gdisk; however: Package gdisk is not installed. ceph-base depends on python-pkg-resources; however: Package python-pkg-resources is not installed. ceph-base depends on libaio1 (>= 0.3.93); however: Package libaio1 is not installed. ceph-base depends on libfuse2 (>= 2.2); however: Package libfuse2 is not installed. ceph-base depends on libgoogle-perftools4; however: Package libgoogle-perftools4 is not installed. ceph-base depends on libibverbs1 (>= 1.1.6); however: Package libibverbs1 is not installed. ceph-base depends on libleveldb1v5; however: Package libleveldb1v5 is not installed. ceph-base depends on libnspr4 (>= 2:4.9-2~); however: Package libnspr4 is not installed. ceph-base depends on libnss3 (>= 2:3.13.4-2~); however: Package libnss3 is not installed. ceph-base depends on libsnappy1v5; however: Package libsnappy1v5 is not installed.