Module make on ppc64le, fails with:
make -C /root/kernel/linux M=/root/.kpatch/tmp/patch kpatch-data-read-mostly.ko
make[1]: Entering directory '/root/kernel/linux'
CC [M] /root/.kpatch/tmp/patch/patch-hook.o
Arch ppc64le is not supported with CONFIG_FTRACE_MCOUNT_RECORD at ./scripts/recordmcount.pl line 379.
Fix it by adding 'ppc64le' to list of supported architectures
in recordmcount.pl script.
Signed-off-by: Kamalesh Babulal <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Balbir Singh <bsingharora@gmail.com>
---
scripts/recordmcount.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Tue, Jun 13, 2017 at 4:49 PM, Kamalesh Babulal <
kamalesh@linux.vnet.ibm.com> wrote:
quoted hunk
Module make on ppc64le, fails with:
make -C /root/kernel/linux M=/root/.kpatch/tmp/patch
kpatch-data-read-mostly.ko
make[1]: Entering directory '/root/kernel/linux'
CC [M] /root/.kpatch/tmp/patch/patch-hook.o
Arch ppc64le is not supported with CONFIG_FTRACE_MCOUNT_RECORD at
./scripts/recordmcount.pl line 379.
Fix it by adding 'ppc64le' to list of supported architectures
in recordmcount.pl script.
Signed-off-by: Kamalesh Babulal <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Balbir Singh <bsingharora@gmail.com>
---
scripts/recordmcount.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Wednesday 14 June 2017 04:22 AM, Balbir Singh wrote:
On Tue, Jun 13, 2017 at 4:49 PM, Kamalesh Babulal <
kamalesh@linux.vnet.ibm.com> wrote:
quoted
Module make on ppc64le, fails with:
make -C /root/kernel/linux M=/root/.kpatch/tmp/patch
kpatch-data-read-mostly.ko
make[1]: Entering directory '/root/kernel/linux'
CC [M] /root/.kpatch/tmp/patch/patch-hook.o
Arch ppc64le is not supported with CONFIG_FTRACE_MCOUNT_RECORD at
./scripts/recordmcount.pl line 379.
Fix it by adding 'ppc64le' to list of supported architectures
in recordmcount.pl script.
Signed-off-by: Kamalesh Babulal <redacted>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Balbir Singh <bsingharora@gmail.com>
---
scripts/recordmcount.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
I don't get this, the arch should always be powerpc. Where did you get the
ppc64le
from? Am I missing anything?
Balbir Singh.
Thanks for the review. True, the top level Makefile derives the ARCH
from SUBARCH where ppc64le is replaced by powerpc. Out of tree module
build fails, where the ARCH gets overruled to underlying arch type.
--
cheers,
Kamalesh.
On Wednesday 14 June 2017 10:23 AM, Michael Ellerman wrote:
quoted
I don't get this, the arch should always be powerpc.
Right. Something else is fubar for that to happen, we should fix
whatever it is.
Agree, ARCH over-ruling by reading the underlying architecture will
not work, as the expectation is to have ARCH=powerpc for all of the
powerpc platform. Sorry for the noise, kindly ignore this patch.
--
cheers,
Kamalesh.