1
|
mkdir git && cd git
|
2
|
git clone https://github.com/llvm-mirror/llvm.git
|
3
|
git checkout stable
|
4
|
cd llvm/tools
|
5
|
git clone https://github.com/llvm-mirror/clang.git
|
6
|
git clone https://github.com/llvm-mirror/lld.git
|
7
|
cd /tmp
|
8
|
mkdir llvm-build && cd llvm-build
|
9
|
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=ARM;X86;AArch64;Mips
|
10
|
|
11
|
|
12
|
|
13
|
/tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/osd/PrimaryLogPG.cc:1589:26: error: no matching function for call to 'min'
|
14
|
size_t num_to_trim = std::min(pg_log.get_log().approx_size() - target,
|
15
|
^~~~~~~~
|
16
|
/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')
|
17
|
min(const _Tp&, const _Tp&);
|
18
|
^
|
19
|
/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<type-parameter-0-0>' against 'unsigned int'
|
20
|
min(initializer_list<_Tp> __l, _Compare __comp)
|
21
|
^
|
22
|
/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
|
23
|
min(const _Tp&, const _Tp&, _Compare);
|
24
|
^
|
25
|
/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
|
26
|
min(initializer_list<_Tp> __l)
|
27
|
^
|
28
|
/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]
|
29
|
[ctx, this]() {
|
30
|
|
31
|
|
32
|
******************************************************
|
33
|
|
34
|
/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]
|
35
|
case BTRFS_SUPER_MAGIC:
|
36
|
^
|
37
|
/tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC'
|
38
|
#define BTRFS_SUPER_MAGIC 0x9123683EL
|
39
|
^
|
40
|
/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]
|
41
|
case BTRFS_SUPER_MAGIC:
|
42
|
^
|
43
|
/tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC'
|
44
|
#define BTRFS_SUPER_MAGIC 0x9123683EL
|
45
|
^
|
46
|
/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]
|
47
|
case BTRFS_SUPER_MAGIC:
|
48
|
^
|
49
|
/tmp/release/Raspbian/WORKDIR/ceph-12.2.8-453-gfffb281cf6/src/os/filestore/FileStore.h:60:27: note: expanded from macro 'BTRFS_SUPER_MAGIC'
|
50
|
#define BTRFS_SUPER_MAGIC 0x9123683EL
|
51
|
|
52
|
************************************************************
|
53
|
/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]
|
54
|
wait(utime_t{config.trim_interval_sec, 0});
|
55
|
^~~~~~~~~~~~~~~~~~~~~~~~
|
56
|
/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
|
57
|
wait(utime_t{config.trim_interval_sec, 0});
|
58
|
^~~~~~~~~~~~~~~~~~~~~~~~
|
59
|
static_cast<time_t>( )
|
60
|
|
61
|
|
62
|
*******************************************
|
63
|
/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]
|
64
|
auto handles = std::vector<librados::Rados>{cct->_conf->rgw_num_rados_handles};
|
65
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
66
|
/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
|
67
|
auto handles = std::vector<librados::Rados>{cct->_conf->rgw_num_rados_handles};
|
68
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
69
|
static_cast<size_type>( )
|
70
|
|
71
|
*************************************
|
72
|
dpkg: dependency problems prevent configuration of ceph-base:
|
73
|
ceph-base depends on cryptsetup-bin | cryptsetup; however:
|
74
|
Package cryptsetup-bin is not installed.
|
75
|
Package cryptsetup is not installed.
|
76
|
ceph-base depends on gdisk; however:
|
77
|
Package gdisk is not installed.
|
78
|
ceph-base depends on python-pkg-resources; however:
|
79
|
Package python-pkg-resources is not installed.
|
80
|
ceph-base depends on libaio1 (>= 0.3.93); however:
|
81
|
Package libaio1 is not installed.
|
82
|
ceph-base depends on libfuse2 (>= 2.2); however:
|
83
|
Package libfuse2 is not installed.
|
84
|
ceph-base depends on libgoogle-perftools4; however:
|
85
|
Package libgoogle-perftools4 is not installed.
|
86
|
ceph-base depends on libibverbs1 (>= 1.1.6); however:
|
87
|
Package libibverbs1 is not installed.
|
88
|
ceph-base depends on libleveldb1v5; however:
|
89
|
Package libleveldb1v5 is not installed.
|
90
|
ceph-base depends on libnspr4 (>= 2:4.9-2~); however:
|
91
|
Package libnspr4 is not installed.
|
92
|
ceph-base depends on libnss3 (>= 2:3.13.4-2~); however:
|
93
|
Package libnss3 is not installed.
|
94
|
ceph-base depends on libsnappy1v5; however:
|
95
|
Package libsnappy1v5 is not installed.
|
96
|
|
97
|
|