lttng-module build fails for t4240qds . the issue only happened on e6500 core . poky : commit ea92671d9823e3667d6ced7ac2af20f991da404d meta-fsl-ppc :commit 768c6ef13546e0f977847bc1fbb5957571fbf724 Build Configuration: BB_VERSION = "1.21.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Fedora-13" TARGET_SYS = "powerpc-poky-linux" MACHINE = "t4240qds" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20131114" TUNE_FEATURES = "m32 fpu-hard e6500 altivec" TARGET_FPU = "hard" meta meta-yocto = "master:ea92671d9823e3667d6ced7ac2af20f991da404d" meta-fsl-ppc = "master:768c6ef13546e0f977847bc1fbb5957571fbf724" meta-yocto-bsp = "master:ea92671d9823e3667d6ced7ac2af20f991da404d" meta-oe = "master:20f352810d46daea9a20989b77f347fb8564ebf0" the following error log: $<50>ERROR: Function failed: do_make_scripts (log file is located at /local/home/b19537/gcr/opensource/poky/build/tmp/work/t4240qds-poky-linux/lttng-modules/2.3.0+gitAUTOINC+78c8710bb8-r0/temp/log.do_make_scripts.27392) $<50>ERROR: Logfile of failure stored in: /local/home/b19537/gcr/opensource/poky/build/tmp/work/t4240qds-poky-linux/lttng-modules/2.3.0+gitAUTOINC+78c8710bb8-r0/temp/log.do_make_scripts.27392 Log data follows: | DEBUG: Executing shell function do_make_scripts | make: Entering directory `/local/home/b19537/gcr/opensource/poky/build/tmp/sysroots/t4240qds/usr/src/kernel' | CC scripts/mod/empty.o | scripts/mod/empty.c:1:0: error: -mcmodel not supported in this configuration | /* empty file to figure out endianness / word size */ | ^ | make[2]: *** [scripts/mod/empty.o] Error 1 | make[1]: *** [scripts/mod] Error 2 | make: *** [scripts] Error 2 | make: Leaving directory `/local/home/b19537/gcr/opensource/poky/build/tmp/sysroots/t4240qds/usr/src/kernel' | WARNING: /local/home/b19537/gcr/opensource/poky/build/tmp/work/t4240qds-poky-linux/lttng-modules/2.3.0+gitAUTOINC+78c8710bb8-r0/temp/run.do_make_scripts.27392:1 exit 2 from | make CC="powerpc-poky-linux-gcc " LD="powerpc-poky-linux-ld.bfd " AR="powerpc-poky-linux-ar " -C /local/home/b19537/gcr/opensource/poky/build/tmp/sysroots/t4240qds/usr/src/kernel scripts | ERROR: Function failed: do_make_scripts (log file is located at /local/home/b19537/gcr/opensource/poky/build/tmp/work/t4240qds-poky-linux/lttng-modules/2.3.0+gitAUTOINC+78c8710bb8-r0/temp/log.do_make_scripts.27392) $<50>ERROR: Task 6 (/local/home/b19537/gcr/opensource/poky/meta/recipes-kernel/lttng/lttng-modules_git.bb, do_make_scripts) failed with exit code '1' $<50>NOTE: Tasks Summary: Attempted 602 tasks of which 533 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish:
Hy everybody I have the same error, on a x64 Ubuntu 12.10 host for a beaglebone new target. Mihai M
the issue is fixed in http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/?id=035687a8e3a9a9d1576b33142f3c5817ef1161c0
This is verified with 005af45191ded6185c618c708181b31281e43092. Cheers, Ionut C