<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5526</bug_id>
          
          <creation_ts>2013-11-14 03:57:09 +0000</creation_ts>
          <short_desc>lttng-modules fails do_make_scripts.</short_desc>
          <delta_ts>2013-12-24 09:21:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-ppc</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chunrong Guo">b40290</reporter>
          <assigned_to name="Zhenhua Luo">zhenhua.luo</assigned_to>
          <cc>ionutx.chisanovici</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>mihai.miron</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38757</commentid>
    <comment_count>0</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-11-14 03:57:09 +0000</bug_when>
    <thetext>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        = &quot;1.21.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Fedora-13&quot;
TARGET_SYS        = &quot;powerpc-poky-linux&quot;
MACHINE           = &quot;t4240qds&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20131114&quot;
TUNE_FEATURES     = &quot;m32 fpu-hard e6500 altivec&quot;
TARGET_FPU        = &quot;hard&quot;
meta              
meta-yocto        = &quot;master:ea92671d9823e3667d6ced7ac2af20f991da404d&quot;
meta-fsl-ppc      = &quot;master:768c6ef13546e0f977847bc1fbb5957571fbf724&quot;
meta-yocto-bsp    = &quot;master:ea92671d9823e3667d6ced7ac2af20f991da404d&quot;
meta-oe           = &quot;master:20f352810d46daea9a20989b77f347fb8564ebf0&quot;

the following error log:

$&lt;50&gt;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)
$&lt;50&gt;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&apos;
|   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&apos;
| 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=&quot;powerpc-poky-linux-gcc &quot; LD=&quot;powerpc-poky-linux-ld.bfd &quot; AR=&quot;powerpc-poky-linux-ar &quot; -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)
$&lt;50&gt;ERROR: Task 6 (/local/home/b19537/gcr/opensource/poky/meta/recipes-kernel/lttng/lttng-modules_git.bb, do_make_scripts) failed with exit code &apos;1&apos;
$&lt;50&gt;NOTE: Tasks Summary: Attempted 602 tasks of which 533 didn&apos;t need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38854</commentid>
    <comment_count>1</comment_count>
    <who name="Mihai">mihai.miron</who>
    <bug_when>2013-11-18 12:28:27 +0000</bug_when>
    <thetext>Hy everybody

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

Mihai M</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39461</commentid>
    <comment_count>2</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-12-18 03:30:28 +0000</bug_when>
    <thetext>the issue is fixed in http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/?id=035687a8e3a9a9d1576b33142f3c5817ef1161c0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39583</commentid>
    <comment_count>3</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-12-24 09:21:01 +0000</bug_when>
    <thetext>This is verified with 005af45191ded6185c618c708181b31281e43092.

Cheers,
Ionut C</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>