Bug 5526 - lttng-modules fails do_make_scripts.
Summary: lttng-modules fails do_make_scripts.
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-ppc (show other bugs)
Version: unspecified
Hardware: Other Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Zhenhua Luo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-11-14 03:57 UTC by Chunrong Guo
Modified: 2013-12-24 09:21 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chunrong Guo 2013-11-14 03:57:09 UTC
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:
Comment 1 Mihai 2013-11-18 12:28:27 UTC
Hy everybody

I have the same error, on a x64 Ubuntu 12.10 host for a beaglebone new target.

Mihai M
Comment 3 Ionut Chisanovici 2013-12-24 09:21:01 UTC
This is verified with 005af45191ded6185c618c708181b31281e43092.

Cheers,
Ionut C