Autobuilder log: http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/536/steps/shell_47/logs/stdio Build Configuration: BB_VERSION = "1.15.3" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "beagleboard" DISTRO = "poky" DISTRO_VERSION = "1.2+snapshot-20120724" TUNE_FEATURES = "armv7a vfp neon cortexa8" TARGET_FPU = "vfp-neon" meta meta-yocto = "stage/master_under_test:ae9c495a6fe6bff1c720ce4d0742c05ee36c2f1a" meta-qt3 = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094" | builtin-sched.c: In function 'get_cpu_usage_nsec_parent': | builtin-sched.c:396:16: error: storage size of 'ru' isn't known | builtin-sched.c:400:2: error: implicit declaration of function 'getrusage' [-Werror=implicit-function-declaration] | builtin-sched.c:400:2: error: nested extern declaration of 'getrusage' [-Werror=nested-externs] | builtin-sched.c:400:18: error: 'RUSAGE_SELF' 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 'ru' [-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' | 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
fails for atom-pc also: http://autobuilder.yoctoproject.org:8010/builders/nightly-x86/builds/598/steps/shell_47/logs/stdio
Failed for all HW BSPs, just to be clear this is master_under_test with eglibc 2.16.
I'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'd suspect that the mpc8315e-rdb isn't failing with this where the others are). commit 7b78f13603c6fcb64e020a0bbe31a651ea2b657b Author: Markus Trippelsdorf <markus@trippelsdorf.de> 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'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.
Since I'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'll submit a couple kernel patches to Bruce to add this patch to the 3.0 and 3.2 base branches.
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.
Note that this bug was filed for the 'master_under_test' branch: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=stage/master_under_test The problem doesn't exist under master - apparently the eglibc 2.16 upgrade in mut causes the problem, though I wasn't able to reproduce it with mut either.
Verified Could not reproduce it.