Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-16 Thread Tiezhu Yang
On 06/17/2020 03:39 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 15, 2020 at 10:20:10AM +0800, Tiezhu Yang escreveu: On 06/03/2020 07:32 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: When build perf with ASan or UBSan, if libasan or

Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-16 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 15, 2020 at 10:20:10AM +0800, Tiezhu Yang escreveu: > On 06/03/2020 07:32 PM, Arnaldo Carvalho de Melo wrote: > > Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: > > > When build perf with ASan or UBSan, if libasan or libubsan can not find, > > > the feature-glibc is 0

Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-14 Thread Tiezhu Yang
On 06/03/2020 07:32 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: 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

Re: [PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-03 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 03, 2020 at 02:10:04PM +0800, Tiezhu Yang escreveu: > 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

[PATCH v2] tools build: Check libasan and libubsan in Makefile.feature

2020-06-03 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