Wind River Support Network

HomeDefectsLIN10-3713
Fixed

LIN10-3713 : Build failed when enabled CONFIG_NETATOP kernel option

Created: Apr 11, 2018    Updated: Dec 3, 2018
Resolved Date: Apr 23, 2018
Found In Version: 10.17.41.6
Fix Version: 10.17.41.7
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Kernel

Description

Build failed when enabled CONFIG_NETATOP kernel option

Problem Description
======================
The build failure was as below.
xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/kts/build_test$ /lpg-build/cdc/fast_prod/WRL10_17/WRL10_17_GIT/wrlinux-10/setup.sh --machines intel-skylake-avx512-64 --distros=wrlinux --dl-layers --accept-eula=yes xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/kts/build_test$ . ./environment-setup-x86_64-wrlinuxsdk-linux
xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/kts/build_test$ . ./oe-init-build-env build_test xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/kts/build_test$ bitbake -c menuconfig linux-yocto

Set NETATOP to 'm'

Symbol: NETATOP [=m]
   Type : tristate
   Prompt: Net statistics collector for atop
     Location:
       -> Device Drivers
   (1) -> Staging drivers (STAGING [=y])
     Defined at drivers/staging/netatop/Kconfig:1
     Depends on: STAGING [=y]


xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/kts/build_test$ bitbake -c build linux-yocto

...
| CC [M] drivers/gpu/drm/nouveau/nouveau_fence.o
| CC [M] drivers/gpu/drm/nouveau/nv04_fence.o
| CC [M] drivers/gpu/drm/nouveau/nv10_fence.o
| CC [M] drivers/gpu/drm/nouveau/nv17_fence.o
| CC [M] drivers/gpu/drm/nouveau/nv50_fence.o
| CC [M] drivers/gpu/drm/nouveau/nv84_fence.o
| CC [M] drivers/gpu/drm/nouveau/nvc0_fence.o
| CC [M] drivers/gpu/drm/nouveau/nouveau_bios.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/arb.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/crtc.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/cursor.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/dac.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/dfp.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/disp.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/hw.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/overlay.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/tvmodesnv17.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/tvnv04.o
| CC [M] drivers/gpu/drm/nouveau/dispnv04/tvnv17.o
| LD [M] drivers/gpu/drm/nouveau/nouveau.o
| make[2]: ***
| [/wrl10/build/US107213_netatop/Purley-4S/build_failed
| /build_test/tmp-glibc/work-shared/intel-skylake-avx512-64/kernel-sourc
| e/Makefile:1020: drivers] Error 2
| make[1]: *** [Makefile:152: sub-make] Error 2
| make: *** [Makefile:24: __sub-make] Error 2
| make: Leaving directory '/wrl10/build/US107213_netatop/Purley-4S/build_failed/build_test/tmp-glibc/work/intel_skylake_avx512_64-wrs-linux/linux-yocto/4.12.21+gitAUTOINC+cde2242313_6fcaf3d802-r0/linux-intel_skylake_avx512_64-standard-build'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile_kernelmodules (log file is located
| at
| /wrl10/build/US107213_netatop/Purley-4S/build_failed/
| build_test/tmp-glibc/work/intel_skylake_avx512_64-wrs-linux/linux-yoct
| o/4.12.21+gitAUTOINC+cde2242313_6fcaf3d802-r0/temp/log.do_compile_kern
| elmodules.46483)
ERROR: Task (/wrl10/build/US107213_netatop/Purley-4S/build_failed/layers/oe-core/meta/recipes-kernel/linux/linux-yocto_4.12.bb:do_compile_kernelmodules) failed with exit code '1'
NOTE: Tasks Summary: Attempted 498 tasks of which 305 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /wrl10/build/US107213_netatop/Purley-4S/build_failed/layers/oe-core/meta/recipes-kernel/linux/linux-yocto_4.12.bb:do_compile_kernelmodules
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
xxxx@host:/wrl10/build/US107213_netatop/Purley-4S/build_failed$

Steps to Reproduce

/lpg-build/cdc/fast_prod/WRL10_17/WRL10_17_GIT/wrlinux-10/setup.sh --machines intel-skylake-avx512-64 --distros=wrlinux --dl-layers --accept-eula=yes

. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env build_test

bitbake -c menuconfig linux-yocto

Set NETATOP to 'm'

bitbake -c build linux-yocto

Other Downloads


Live chat
Online