Re: [PATCH v4] perf tools: Check libasan and libubsan in Makefile.config

2020-06-18 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 18, 2020 at 02:57:46PM +0200, Jiri Olsa escreveu: > On Thu, Jun 18, 2020 at 10:06:01AM +0800, Tiezhu Yang wrote: > > When build perf with ASan or UBSan, if libasan or libubsan can not find, > > the feature-glibc is 0 and there exists the following error log which is > > wrong, because

Re: [PATCH v4] perf tools: Check libasan and libubsan in Makefile.config

2020-06-18 Thread Jiri Olsa
On Thu, Jun 18, 2020 at 10:06:01AM +0800, Tiezhu Yang wrote: > When build perf with ASan or UBSan, if libasan or libubsan can not find, > the feature-glibc is 0 and there exists the following error log which is > wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel > is also

[PATCH v4] perf tools: Check libasan and libubsan in Makefile.config

2020-06-17 Thread Tiezhu Yang
When build perf with ASan or UBSan, if libasan or libubsan can not find, the feature-glibc is 0 and there exists the following error log which is wrong, because we can find gnu/libc-version.h in /usr/include, glibc-devel is also installed. [yangtiezhu@linux perf]$ make DEBUG=1