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

From: Aaro Koskinen
Date: Thu Feb 19 2015 - 05:57:12 EST


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

The same error happens also with ARCH=i386. So I think both cases
should be fixed.

A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/