no 32-bit support on LE powerpc64le

From: than
Date: Tue Jun 02 2015 - 10:29:06 EST


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
--
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/