[oe] GCC Error

David Thomas david.thomas at microbee-systems.com
Mon Nov 14 22:29:49 UTC 2011


NOTE: package module-init-tools-3.16-r0: task do_install: Started
NOTE: package module-init-tools-3.16-r0: task do_install: Succeeded
NOTE: Running task 1147 of 1169 (ID: 241,
/home/twoods/setup-scripts/sources/openembedded-core/meta/recipes-kernel/module-init-tools/module-init-tools_3.16.bb,
do_populate_lic)
NOTE: package module-init-tools-3.16-r0: task do_populate_lic: Started
ERROR: Function 'do_compile' failed (see
/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/cm_t35-angstrom-linux-gnueabi/linux-hpveer-2.6.29+gitr1+29c1c6bb0a8feb6e6124dc0df2a22542ef45ef0d-r110/temp/log.do_compile.31094
for further information)
ERROR: Logfile of failure stored in:
/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/cm_t35-angstrom-linux-gnueabi/linux-hpveer-2.6.29+gitr1+29c1c6bb0a8feb6e6124dc0df2a22542ef45ef0d-r110/temp/log.do_compile.31094
Log data follows:
| + cd /home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/cm_t35-angstrom-linux-gnueabi/linux-hpveer-2.6.29+gitr1+29c1c6bb0a8feb6e6124dc0df2a22542ef45ef0d-r110/git/
| + do_compile
| + kernel_do_compile
| + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
| + oe_runmake include/linux/version.h
'CC=arm-angstrom-linux-gnueabi-gcc  -mno-thumb-interwork -mno-thumb
-Wno-error=unused-but-set-variable -Wno-error=array-bounds
-mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| + '[' xmake = x ']'
| + bbnote make -j2 include/linux/version.h
'CC=arm-angstrom-linux-gnueabi-gcc  -mno-thumb-interwork -mno-thumb
-Wno-error=unused-but-set-variable -Wno-error=array-bounds
-mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| + echo 'NOTE: make -j2 include/linux/version.h
CC=arm-angstrom-linux-gnueabi-gcc  -mno-thumb-interwork -mno-thumb
-Wno-error=unused-but-set-variable -Wno-error=array-bounds
-mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| NOTE: make -j2 include/linux/version.h
CC=arm-angstrom-linux-gnueabi-gcc  -mno-thumb-interwork -mno-thumb
-Wno-error=unused-but-set-variable -Wno-error=array-bounds
-mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
| + make -j2 include/linux/version.h
'CC=arm-angstrom-linux-gnueabi-gcc  -mno-thumb-interwork -mno-thumb
-Wno-error=unused-but-set-variable -Wno-error=array-bounds
-mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
|   CHK     include/linux/version.h
| + oe_runmake uImage 'CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -mno-thumb  -Wno-error=unused-but-set-variable
-Wno-error=array-bounds -mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| + '[' xmake = x ']'
| + bbnote make -j2 uImage 'CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -mno-thumb  -Wno-error=unused-but-set-variable
-Wno-error=array-bounds -mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| + echo 'NOTE: make -j2 uImage CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -mno-thumb  -Wno-error=unused-but-set-variable
-Wno-error=array-bounds -mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
| NOTE: make -j2 uImage CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -mno-thumb  -Wno-error=unused-but-set-variable
-Wno-error=array-bounds -mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35
| + make -j2 uImage 'CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -mno-thumb  -Wno-error=unused-but-set-variable
-Wno-error=array-bounds -mno-thumb-interwork -mno-thumb
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
'LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/cm-t35'
|   CHK     include/linux/version.h
|   SYMLINK include/asm -> include/asm-arm
| make[1]: `include/asm-arm/mach-types.h' is up to date.
|   CHK     include/linux/utsrelease.h
|   CC      scripts/mod/empty.o
| cc1: error: -Werror=unused-but-set-variable: No option
-Wunused-but-set-variable
| make[2]: *** [scripts/mod/empty.o] Error 1
| make[1]: *** [scripts/mod] Error 2
| make: *** [scripts] Error 2
| + die 'oe_runmake failed'
| + bbfatal 'oe_runmake failed'
| + echo 'ERROR: oe_runmake failed'
| ERROR: oe_runmake failed
| + exit 1
| ERROR: Function 'do_compile' failed (see
/home/twoods/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/cm_t35-angstrom-linux-gnueabi/linux-hpveer-2.6.29+gitr1+29c1c6bb0a8feb6e6124dc0df2a22542ef45ef0d-r110/temp/log.do_compile.31094
for further information)
NOTE: package linux-hpveer-2.6.29+gitr1+29c1c6bb0a8feb6e6124dc0df2a22542ef45ef0d-r110:
task do_compile: Failed
ERROR: Task 7 (/home/twoods/setup-scripts/sources/meta-smartphone/meta-palm/recipes-kernel/linux/linux-hpveer_git.bb,
do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:

On Mon, Nov 14, 2011 at 1:11 PM, David Thomas
<david.thomas at microbee-systems.com> wrote:
> cool, thanks
>
> On Mon, Nov 14, 2011 at 1:08 PM, McClintock Matthew-B29882
> <B29882 at freescale.com> wrote:
>> On Mon, Nov 14, 2011 at 1:06 PM, David Thomas
>> <david.thomas at microbee-systems.com> wrote:
>>> 1) Fixing the (potential) errors in the source code
>>>
>>> Since I pulled this from Angstrom are you saying there is a error in
>>> the sources I need to hunt down??
>>
>> It's a new build warning, it's something GCC is saying could be an
>> issue. It's probably not in Angstrom but rather in the source of a
>> package Angstrom is building.
>>
>> -M
>>
>




More information about the Openembedded-devel mailing list