[meta-ti] build error on machine omap4330-panda

jfabernathy jfabernathy at gmail.com
Thu Feb 9 04:37:42 PST 2012


While trying to build core-image-sato for machine= omap4430-panda, I'm 
getting a build error a good ways into the build.  My bblayers.conf file 
just adds meta-ti and my local.conf is standard with the following key 
lines:

MACHINE ??= "omap4430-panda"
BBMASK = ".*/meta-ti/recipes-misc/"

The error I'm getting with bitbake -D -v core-image-sato is below and 
I've attached the log.do_compile_perf file.

Anyone know the fix?  Not sure the all warings being treated as errors 
message.

JIm A


| make: Entering directory 
`/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf'
|     CC bench/sched-pipe.o
| bench/sched-pipe.c: In function 'bench_sched_pipe':
| bench/sched-pipe.c:58:6: error: variable 'ret' set but
|  not used [-Werror=unused-but-set-variable]
| cc1: all warnings being treated as errors
|
| make: *** [bench/sched-pipe.o] Error 1
| make: Leaving directory 
`/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf'
| + die 'oe_runmake failed'
| + bbfatal 'oe_runmake failed'
| + echo 'ERROR: oe_runmake failed'
| ERROR: oe_runmake failed
| + exit 1
|
| t libdir=/usr/lib
| + libdir=/usr/lib
| + export 'F77=arm-poky-linux-gnueabi-g77  -march=armv7-a 
-fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon 
-mtune=cortex-a8 --sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda'
| + F77='arm-poky-linux-gnueabi-g77  -march=armv7-a 
-fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon 
-mtune=cortex-a8 --sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda'
| + export BUILD_CXX=g++
| + BUILD_CXX=g++
| + export mandir=/usr/share/man
| + mandir=/usr/share/man
| + export QTDIR=/build/pandaboard/tmp/sysroots/omap4430-panda/qt2
| + QTDIR=/build/pandaboard/tmp/sysroots/omap4430-panda/qt2
| + unset TARGET_ARCH
| + export 
CCACHE_DIR=/build/pandaboard/tmp/ccache/omap4430_panda-poky-linux-gnueabi/linux-omap4
| + 
CCACHE_DIR=/build/pandaboard/tmp/ccache/omap4430_panda-poky-linux-gnueabi/linux-omap4
| + export BUILD_RANLIB=ranlib
| + BUILD_RANLIB=ranlib
| + export palmqtdir=/usr/lib/opie
| + palmqtdir=/usr/lib/opie
| + export base_sbindir=/sbin
| + base_sbindir=/sbin
| + export 
BUILD_CPPFLAGS=-isystem/build/pandaboard/tmp/sysroots/x86_64-linux/usr/include
| + 
BUILD_CPPFLAGS=-isystem/build/pandaboard/tmp/sysroots/x86_64-linux/usr/include
| + export 'TARGET_CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types'
| + TARGET_CFLAGS='-O2 -pipe -g -feliminate-unused-debug-types'
| + export OBJDUMP=arm-poky-linux-gnueabi-objdump
| + OBJDUMP=arm-poky-linux-gnueabi-objdump
| + unset DISTRO
| + export docdir=/usr/share/doc
| + docdir=/usr/share/doc
| + export SHELL=/bin/bash
| + SHELL=/bin/bash
| + cd 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git
| + do_compile_perf
| + '[' yes = yes ']'
| + oe_runmake -C 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf 
'CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda' 
'LD=arm-poky-linux-gnueabi-ld 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda ' prefix=/usr 
NO_NEWT=1 NO_DWARF=1
| + '[' xmake = x ']'
| + bbnote make -j 1 -C 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf 
'CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda' 
'LD=arm-poky-linux-gnueabi-ld 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda ' prefix=/usr 
NO_NEWT=1 NO_DWARF=1
| + echo 'NOTE: make -j 1 -C 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf 
CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda 
LD=arm-poky-linux-gnueabi-ld 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda  prefix=/usr 
NO_NEWT=1 NO_DWARF=1'
| NOTE: make -j 1 -C 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf 
CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda 
LD=arm-poky-linux-gnueabi-ld 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda  prefix=/usr 
NO_NEWT=1 NO_DWARF=1
| + make -j 1 -C 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf 
'CC=arm-poky-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      
-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda' 
'LD=arm-poky-linux-gnueabi-ld 
--sysroot=/build/pandaboard/tmp/sysroots/omap4430-panda ' prefix=/usr 
NO_NEWT=1 NO_DWARF=1
| make: Entering directory 
`/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf'
|     CC bench/sched-pipe.o
| bench/sched-pipe.c: In function 'bench_sched_pipe':
| bench/sched-pipe.c:58:6: error: variable 'ret' set butERROR: Function 
failed: do_compile_perf (see 
/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/temp/log.do_compile_perf.31362 
for further information)
|  not used [-Werror=unused-but-set-variable]
| cc1: all warnings being treated as errors
|
| make: *** [bench/sched-pipe.o] Error 1
| make: Leaving directory 
`/build/pandaboard/tmp/work/omap4430_panda-poky-linux-gnueabi/linux-omap4-2.6.35.7-r0/git/tools/perf'
| + die 'oe_runmake failed'
| + bbfatal 'oe_runmake failed'
| + echo 'ERROR: oe_runmake failed'
| ERROR: oe_runmake failed
| + exit 1
NOTE: package linux-omap4-2.6.35.7-r0: task do_compile_perf: Failed
ERROR: Task 578 
(/home/jim/poky/meta-ti/recipes-kernel/linux/linux-omap4_2.6.35.7.bb, 
do_compile_perf) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2196 tasks of which 2195 didn't need to 
be rerun and 1 failed.

Summary: 1 task failed:
   /home/jim/poky/meta-ti/recipes-kernel/linux/linux-omap4_2.6.35.7.bb, 
do_compile_perf
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
jim at ubuntu-x64:/build/pandaboard$

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.do_compile_perf.31362
URL: <http://lists.yoctoproject.org/pipermail/meta-ti/attachments/20120209/02242524/attachment.ksh>


More information about the meta-ti mailing list