<?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>2823</bug_id>
          
          <creation_ts>2012-07-24 09:38:45 +0000</creation_ts>
          <short_desc>perf failed on beagleboard &amp; atom-pc</short_desc>
          <delta_ts>2012-08-19 09:43:59 +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>OE-Core</product>
          <component>kernel</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>autobuilder</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23426</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-07-24 09:38:45 +0000</bug_when>
    <thetext>Autobuilder log: http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/536/steps/shell_47/logs/stdio


Build Configuration:
BB_VERSION        = &quot;1.15.3&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.2+snapshot-20120724&quot;
TUNE_FEATURES     = &quot;armv7a vfp neon cortexa8&quot;
TARGET_FPU        = &quot;vfp-neon&quot;
meta              
meta-yocto        = &quot;stage/master_under_test:ae9c495a6fe6bff1c720ce4d0742c05ee36c2f1a&quot;
meta-qt3          = &quot;master:f8475d5c5935695d4d1dfff1d7be30f49e162094&quot;


| builtin-sched.c: In function &apos;get_cpu_usage_nsec_parent&apos;:
| builtin-sched.c:396:16: error: storage size of &apos;ru&apos; isn&apos;t known
| builtin-sched.c:400:2: error: implicit declaration of function &apos;getrusage&apos; [-Werror=implicit-function-declaration]
| builtin-sched.c:400:2: error: nested extern declaration of &apos;getrusage&apos; [-Werror=nested-externs]
| builtin-sched.c:400:18: error: &apos;RUSAGE_SELF&apos; undeclared (first use in this function)
| builtin-sched.c:400:18: note: each undeclared identifier is reported only once for each function it appears in
| builtin-sched.c:396:16: error: unused variable &apos;ru&apos; [-Werror=unused-variable]
|     CC /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/beagleboard-poky-linux-gnueabi/perf-3.4-r4/perf-3.4/builtin-script.o
| cc1: all warnings being treated as errors
| make: *** [/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/beagleboard-poky-linux-gnueabi/perf-3.4-r4/perf-3.4/builtin-sched.o] Error 1
| make: *** Waiting for unfinished jobs....
| make: Leaving directory `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/sysroots/beagleboard/usr/src/kernel/tools/perf&apos;
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/beagleboard-poky-linux-gnueabi/perf-3.4-r4/temp/log.do_compile.5368 for further information)
NOTE: package perf-3.4-r4: task do_compile: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23431</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-07-24 10:15:39 +0000</bug_when>
    <thetext>fails for atom-pc also:
http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/598/steps/shell_47/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23441</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-24 14:04:09 +0000</bug_when>
    <thetext>Failed for all HW BSPs, just to be clear this is master_under_test with eglibc 2.16.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23685</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-08-01 05:01:45 +0000</bug_when>
    <thetext>I&apos;m not able to reproduce this on my system (ubuntu 11.10) for either case.

I suspect it can be fixed by adding the following commit to the 3.0 kernel, which is what the failing meta-yocto BSPs are using (this commit is already present in the 3.4 kernel, so I&apos;d suspect that the mpc8315e-rdb isn&apos;t failing with this where the others are).

commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b
Author: Markus Trippelsdorf &lt;markus@trippelsdorf.de&gt;
Date:   Wed Apr 4 10:45:27 2012 +0200

    perf tools: Fix getrusage() related build failure on glibc trunk
    
    On a system running glibc trunk perf doesn&apos;t build:
    
        CC builtin-sched.o
    builtin-sched.c: In function ‘get_cpu_usage_nsec_parent’: builtin-sched.c:39
        [...]
    
    Fix it by including sys/resource.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23794</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-08-03 18:39:53 +0000</bug_when>
    <thetext>Since I&apos;m not able to reproduce this locally, please apply the top commit of the following linux-yocto-3.0 branch to the yocto/standard/beagleboard branch of your linux-yocto-3.0 kernel and rebuild your master-under-test to see if this fixes the problem:

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-2.6.37-contrib/log/?h=tzanussi/perf-mut-test/linux-yocto-3.0/yocto/standard/beagleboard

If it does, I&apos;ll submit a couple kernel patches to Bruce to add this patch to the 3.0 and 3.2 base branches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23809</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-08-06 05:23:26 +0000</bug_when>
    <thetext>I tried to reproduce this with the latest master, and I am also not able to reproduce the issue. I think we can close the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23813</commentid>
    <comment_count>6</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-08-06 05:45:55 +0000</bug_when>
    <thetext>Note that this bug was filed for the &apos;master_under_test&apos; branch:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=stage/master_under_test

The problem doesn&apos;t exist under master - apparently the eglibc 2.16 upgrade in mut causes the problem, though I wasn&apos;t able to reproduce it with mut either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24185</commentid>
    <comment_count>7</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-08-19 09:43:59 +0000</bug_when>
    <thetext>Verified
Could not reproduce it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>