| Summary: | busybox build failed after enable CONFIG_TCPSVD | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Meta-yocto | Reporter: | Zhenhua Luo <zhenhua.luo> | ||||||||||
| Component: | meta-yocto | Assignee: | Saul Wold <sgw> | ||||||||||
| Status: | VERIFIED OBSOLETE | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | Medium | CC: | alexandru.c.georgescu, jessica.zhang, josh, msm-oss, poky.bs.watcher, poky.watcher, sgw | ||||||||||
| Version: | 1.1.2 | ||||||||||||
| Target Milestone: | 1.1.2 | ||||||||||||
| Hardware: | x86 | ||||||||||||
| OS: | Multiple | ||||||||||||
| Whiteboard: | |||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||
| Verified: | Documentation change: | --- | |||||||||||
| Attachments: |
|
||||||||||||
Zhenhua, please reference the upstream packages that fixed this. -M (In reply to comment #1) > Zhenhua, please reference the upstream packages that fixed this. > > -M Not upstream packages but rather upstream patches... changed to 1.1.2 since this is fixed upstream and fixed in 1.2 release already I'm guessing this patch: http://git.busybox.net/busybox/commit/?id=67905e2d7c6ee273b753af22fb22de0ebec918c1 ? I can't reproduce this building busybox with CONFIG_TCPSVD=y in my busybox recipe when building for either qemuppc or the mpc8315e-rdb.conf, both of which use the 3.0 variant of the linux-yocto kernel. Can you provide some reproducer steps for this? Created attachment 515 [details]
busybox config to show error
If something will show it this will be it...
With that defconfig I get a failure at do_install, which I would expect from changing the defconfig, but not the compilation failure noted. Is this using a different virtual/kernel and linux-libc-headers than we use in the poky distro config? It'd be useful to get target MACHINE, any extra layers, etc for reproduction. (In reply to comment #7) > With that defconfig I get a failure at do_install, which I would expect from > changing the defconfig, but not the compilation failure noted. > > Is this using a different virtual/kernel and linux-libc-headers than we use > in the poky distro config? > > It'd be useful to get target MACHINE, any extra layers, etc for reproduction. We are using our own kernel... our own layer... perhaps we should have Zhenhua supply the information we initially requested... which patch fixes this and why? -M Created attachment 528 [details]
busybox-fix-the-build-error-when-enable-CONFIG_TCPSVD.patch
Created attachment 529 [details]
recipes of busybox
(In reply to comment #8) > (In reply to comment #7) > > With that defconfig I get a failure at do_install, which I would expect from > > changing the defconfig, but not the compilation failure noted. > > > > Is this using a different virtual/kernel and linux-libc-headers than we use > > in the poky distro config? > > > > It'd be useful to get target MACHINE, any extra layers, etc for reproduction. > > We are using our own kernel... our own layer... perhaps we should have > Zhenhua supply the information we initially requested... which patch fixes > this and why? > > -M Following is some information for the issue: 1. Version of busybox: busybox_1.18.5 2. Issue: busybox build failed after enabling CONFIG_TCPSVD The original recipes(busybox.tar.gz) and fix patch(busybox-fix-the-build-error-when-enable-CONFIG_TCPSVD.patch) are attached. Hope this is helpful. Hi Joshua, Are there any updates regarding this issue? Thanks, Alex. (In reply to comment #12) > Hi Joshua, > Are there any updates regarding this issue? > > Thanks, > Alex. It's seems like this was never applied to the edison release. -M This is against an old release that we no longer support, please open new bugs against latest releases if the issue still exist Verified as per Jessica's last comment |
Created attachment 337 [details] Full build logs busybox build failed after enable CONFIG_TCPSVD. Logs: ccache powerpc-fsl-linux-gcc -m32 -mhard-float -mcpu=e500mc --sysroot=/local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/sysroots/p4080ds -Wp,-MD,networking/.tcpudp.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.18.5)" -DBB_BT=AUTOCONF_TIMESTAMP -Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter -Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations -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 -Os -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tcpudp)" -D"KBUILD_MODNAME=KBUILD_STR(tcpudp)" -c -o networking/tcpudp.o networking/tcpudp.c In file included from /local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/sysroots/p4080ds/usr/include/linux/sysctl.h:25:0, from /local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/sysroots/p4080ds/usr/include/linux/netfilter.h:6, from /local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/sysroots/p4080ds/usr/include/linux/netfilter_ipv4.h:8, from networking/tcpudp.c:37: /local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/sysroots/p4080ds/usr/include/linux/kernel.h:12:8: error: redefinition of 'struct sysinfo' include/libbb.h:105:8: note: originally defined here make[1]: *** [networking/tcpudp.o] Error 1 make[1]: Leaving directory `/local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/busybox-1.18.5-r2/busybox-1.18.5' make: *** [networking] Error 2 ERROR: oe_runmake failed ERROR: Function 'do_compile' failed (see /local/home/b19537/workspace/sdk-devel/build_p4080ds_release/tmp/work/ppce500mc-fsl-linux/busybox-1.18.5-r2/temp/log.do_compile.10540 for further information)