From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758925AbbFBO3D (ORCPT ); Tue, 2 Jun 2015 10:29:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41349 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753607AbbFBO25 (ORCPT ); Tue, 2 Jun 2015 10:28:57 -0400 Message-ID: <556DBDA5.2000209@redhat.com> Date: Tue, 02 Jun 2015 16:28:53 +0200 From: than User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: linux-kernel@vger.kernel.org CC: benh@kernel.crashing.org, mpe@ellerman.id.au, =?UTF-8?B?RGFuIEhvcsOhaw==?= Subject: no 32-bit support on LE powerpc64le Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello all, we have a problem to build kernel-4.0 on ppc64le. The real problem is that there's no 32 bit code generator support in gcc on the ppc64le. So the option NO_PERF_READ_VDSO32 should be set to 1 on ppc64le. I have create a patch which fixes the issue for me. diff -Nur linux-4.0/tools/perf/config/Makefile.than linux-4.0/tools/perf/config/Makefile --- linux-4.0/tools/perf/config/Makefile.than 2015-06-02 11:58:17.525763988 +0200 +++ linux-4.0/tools/perf/config/Makefile 2015-06-02 12:31:04.898865043 +0200 @@ -642,6 +642,9 @@ CFLAGS += -DHAVE_KVM_STAT_SUPPORT endif +ifeq ($(ARCH),ppc64le) + NO_PERF_READ_VDSO32 := 1 +endif ifeq (${IS_64_BIT}, 1) ifndef NO_PERF_READ_VDSO32 $(call feature_check,compile-32) For more infos please take a look at https://bugzilla.redhat.com/show_bug.cgi?id=1227260 Thanks, Best Regards, Than