Fixed
Created: Jan 14, 2018
Updated: May 16, 2019
Resolved Date: Jan 17, 2018
Found In Version: 7.0.0.27
Fix Version: 7.0.0.28
Severity: Severe
Applicable for: Wind River Linux 7
Component/s: Userspace
In OVP7 RCPL 27, when make export-sdk, the python3 will get compile error.
------------
| Objects/obmalloc.o: In function `_PyObject_DebugMallocStats':
| obmalloc.c:(.text+0xe84): undefined reference to `pool_is_in_list'
| collect2: error: ld returned 1 exit status
| Makefile:702: recipe for target 'Parser/pgen' failed
| make: *** [Parser/pgen] Error 1
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| WARNING: /b/xxxxx/porter2-jan/D471_ysb/build-nfx-2-ovp-secure/x86-64-ovp/bitbake_build/tmp/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-python3/3.3.3-r0.0/temp/do_compile/run.do_compile.5448:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /b/xxxxx/porter2-jan/D471_ysb/build-nfx-2-ovp-secure/x86-64-ovp/bitbake_build/tmp/work/x86_64-nativesdk-wrlinuxsdk-linux/nativesdk-python3/3.3.3-r0.0/temp/do_compile/log.do_compile.5448)
ERROR: Task 1799 (virtual:nativesdk:/b/xxxxx/porter2-jan/D471_ysb/build-nfx-2-ovp-secure/x86-64-ovp/layers/oe-core/meta/recipes-devtools/python/python3_3.3.3.bb, do_compile) failed with exit code '1'
------------
The upstream patch fix this issue:
https://patchwork.openembedded.org/patch/119039/
The fix also seens in WRlinux8, but don't know why not fixed in OVP7.
LIN8-3227
https://patchwork.openembedded.org/patch/119039/
1. /opt/WRL7/wrlinux-7/wrlinux/configure --enable-addons=wr-ovp --enable-board=x86-64-kvm-guest --enable-kernel=ovp --enable-rootfs=ovp-guest --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig --enable-test=yes --with-template=feature/new-dpdk-ovs --enable-bootimage=hdd,tar.bz2 --with-bootimage-space=1024 --with-rcpl-version=0027
2. make
make export-sdk