Wind River Support Network

HomeDefectsLIN6-3819
Not to be fixed

LIN6-3819 : compat-wireless-3.6.6 build error

Created: May 23, 2013    Updated: Feb 23, 2018
Resolved Date: Feb 22, 2018
Previous ID: LIN5-4650, LIN6-3034
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

Problem Description
======================
compat-wireless-3.6.6 build error

 
Expected Behavior
======================
compat-wireless-3.6.6 should build no error

Observed Behavior
======================
Loading cache: 100% |########################################################################################################################################################################| ETA:  00:00:00
Loaded 2535 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 00:00:15
Parsing of 1100 .bb files complete (1098 cached, 2 parsed). 2538 targets, 95 skipped, 6 masked, 0 errors.
NOTE: Populating toolchain links in /disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/toolchain.
NOTE: Toolchain binaries pattern: /disk1/buildarea/tune-test/bitbake_build/../layers/wr-toolchain/4.7-128/bin/i686-wrs-linux-gnu*

OE Build Configuration:
BB_VERSION        = "1.17.1"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "intel-xeon-core"
DISTRO            = "wrlinux"
DISTRO_VERSION    = "5.0.1.0"
TUNE_FEATURES     = "m64 haswell"
TARGET_FPU        = ""
wrlinux           = "WRLINUX_5_0_1_HEAD:8c90659ec346b8611f26271ee90216426adc1a7f"
wrlcompat         = "WRLINUX_5_0_1_HEAD:d6c39c3beb794db68a7ca7635a2fe871d9012f20"
wr-toolchain      = "WRLINUX_5_0_1_HEAD:dc784a53f81ec1f95bfce1109bb4829c5c24c834"
meta              = "wr-20130220:d8df47be5b1ae63f418d47c56a9806bcdb3108c8"
oe-core-dl        = "WRLINUX_5_0_1_HEAD:05a792f416b6b3e950bda1e12b3304a55fb11b10"
meta-downloads    = "WRLINUX_5_0_1_HEAD:a6a2726f015a48d56abd4e5b0506811c7f0d48ca"
wr-kernel         = "WRLINUX_5_0_1_HEAD:e982ec58b4b312ebbba22fb044d66d608f9d120f"
intel-xeon-core   = "WRLINUX_5_0_1_HEAD:dfbf7c7a64dedbbc6c92330e0509399f59bd174d"
wr-base           = "WRLINUX_5_0_1_HEAD:e0c7239d0873c7c65c8fa82f05e2847dad29dc71"
wr-features       = "WRLINUX_5_0_1_HEAD:e6968164a18aaf3eae5e90d428c556d09b9441fb"
wr-tools-profile  = "WRLINUX_5_0_1_HEAD:4bb48fe9313323052974dcb81e44938cb748b4f2"
wr-tools-debug    = "WRLINUX_5_0_1_HEAD:6e460fbc1f55ac43b8cae5ffd51b2a45577d62ea"
meta-networking   = "wr-20130220:c607774d2c412191e6e65f498abd68f746d4f7c5"
meta-webserver    = "wr-20130220:b21fcbedec533f09a3bdcc294aac8c789778138f"
wr-prebuilts      = "WRLINUX_5_0_1_HEAD:c565bf4c33ef324a36cb3481f9d68495fe67dc28"
wr-intel-support  = "WRLINUX_5_0_1_HEAD:e2896b67073fa66b2ec72609c44406873a67331e"
local             = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/temp/do_compile/log.do_compile.19043 for further information)
ERROR: Logfile of failure stored in: /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/temp/do_compile/log.do_compile.19043
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make KERNEL_PATH=/disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel KERNEL_SRC=/disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel KERNEL_VERSION=3.4.34-WR5.0.1.0_standard CC=i686-wrs-linux-gnu-gcc   LD=i686-wrs-linux-gnu-ld   AR=i686-wrs-linux-gnu-ar
| ./scripts/gen-compat-autoconf.sh /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/.config /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/config.mk > include/linux/compat_autoconf.h
| make -C /disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel M=/disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1 modules
| make[1]: Entering directory `/disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel'
| /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/config.mk:239: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
|   CC [M]  /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/compat/main.o
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65:0,
|                  from <command-line>:0:
| /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:91:8: error: redefinition of 'struct vga_switcheroo_client_ops'
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/vga_switcheroo.h:7:0,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:80,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65,
|                  from <command-line>:0:
| include/linux/vga_switcheroo.h:31:8: note: originally defined here
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65:0,
|                  from <command-line>:0:
| /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h: In function 'compat_vga_switcheroo_register_client':
| /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:108:12: warning: passing argument 2 of 'vga_switcheroo_register_client' from incompatible pointer type [enabled by default]
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/vga_switcheroo.h:7:0,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:80,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65,
|                  from <command-line>:0:
| include/linux/vga_switcheroo.h:53:19: note: expected 'const struct vga_switcheroo_client_ops *' but argument is of type 'void (* const)(struct pci_dev *, enum vga_switcheroo_state)'
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65:0,
|                  from <command-line>:0:
| /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:108:12: error: too many arguments to function 'vga_switcheroo_register_client'
| In file included from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/vga_switcheroo.h:7:0,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-3.5.h:80,
|                  from /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/include/linux/compat-2.6.h:65,
|                  from <command-line>:0:
| include/linux/vga_switcheroo.h:53:19: note: declared here
| make[3]: *** [/disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/compat/main.o] Error 1
| make[2]: *** [/disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1/compat] Error 2
| make[1]: *** [_module_/disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/compat-wireless-3.6.6-1] Error 2
| make[1]: Leaving directory `/disk1/buildarea/tune-test/bitbake_build/tmp/sysroots/intel-xeon-core/usr/src/kernel'
| make: *** [modules] Error 2
| ERROR: oe_runmake failed
| WARNING: /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/temp/do_compile/run.do_compile.19043:126 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see /disk1/buildarea/tune-test/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/compat-wireless-3.6.6-1-r0/temp/do_compile/log.do_compile.19043 for further information)


Misc Info
======================
This error is caused by re-backport 26ec685ff9d9c16525d8ec4c97e52fcdb187b302: vga_switcheroo: Introduce struct vga_switcheroo_client_ops and
f56f821feb7b36223f309e0ec05986bb137ce418: mm: extend prefault helpers to fault in more than  PAGE_SIZE  from the mainline.

Because those two commits had been back ported to compat-wireless-3.6.6. But Haswell Graphic also need those two commit and back port once again! So those twice backport caused those error!

Steps to Reproduce

1. configure --enable-kernel=standard --enable-rootfs=glibc-std-sato --enable-board=intel-xeon-core --enable-test=yes --with-layer=wr-intel-support,wr-features --with-template=feature/intel-support,feature/intel-qat,feature/intel-dpdk,feature/intel-amt,feature/compat-wireless,feature/kvm,feature/kexec,feature/kdump,feature/edac,feature/intel-ras,feature/haswell --enable-internet-download=yes --enable-reconfig=yes

2. make fs -j16

Other Downloads


Live chat
Online