[lttng-dev] Arch arm cross-complie lttng-modules

Marko Vucak vucakmarko at gmail.com
Thu May 5 13:15:50 UTC 2016


Hi

When trying to cross-complie lttng-modules with Linux 3.14 ARCH ARM build
using this command:
make KERNELDIR=/home/muser/Projects/st-linux-mainline/

I get this errors:


In file included from include/linux/fs.h:8:0,
                 from include/linux/ftrace.h:18,
                 from include/linux/kprobes.h:42,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-events.h:28,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-tracer.h:40,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.c:24:
include/linux/dcache.h:163:1: error: requested alignment is not an integer
constant
 } ____cacheline_aligned;
 ^
In file included from include/linux/ftrace.h:18:0,
                 from include/linux/kprobes.h:42,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-events.h:28,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-tracer.h:40,
                 from
/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.c:24:
include/linux/fs.h:1588:1: error: requested alignment is not an integer
constant
 } ____cacheline_aligned;
 ^
make[2]: ***
[/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.o]
Error 1
make[1]: *** [_module_/home/muser/LTTngArch/lttng-modules-2.7.1] Error 2
make[1]: Leaving directory `/home/muser/Projects/st-linux-mainline'
make: *** [default] Error 2

Additional info:

Linux is 3.14 build with:
make ARCH=arm CROSS_COMPILE=arm-v5te-linux-gnueabi-

LTTng modules used are downloaded from here:
http://lttng.org/files/lttng-modules/lttng-modules-2.7.1.tar.bz2
I tried clone it from https://aur.archlinux.org/lttng-modules.git but
doesn't exists anymore.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160505/8ce45320/attachment.html>


More information about the lttng-dev mailing list