[yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-11-04 Thread Uwe Geuder
On Thu, Oct 18, 2018 at 11:03 AM Dhanush K.S dhanush.ks-at-gmail.com wrote:
>
> Hello Yocto,
>
> I'm currently building an image with the busybox_1.23.2.bb recipe
> included, using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is
> running on a CentOS host building images for the target ARM
> cortexa8. This busybox recipe is placed in another custom
> layer. Though this recipe compiles without errors in Poky-Fido, in
> Poky-Sumo I get compilation errors due to missing header files. I have
> pasted a part of the log.do.compile file with the error.

Well, Fido sounds very old, long before I started to use Yocto :) It was
probably before recipe-specific sysroots so a lot has changed.  On the
other hand byteswap.h, which it complains about, comes from glibc and
that you should have.  Maybe it's complicated in your case by a platform
specific implmentation I don't happen to have here right now.

Do you have a reason to build such an old busybox recipe? I get version
1.27.2 from meta (i.e. oe-core) and it builds.

Also your bitbake 1.37.0 indicates that you are not running the latest
Sumo 2.5.1 which has bitbake 1.38.0. Although I don't really expect that
it would solve your issue here, updating to 2.5.1 should be painless if
you are on 2.5 already.

Uwe Geuder
Neuro Event Labs Oy
Tampere, Finland
uwe.gexder at neuroeventlabs.com (Bot check: fix one obvious typo)
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-23 Thread Andre McCurdy
On Tue, Oct 23, 2018 at 2:58 AM, Dhanush K.S  wrote:
> Hello Yocto,
>
> I'm currently building an image with the busybox_1.23.2.bb recipe included,
> using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is running on a
> CentOS host building images for the target ARM cortexa8. This busybox recipe
> is placed in another custom layer. Though this recipe compiles without
> errors in Poky-Fido, in Poky-Sumo I get compilation errors due to missing
> header files. Please take a look at the link below for the log.do_compile
> output.
>
> https://pastebin.com/yYXJnC2e

From the log of the failing command, the cross compiler is being
called without a --sysroot option, which usually means the CC value
set by the build environment is being ignored or over-ridden.

I guess your custom busybox recipe is missing the following update:

  
http://git.openembedded.org/openembedded-core/commit/?id=b7c265e1edd5c82126c1f3915ba5ca9efef57c00

Which is required in order to work correctly with versions of OE
containing the following change:

  
http://git.openembedded.org/openembedded-core/commit/?id=aeb653861a0ec39ea7a014c0622980edcbf653fa

> Both limits.h and byteswap.h don't exist in Poky-Fido as well, but compiles
> without problems, unlike on Sumo. Does this have to do with the wrong
> Toolchains used or due to glibc (FYI: glibc_2.27 is been used)? If it has to
> do with the Toolchains, which one should I be using and how do I go about
> it? Could someone please point me in the right direction?

Generally you should not expect a third party layer originally created
for fido to "just work" with sumo.

Perhaps ask whoever maintains your custom layers and recipes whether
they have a version which has been tested with sumo.

> Here is the Build Config:
>
> Build Configuration:
> BB_VERSION   = "1.37.0"
> BUILD_SYS= "x86_64-linux"
> NATIVELSBSTRING  = "universal-4.8"
> TARGET_SYS   = "arm-poky-linux-gnueabi"
> MACHINE  = "arm-cortex-a8"
> DISTRO   = "poky"
> DISTRO_VERSION   = "2.5"
> TUNE_FEATURES= "arm armv7a vfp neon callconvention-hard cortexa8"
> TARGET_FPU   = "hard"
> meta-networking
> meta-python  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
> meta-userbsp-ti
> meta
> meta-poky
> meta-yocto-bsp
> meta-user-common  = ":"
> meta-oe  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
> workspace= ":"
>
> Thanks in advance!
> Regards,
> Mit freundlichen Grüßen / Best Regards,
> Dhanush
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-23 Thread Dhanush K.S
Hello Yocto,

I'm currently building an image with the busybox_1.23.2.bb recipe included,
using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is running on a
CentOS host building images for the target ARM cortexa8. This busybox
recipe is placed in another custom layer. Though this recipe compiles
without errors in Poky-Fido, in Poky-Sumo I get compilation errors due to
missing header files. Please take a look at the link below for the
log.do_compile output.

https://pastebin.com/yYXJnC2e

Both limits.h and byteswap.h don't exist in Poky-Fido as well, but compiles
without problems, unlike on Sumo. Does this have to do with the wrong
Toolchains used or due to glibc (FYI: glibc_2.27 is been used)? If it has
to do with the Toolchains, which one should I be using and how do I go
about it? Could someone please point me in the right direction?

Here is the Build Config:

Build Configuration:
BB_VERSION   = "1.37.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal-4.8"
TARGET_SYS   = "arm-poky-linux-gnueabi"
MACHINE  = "arm-cortex-a8"
DISTRO   = "poky"
DISTRO_VERSION   = "2.5"
TUNE_FEATURES= "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU   = "hard"
meta-networking
meta-python  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
meta-userbsp-ti
meta
meta-poky
meta-yocto-bsp
meta-user-common  = ":"
meta-oe  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
workspace= ":"

Thanks in advance!
Regards,
Mit freundlichen Grüßen / Best Regards,
Dhanush
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-19 Thread Dhanush K.S
Hello Yocto,

I'm currently building an image with the busybox_1.23.2.bb recipe included,
using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is running on a
CentOS host building images for the target ARM cortexa8. This busybox
recipe is placed in another custom layer. Though this recipe compiles
without errors in Poky-Fido, in Poky-Sumo I get compilation errors due to
missing header files. I have pasted a part of the log.do.compile file with
the error.

*# merged configuration written to .config (needs make)*
*#*
*NOTE: make -j 2 LD=arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon
-mfloat-abi=hard -mcpu=cortex-a8
--sysroot=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot
V=1 ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- SKIP_STRIP=y
busybox_unstripped*
*rm -f .kernelrelease*
*echo 1.23.2 > .kernelrelease*
*/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2*
*make -f
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/Makefile
silentoldconfig*
*make -f scripts/Makefile.build obj=scripts/basic*
*/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2*
*mkdir -p include*
*make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig*
*scripts/kconfig/conf -s Config.in*
*#*
*# using defaults found in .config*
*#*
*make -C
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
KBUILD_SRC= .kernelrelease*
*rm -f .kernelrelease*
*echo 1.23.2 > .kernelrelease*
*make -f scripts/Makefile.build obj=scripts/basic*
*make -f scripts/Makefile.build obj=applets*
*  scripts/basic/split-include include/autoconf.h include/config*
*  gcc -Wp,-MD,applets/.usage.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage
applets/usage.c  *
*  gcc -Wp,-MD,applets/.applet_tables.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer   -o applets/applet_tables
applets/applet_tables.c  *
*
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/mkconfigs
include/bbconfigopts.h include/bbconfigopts_bz2.h*
*make -f scripts/Makefile.build obj=scripts*
*  applets/usage_compressed include/usage_compressed.h applets*
*  applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h*
*  gcc -Wp,-MD,applets/.usage_pod.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage_pod
applets/usage_pod.c  *
*  arm-poky-linux-gnueabi-gcc -Wp,-MD,applets/.applets.o.d   -std=gnu99
-Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D"BB_VER=KBUILD_STR(1.23.2)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow
-Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter
-Wunused-function -Wunused-value -Wmissing-prototypes
-Wmissing-declarations -Wno-format-security -Wdeclaration-after-statement
-Wold-style-definition -fno-builtin-strlen -finline-limit=0
-fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1
-fno-unwind-tables -fno-asynchronous-unwind-tables -Os -O2 -pipe -g
-feliminate-unused-debug-types
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0=/usr/src/debug/busybox/1.23.2-r0
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot=
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot-native=
-mtune=cortex-a8  -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/wo

Re: [yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-19 Thread Dhanush K.S
Thanks for the the tip Raj. Here is the Build Config.

Build Configuration:
BB_VERSION   = "1.37.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "universal-4.8"
TARGET_SYS   = "arm-poky-linux-gnueabi"
MACHINE  = "arm-cortex-a8"
DISTRO   = "poky"
DISTRO_VERSION   = "2.5"
TUNE_FEATURES= "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU   = "hard"
meta-networking
meta-python  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
meta-userbsp-ti
meta
meta-poky
meta-yocto-bsp
meta-user-common  = ":"
meta-oe  = "master:45ee3c0e98bd3ed81419aaeae1e7324e486161a2"
workspace= ":"

Thanks!

Mit freundlichen Grüßen / Best Regards,
Dhanush


On Thu, 18 Oct 2018 at 17:49, Khem Raj  wrote:

> Always send the Build Configuration that bitbake prints on top of
> build. So someone can get some additional information about your build
> to help you better.
> On Thu, Oct 18, 2018 at 1:03 AM Dhanush K.S  wrote:
> >
> > Hello Yocto,
> >
> > I'm currently building an image with the busybox_1.23.2.bb recipe
> included, using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is
> running on a CentOS host building images for the target ARM cortexa8. This
> busybox recipe is placed in another custom layer. Though this recipe
> compiles without errors in Poky-Fido, in Poky-Sumo I get compilation errors
> due to missing header files. I have pasted a part of the log.do.compile
> file with the error.
> >
> > # merged configuration written to .config (needs make)
> > #
> > NOTE: make -j 2 LD=arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon
> -mfloat-abi=hard -mcpu=cortex-a8
> --sysroot=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot
> V=1 ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- SKIP_STRIP=y
> busybox_unstripped
> > rm -f .kernelrelease
> > echo 1.23.2 > .kernelrelease
> >
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> > make -f
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/Makefile
> silentoldconfig
> > make -f scripts/Makefile.build obj=scripts/basic
> >
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> > mkdir -p include
> > make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig
> > scripts/kconfig/conf -s Config.in
> > #
> > # using defaults found in .config
> > #
> > make -C
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> KBUILD_SRC= .kernelrelease
> > rm -f .kernelrelease
> > echo 1.23.2 > .kernelrelease
> > make -f scripts/Makefile.build obj=scripts/basic
> > make -f scripts/Makefile.build obj=applets
> >   scripts/basic/split-include include/autoconf.h include/config
> >   gcc -Wp,-MD,applets/.usage.d  -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage
> applets/usage.c
> >   gcc -Wp,-MD,applets/.applet_tables.d  -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer   -o applets/applet_tables applets/applet_tables.c
> >
>  
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/mkconfigs
> include/bbconfigopts.h include/bbconfigopts_bz2.h
> > make -f scripts/Makefile.build obj=scripts
> >   applets/usage_compressed include/usage_compressed.h applets
> >   applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h
> >   gcc -Wp,-MD,applets/.usage_pod.d  -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage_pod
> applets/usage_pod.c
> >   arm-poky-linux-gnueabi-gcc -Wp,-MD,applets/.applets.o.d   -std=gnu99
> -Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -D"BB_VER=KBUILD_STR(1.23.2)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow
> -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused

Re: [yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-18 Thread Khem Raj
Always send the Build Configuration that bitbake prints on top of
build. So someone can get some additional information about your build
to help you better.
On Thu, Oct 18, 2018 at 1:03 AM Dhanush K.S  wrote:
>
> Hello Yocto,
>
> I'm currently building an image with the busybox_1.23.2.bb recipe included, 
> using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is running on a 
> CentOS host building images for the target ARM cortexa8. This busybox recipe 
> is placed in another custom layer. Though this recipe compiles without errors 
> in Poky-Fido, in Poky-Sumo I get compilation errors due to missing header 
> files. I have pasted a part of the log.do.compile file with the error.
>
> # merged configuration written to .config (needs make)
> #
> NOTE: make -j 2 LD=arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon 
> -mfloat-abi=hard -mcpu=cortex-a8 
> --sysroot=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot
>  V=1 ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- SKIP_STRIP=y 
> busybox_unstripped
> rm -f .kernelrelease
> echo 1.23.2 > .kernelrelease
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
>  
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
>  
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> make -f 
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/Makefile
>  silentoldconfig
> make -f scripts/Makefile.build obj=scripts/basic
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
>  
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
>  
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
> mkdir -p include
> make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig
> scripts/kconfig/conf -s Config.in
> #
> # using defaults found in .config
> #
> make -C 
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
>  KBUILD_SRC= .kernelrelease
> rm -f .kernelrelease
> echo 1.23.2 > .kernelrelease
> make -f scripts/Makefile.build obj=scripts/basic
> make -f scripts/Makefile.build obj=applets
>   scripts/basic/split-include include/autoconf.h include/config
>   gcc -Wp,-MD,applets/.usage.d  -Wall -Wstrict-prototypes -O2 
> -fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage applets/usage.c
>   gcc -Wp,-MD,applets/.applet_tables.d  -Wall -Wstrict-prototypes -O2 
> -fomit-frame-pointer   -o applets/applet_tables applets/applet_tables.c
>   
> /opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/mkconfigs
>  include/bbconfigopts.h include/bbconfigopts_bz2.h
> make -f scripts/Makefile.build obj=scripts
>   applets/usage_compressed include/usage_compressed.h applets
>   applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h
>   gcc -Wp,-MD,applets/.usage_pod.d  -Wall -Wstrict-prototypes -O2 
> -fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage_pod 
> applets/usage_pod.c
>   arm-poky-linux-gnueabi-gcc -Wp,-MD,applets/.applets.o.d   -std=gnu99 
> -Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG 
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
> -D"BB_VER=KBUILD_STR(1.23.2)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow 
> -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter 
> -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations 
> -Wno-format-security -Wdeclaration-after-statement -Wold-style-definition 
> -fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections 
> -fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc 
> -falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 
> -fno-unwind-tables -fno-asynchronous-unwind-tables -Os -O2 -pipe -g 
> -feliminate-unused-debug-types 
> -fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0=/usr/src/debug/busybox/1.23.2-r0
>  
> -fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-

[yocto] Busybox_1.23.2 fails at do_compile on Poky-Sumo

2018-10-18 Thread Dhanush K.S
Hello Yocto,

I'm currently building an image with the busybox_1.23.2.bb recipe included,
using Yocto Sumo 2.5 with the Bitbake version 1.37.0. It is running on a
CentOS host building images for the target ARM cortexa8. This busybox
recipe is placed in another custom layer. Though this recipe compiles
without errors in Poky-Fido, in Poky-Sumo I get compilation errors due to
missing header files. I have pasted a part of the log.do.compile file with
the error.

*# merged configuration written to .config (needs make)*
*#*
*NOTE: make -j 2 LD=arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfpu=neon
-mfloat-abi=hard -mcpu=cortex-a8
--sysroot=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot
V=1 ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi- SKIP_STRIP=y
busybox_unstripped*
*rm -f .kernelrelease*
*echo 1.23.2 > .kernelrelease*
*/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2*
*make -f
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/Makefile
silentoldconfig*
*make -f scripts/Makefile.build obj=scripts/basic*
*/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/gen_build_files.sh
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2*
*mkdir -p include*
*make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig*
*scripts/kconfig/conf -s Config.in*
*#*
*# using defaults found in .config*
*#*
*make -C
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2
KBUILD_SRC= .kernelrelease*
*rm -f .kernelrelease*
*echo 1.23.2 > .kernelrelease*
*make -f scripts/Makefile.build obj=scripts/basic*
*make -f scripts/Makefile.build obj=applets*
*  scripts/basic/split-include include/autoconf.h include/config*
*  gcc -Wp,-MD,applets/.usage.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage
applets/usage.c  *
*  gcc -Wp,-MD,applets/.applet_tables.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer   -o applets/applet_tables
applets/applet_tables.c  *
*
/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/busybox-1.23.2/scripts/mkconfigs
include/bbconfigopts.h include/bbconfigopts_bz2.h*
*make -f scripts/Makefile.build obj=scripts*
*  applets/usage_compressed include/usage_compressed.h applets*
*  applets/applet_tables include/applet_tables.h include/NUM_APPLETS.h*
*  gcc -Wp,-MD,applets/.usage_pod.d  -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer  -Iinclude -Iinclude -o applets/usage_pod
applets/usage_pod.c  *
*  arm-poky-linux-gnueabi-gcc -Wp,-MD,applets/.applets.o.d   -std=gnu99
-Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE -DNDEBUG
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D"BB_VER=KBUILD_STR(1.23.2)" -DBB_BT=AUTOCONF_TIMESTAMP  -Wall -Wshadow
-Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter
-Wunused-function -Wunused-value -Wmissing-prototypes
-Wmissing-declarations -Wno-format-security -Wdeclaration-after-statement
-Wold-style-definition -fno-builtin-strlen -finline-limit=0
-fomit-frame-pointer -ffunction-sections -fdata-sections
-fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1
-fno-unwind-tables -fno-asynchronous-unwind-tables -Os -O2 -pipe -g
-feliminate-unused-debug-types
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0=/usr/src/debug/busybox/1.23.2-r0
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot=
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/busybox/1.23.2-r0/recipe-sysroot-native=
-mtune=cortex-a8  -O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/opt/ac500/yocto/branches/DEVEL_nextYocto/yocto/build_arm-cortex-a8/tmp/wo