Wind River Support Network

HomeDefectsLIN8-5400
Fixed

LIN8-5400 : Recipe for target 'drivers/thermal/intel_soc_dts_thermal.o' failed

Created: Dec 15, 2016    Updated: Dec 3, 2018
Resolved Date: Jan 11, 2017
Previous ID: OVP8-313
Found In Version: 8.0.0.11
Fix Version: 8.0.0.14
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

1. Configured a WRL+OVP+SCP project as per the attached shell script.
2. make all
3. Got warnings and error as per the attached log file and here:

demo@gamer-linux:~/WindRiverWRL8/wscgp/cgpovpscp03$ ls -lat
total 120
drwxrwxr-x 12 demo demo  4096 Dec 15 16:32 .
<snip>
demo@gamer-linux:~/WindRiverWRL8/wscgp/cgpovpscp03$ make all
NOTE: Started PRServer with DBfile: /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34976, PID: 26320
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
Parsing recipes: 100% |######################################################################################################################################################| Time: 00:01:32
Parsing of 2336 .bb files complete (0 cached, 2336 parsed). 5296 targets, 2501 skipped, 13 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-16.04"
DISTRO            = "wrlinux-cgl"
DISTRO_VERSION    = "8.0.0.11"
MACHINE           = "intel-broadwell-64"
DEFAULTTUNE       = "broadwell-64"
TARGET_SYS        = "x86_64-wrs-linux"
TUNE_FEATURES     = "m64 haswell haswell-ep broadwell"
TARGET_FPU        = ""
lib32:  DEFAULTTUNE       = "broadwell-32"
lib32:  TARGET_SYS        = "i686-wrsmllib32-linux"
lib32:  TUNE_FEATURES     = "m32 haswell haswell-ep broadwell"
wrlinux           = "LB13_8.0_RCPL0011:7ea0ceb98b3b8290476702332659147280ef246c"
wrlcompat         = "LB13_8.0_RCPL0011:0a5df09b923960caa297813d42ce56168b631ed4"
wr-sdk-toolchain  = "LB13_8.0_RCPL0011:a314688607f8f24946b2134c9f35a876357487de"
wr-tcwrappers     = "LB13_8.0_RCPL0011:6d4a369c118fd0035918d944bfdb3b939f67f46c"
meta              = "LB13_8.0_RCPL0011:fb9e019bfe411f707371c47f138853b83ec7eb56"
oe-core-dl-2.0    = "LB13_8.0_RCPL0011:981f856d5d1665269285b168304f5bf5d1fbdaea"
meta-downloads    = "LB13_8.0_RCPL0011:5cd3bcefd473a682ee5381b976e49de4f6835818"
wr-kernel         = "LB13_8.0_RCPL0011:e264eb07cfa56d9cf6f923286209affe7800fac4"
intel-x86
intel-broadwell   = "LB13_8.0_RCPL0011:f945e10662e697673445858f20deef23a0f6df5b"
wr-base           = "LB13_8.0_RCPL0011:16a74126a54a0eb5e8f8ca5b1d0b7ee5e62546f7"
wr-fixes          = "LB13_8.0_RCPL0011:bf8e21c57a641b52242314737eb0c19b3a20aa6a"
wr-tools-profile  = "LB13_8.0_RCPL0011:a4f7fce420f66678c04bcbef7b47001988b07e5a"
wr-tools-debug    = "LB13_8.0_RCPL0011:b3361fc0bb65c164104cb60df1b1a9e62e34bd35"
meta-filesystems
meta-initramfs
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-perl
meta-webserver
meta-xfce         = "LB13_8.0_RCPL0011:0d4b9a525fc862af2976b67eb38d6447bb771eaa"
wr-prebuilts      = "LB13_8.0_RCPL0011:6e2a1393328c9736006cd4507f2e3dbe732a428a"
meta-selinux      = "wr-8.0-20151119:92a00b07e368a025d018aa0aad81599e71a28e5e"
wr-security       = "LB13_8.0_RCPL0011:b00a865605f0eb4fca84f62b16041fb0337124ae"
cgp               = "LB13_8.0_RCPL0011:4207f3f68110c7b81ffff1e71fd1672c4b19602e"
common-downloads  = "LB13_8.0_RCPL0011:830ea7a950f7ec419cc6ab3820cc1fc95128dec4"
secure            = "LB13_8.0_RCPL0011:efb67bafde99dbd50483aea5e502d008355d912f"
wr-dpdk           = "LB13_8.0_RCPL0011:953916556191eed56b61a674a07692b7f453aeae"
fs-final          = "LB13_8.0_RCPL0011:175d3f065079bb7f80429de7332e3705c09aff45"
wr-openssl-fips   = "LB13_8.0_RCPL0011:d59b70d4106389d63d9a4cff3c7532fbb7eb5b5d"
wr-security-packages = "LB13_8.0_RCPL0011:ce30c1ec6ba94f145f49a5e75eae64d8ed863ee1"
extra-downloads
local             = "<unknown>:<unknown>"

----------------------------------------------------------------------
WARNING: The insecure sample keys are used for UEFI Secure Boot.
Please ensure you know what your risk is to use them in your product.
----------------------------------------------------------------------
NOTE: Preparing RunQueue
NOTE: Checking sstate mirror object availability (for 2745 objects)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:

Value requested for CONFIG_GEN_RTC not in final ".config"
Requested value: "CONFIG_GEN_RTC=y"
Actual value set: ""

Value requested for CONFIG_GEN_RTC_X not in final ".config"
Requested value: "CONFIG_GEN_RTC_X=y"
Actual value set: ""


ERROR: oe_runmake failed
ERROR: Function failed: do_compile_kernelmodules (log file is located at /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.13343)
ERROR: Logfile of failure stored in: /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.13343
Log data follows:
| DEBUG: Executing shell function do_compile_kernelmodules
| NOTE: make -C /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_broadwell_64-cgl-build -j 6 modules CC=x86_64-wrs-linux-gcc   LD=x86_64-wrs-linux-ld
| make: Entering directory '/home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_broadwell_64-cgl-build'
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/Makefile:1190: target '_clean_samples' given more than once in the same rule
|   CHK     include/config/kernel.release
|   GEN     ./Makefile
|   CHK     include/generated/uapi/linux/version.h
|   CHK     include/generated/utsrelease.h
|   Using /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source as source for kernel
|   CHK     include/generated/bounds.h
|   CHK     include/generated/asm-offsets.h
|   CALL    /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/scripts/checksyscalls.sh
|   CC [M]  arch/x86/kvm/../../../virt/kvm/kvm_main.o
|   AS [M]  arch/x86/crypto/sha1_ssse3_asm.o
<snip>
|   CC [M]  drivers/thermal/intel_soc_dts_thermal.o
|   CC [M]  drivers/net/wireless/rtl8723bs/core/rtw_mlme_ext.o
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'sys_get_trip_temp':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:124:42: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   status = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                           ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:124:42: note: each undeclared identifier is reported only once for each function it appears in
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'update_trip_temp':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:156:42: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   status = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                           ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:163:43: error: 'BT_MBI_BUNIT_WRITE' undeclared (first use in this function)
|   status = iosf_mbi_write(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_WRITE,
|                                            ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'sys_get_curr_temp':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:262:42: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   status = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                           ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'free_soc_dts':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:284:35: error: 'BT_MBI_BUNIT_WRITE' undeclared (first use in this function)
|    iosf_mbi_write(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_WRITE,
|                                    ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'soc_dts_enable':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:296:39: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   ret = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                        ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:303:41: error: 'BT_MBI_BUNIT_WRITE' undeclared (first use in this function)
|    ret = iosf_mbi_write(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_WRITE,
|                                          ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'alloc_soc_dts':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:328:39: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   err = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                        ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c: In function 'proc_thermal_interrupt':
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:376:42: error: 'BT_MBI_BUNIT_READ' undeclared (first use in this function)
|   status = iosf_mbi_read(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_READ,
|                                           ^
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/drivers/thermal/intel_soc_dts_thermal.c:380:43: error: 'BT_MBI_BUNIT_WRITE' undeclared (first use in this function)
|   status = iosf_mbi_write(BT_MBI_UNIT_PMC, BT_MBI_BUNIT_WRITE,
|                                            ^
|   CC [M]  drivers/net/wireless/rtl8723bs/core/rtw_wlan_util.o
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/scripts/Makefile.build:264: recipe for target 'drivers/thermal/intel_soc_dts_thermal.o' failed
| make[4]: *** [drivers/thermal/intel_soc_dts_thermal.o] Error 1
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/scripts/Makefile.build:403: recipe for target 'drivers/thermal' failed
| make[3]: *** [drivers/thermal] Error 2
<snip>
| /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work-shared/intel-broadwell-64/kernel-source/Makefile:947: recipe for target 'drivers' failed
| make[2]: *** [drivers] Error 2
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| make: Leaving directory '/home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/linux-intel_broadwell_64-cgl-build'
| WARNING: /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/run.do_compile_kernelmodules.13343:1 exit 1 from
|   exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile_kernelmodules (log file is located at /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/bitbake_build/tmp/work/intel_broadwell_64-wrs-linux/linux-windriver/4.1-r0/temp/do_compile_kernelmodules/log.do_compile_kernelmodules.13343)
ERROR: Task 77 (/home/demo/WindRiverWRL8/wscgp/cgpovpscp03/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile_kernelmodules) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1459 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0% sstate reuse (0 setscene, 141 scratch)
NOTE:   do_package: 0% sstate reuse (0 setscene, 35 scratch)
NOTE:   do_packagedata: 0% sstate reuse (0 setscene, 33 scratch)
NOTE:   do_package_write_rpm: 0% sstate reuse (0 setscene, 7 scratch)
NOTE:   do_populate_lic: 100% sstate reuse (113 setscene, 0 scratch)
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/demo/WindRiverWRL8/wscgp/cgpovpscp03/layers/wr-kernel/recipes-kernel/linux/linux-windriver_4.1.bb, do_compile_kernelmodules
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Makefile:120: recipe for target 'export-dist' failed
make: *** [export-dist] Error 1
demo@gamer-linux:~/WindRiverWRL8/wscgp/cgpovpscp03$


Steps to Reproduce

1. Configured a WRL+OVP+SCP project as per the attached shell script.
2. make all
3. Got warnings and error as per the attached log file.

Other Downloads


Live chat
Online