Re: [PATCH v2] perf: fix building error in x86_64

2015-02-19 Thread Aaro Koskinen
Hi, On Fri, Feb 13, 2015 at 03:11:14PM +0800, He Kuang wrote: > When build with ARCH=x86_64, perf failed to compile with following error: > > tests/builtin-test.o:(.data+0x158): undefined reference to > `test__perf_time_to_tsc' [...] > +ifeq ($(ARCH), x86_64) > + override ARCH := x86 > +endif

[PATCH v2] perf: fix building error in x86_64

2015-02-12 Thread He Kuang
When build with ARCH=x86_64, perf failed to compile with following error: tests/builtin-test.o:(.data+0x158): undefined reference to `test__perf_time_to_tsc' collect2: error: ld returned 1 exit status Makefile.perf:632: recipe for target 'perf' failed ... Which is caused commit c6e5e9fbc3ea1 ("p