Thread (2 messages) 2 messages, 2 authors, 2011-08-04

recordmcount.pl fails the build for ppc machines

From: Ciprian Barbu <hidden>
Date: 2011-08-04 13:46:08

Hello,

I encountered a problem on a ppc machine when trying to build the
kernel modules for the LINX ipc framework. The output of make is:

% make
# ARCH=ppc
# KERNEL=/lib/modules/2.6.32-28-powerpc/build
# VERBOSE=no
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-28-powerpc'
  CC [M] /home/poly/tpjb/linx-2.5.0/net/linx/af_linx.o
Arch ppc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at
/usr/src/linux-hea
ders-2.6.32-28-powerpc/scripts/recordmcount.pl line 249.
make[2]: *** [/home/poly/tpjb/linx-2.5.0/net/linx/af_linx.o] Error 255
make[1]: *** [_module_/home/poly/tpjb/linx-2.5.0/net/linx] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-28-powerpc'
make: *** [modules] Error 2

As you can see the ARCH variable is set to ppc, but the
recordmcount.pl script only treats the case when "uname -m" return
powerpc.

When the script was modified to accept the "ppc" variant as well the
build was successful.

Regards,

Ciprian Barbu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help