* no 32-bit support on LE powerpc64le
@ 2015-06-02 14:28 than
0 siblings, 0 replies; only message in thread
From: than @ 2015-06-02 14:28 UTC (permalink / raw)
To: linux-kernel; +Cc: benh, mpe, Dan Horák
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-06-02 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02 14:28 no 32-bit support on LE powerpc64le than
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox