[poky] Problem in linux-yocto kernel 2.6.37 configuration while building with sugarbay machine
Bruce Ashfield
bruce.ashfield at gmail.com
Thu Mar 31 05:37:32 PDT 2011
On Thu, Mar 31, 2011 at 6:28 AM, v sailaja <vsailub4u at gmail.com> wrote:
> Hi,
>
> I am trying to build linux-yocto kernel 2.6.37 using the 'sugarbay'
> machine.I am getting the following an error.
> Error Log:
What layers do you have in the build ? This just looks like
an invalid configuration.
Can you put the generated .config somewhere that I can
have a look ?
Cheers,
Bruce
>
>
> ----------------------------------------------------------------------------------------******************************************************************----------------------------------------
>
> NOTE: Running task 959 of 1998 (ID: 856,
> /home/sailaja/new-poky/poky/meta/recipes-kernel/linux/linux-yocto_git.bb,
> do_kernel_configcheck)
> NOTE: package
> linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
> task do_kernel_configcheck: Started
> NOTE: validating kernel configuration
> The following Kconfig files no longer exist in this tree:
> drivers/ieee1394/Kconfig
> drivers/media/video/zc0301/Kconfig
>
> This BSP sets 1 invalid/obsolete kernel options.
> These config options are not offered anywhere within this kernel.
> The full list can be found in your workspace at:
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/invalid.cfg
>
> This BSP sets 24 kernel options that are possibly non-hardware related.
> The full list can be found in your workspace at:
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/specified_non_hdw.cfg
>
> WARNING: There were 103 hardware options requested that do not
> have a corresponding value present in the final ".config" file.
> This probably means you aren't getting the config you wanted.
> The full list can be found in your workspace at:
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/mismatch.cfg
>
> Waiting a second to make sure you get a chance to see this...
> NOTE: package
> linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
> task do_kernel_configcheck: Succeeded
> NOTE: Running task 960 of 1998 (ID: 857,
> /home/sailaja/new-poky/poky/meta/recipes-kernel/linux/linux-yocto_git.bb,
> do_compile)
> NOTE: package
> linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
> task do_compile: Started
> ERROR:
> '/home/sailaja/new-poky/poky/meta/recipes-kernel/linux/linux-yocto_git.bb'
> failed
> ERROR: Function 'do_compile' failed (see
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/temp/log.do_compile.23825
> for further information)
> ERROR: Logfile of failure stored in:
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/temp/log.do_compile.23825
> Log data follows:
> | NOTE: make -j 6 include/linux/version.h CC=i586-poky-linux-gcc
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> LD=i586-poky-linux-ld
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> | make -C
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux
> O=/home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux-sugarbay-standard-build/.
> include/linux/version.h
> | CHK include/linux/version.h
> | UPD include/linux/version.h
> | NOTE: make -j 6 dep CC=i586-poky-linux-gcc
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> LD=i586-poky-linux-ld
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> | make -C
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux
> O=/home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux-sugarbay-standard-build/.
> dep
> | GEN
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux-sugarbay-standard-build/Makefile
> | scripts/kconfig/conf --silentoldconfig Kconfig
> | *** Warning: make dep is unnecessary now.
> | NOTE: make -j 6 bzImage CC=i586-poky-linux-gcc
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> LD=i586-poky-linux-ld
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> --sysroot=/home/sailaja/new-poky/x86_64/poky/build/tmp/sysroots/sugarbay
> | make -C
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux
> O=/home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux-sugarbay-standard-build/.
> bzImage
> | GEN
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux-sugarbay-standard-build/Makefile
> | CHK include/linux/version.h
> | HOSTCC scripts/kallsyms
> | HOSTCC scripts/conmakehash
> | HOSTCC scripts/bin2c
> | HOSTCC scripts/recordmcount
> | CC scripts/mod/empty.o
> |
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/scripts/mod/empty.c:1:0:
> error: code model 'kernel' not supported in the 32 bit mode
> |
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/scripts/mod/empty.c:1:0:
> sorry, unimplemented: 64-bit mode not compiled in
> | make[4]: *** [scripts/mod/empty.o] Error 1
> | make[3]: *** [scripts/mod] Error 2
> | make[3]: *** Waiting for unfinished jobs....
> | Using
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux
> as source for kernel
> | CHK include/generated/utsrelease.h
> | UPD include/generated/utsrelease.h
> | CC kernel/bounds.s
> |
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/kernel/bounds.c:1:0:
> error: code model 'kernel' not supported in the 32 bit mode
> |
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/kernel/bounds.c:1:0:
> sorry, unimplemented: 64-bit mode not compiled in
> | make[3]: *** [kernel/bounds.s] Error 1
> | make[2]: *** [prepare0] Error 2
> | make[2]: *** Waiting for unfinished jobs....
> | make[2]: *** [scripts] Error 2
> | make[1]: *** [sub-make] Error 2
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> | ERROR: Function 'do_compile' failed (see
> /home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/temp/log.do_compile.23825
> for further information)
> NOTE: package
> linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
> task do_compile: Failed
>
>
> ----------------------------------------------------------------------****************************************************----------------------------------------------------------
>
> TARGET_CC_ARCH = "-m64"
>
> I tried with both 32 and 64 bit. For both, I am getting the same error.
>
> I am using the ubuntu 10.4 on 64bit machine.
>
> Please Any one help me in finding the solution.
>
>
>
>
> --
> Thanks & Regards,
> SAI
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the poky
mailing list