<div dir="ltr"><div>Hi</div><div><br></div><div>When trying to cross-complie lttng-modules with Linux 3.14 ARCH ARM build using this command:</div><div>make KERNELDIR=/home/muser/Projects/st-linux-mainline/</div><div><br></div><div>I get this errors:</div><div><br></div><div><br></div><div>In file included from include/linux/fs.h:8:0,</div><div>                 from include/linux/ftrace.h:18,</div><div>                 from include/linux/kprobes.h:42,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-events.h:28,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-tracer.h:40,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.c:24:</div><div>include/linux/dcache.h:163:1: error: requested alignment is not an integer constant</div><div> } ____cacheline_aligned;</div><div> ^</div><div>In file included from include/linux/ftrace.h:18:0,</div><div>                 from include/linux/kprobes.h:42,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-events.h:28,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-tracer.h:40,</div><div>                 from /home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.c:24:</div><div>include/linux/fs.h:1588:1: error: requested alignment is not an integer constant</div><div> } ____cacheline_aligned;</div><div> ^</div><div>make[2]: *** [/home/muser/LTTngArch/lttng-modules-2.7.1/lttng-ring-buffer-client-discard.o] Error 1</div><div>make[1]: *** [_module_/home/muser/LTTngArch/lttng-modules-2.7.1] Error 2</div><div>make[1]: Leaving directory `/home/muser/Projects/st-linux-mainline'</div><div>make: *** [default] Error 2</div><div><br></div><div>Additional info:</div><div><br></div><div>Linux is 3.14 build with:</div><div>make ARCH=arm CROSS_COMPILE=arm-v5te-linux-gnueabi-</div><div><br></div><div>LTTng modules used are downloaded from here:</div><div><a href="http://lttng.org/files/lttng-modules/lttng-modules-2.7.1.tar.bz2">http://lttng.org/files/lttng-modules/lttng-modules-2.7.1.tar.bz2</a></div><div>I tried clone it from <a href="https://aur.archlinux.org/lttng-modules.git">https://aur.archlinux.org/lttng-modules.git</a> but doesn't exists anymore.</div><div><div class="gmail_signature"><div dir="ltr"><div style="font-size:12.8px"><br></div></div></div></div>
</div>