[OE-core] Perf fail on mips

Tom Zanussi tom.zanussi at intel.com
Sun Jul 15 22:28:47 UTC 2012


On Sun, 2012-07-15 at 23:19 +0300, Andrei Gherzan wrote:
> Any fast ideas on this? 

There was a recent fix added to the 3.0 kernel for this problem:

    cef17a1 perf: add sgidefs.h to for mips builds

The above should have been picked up as a result of this commit:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=89008d4fedb253184d9e651243cd98fe8c29d52f

Maybe updating your sources will fix it...

Tom

> qemu mips / core-image-sato-sdk / master
> 
> 
> CC /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/util/scripting-engines/trace-event-perl.o
> 
> CC /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/scripts/perl/Perf-Trace-Util/Context.o
> 
> CC /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/util/scripting-engines/trace-event-python.o
> In file included
> from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/Python.h:8:0,
>                  from util/scripting-engines/trace-event-python.c:22:
> /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyconfig.h:34:20: error: "_ABIN32" is not defined [-Werror=undef]
> In file included
> from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyport.h:4:0,
> 
>  from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/Python.h:58,
>                  from util/scripting-engines/trace-event-python.c:22:
> /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyconfig.h:34:20: error: "_ABIN32" is not defined [-Werror=undef]
> cc1: all warnings being treated as errors
> 
> CC /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/scripts/python/Perf-Trace-Util/Context.o
> make: ***
> [/home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/util/scripting-engines/trace-event-python.o] Error 1
> make: *** Waiting for unfinished jobs....
> In file included
> from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/Python.h:8:0,
>                  from scripts/python/Perf-Trace-Util/Context.c:22:
> /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyconfig.h:34:20: error: "_ABIN32" is not defined [-Werror=undef]
> In file included
> from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyport.h:4:0,
> 
>  from /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/Python.h:58,
>                  from scripts/python/Perf-Trace-Util/Context.c:22:
> /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/include/python2.7/pyconfig.h:34:20: error: "_ABIN32" is not defined [-Werror=undef]
> cc1: all warnings being treated as errors
> make: ***
> [/home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/perf-3.4/scripts/python/Perf-Trace-Util/Context.o] Error 1
> make: Leaving directory
> `/home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/sysroots/qemumips/usr/src/kernel/tools/perf'
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile
> (see /home/agherzan/work/personal/yocto/2012-07-13-qemumips/tmp/work/qemumips-poky-linux/perf-3.4-r1/temp/log.do_compile.6311 for further information)
> 
> 
> ag
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core






More information about the Openembedded-core mailing list