Re: [PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2018-04-04 Thread Sandipan Das
Hi, On 11/30/2017 07:06 AM, Li Zhijian wrote: > since 6aa7de0, we failed to build perf with C++(clang) > to fix the following compile errors > -- > lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make > LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 > ... > CC

Re: [PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2018-04-04 Thread Sandipan Das
Hi, On 11/30/2017 07:06 AM, Li Zhijian wrote: > since 6aa7de0, we failed to build perf with C++(clang) > to fix the following compile errors > -- > lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make > LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 > ... > CC

Re: [PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2017-12-14 Thread Li Zhijian
ping On 11/30/2017 09:36 AM, Li Zhijian wrote: since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC

Re: [PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2017-12-14 Thread Li Zhijian
ping On 11/30/2017 09:36 AM, Li Zhijian wrote: since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC

[PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2017-11-29 Thread Li Zhijian
since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC util/probe-finder.o In file included from

[PATCH v2] tools include: define READ_ONCE/WRITE_ONCE for C++

2017-11-29 Thread Li Zhijian
since 6aa7de0, we failed to build perf with C++(clang) to fix the following compile errors -- lizhijian@haswell-OptiPlex-9020:~/lkp/linux/tools/perf$ make LLVM_CONFIG=/usr/bin/llvm-config-3.9 LIBCLANGLLVM=1 ... CC util/probe-finder.o In file included from