Wind River Support Network

HomeDefectsLIN6-8502
Fixed

LIN6-8502 : Windows lib64 SDK exported from cav_octeon3 platform project built with --multilib-enable=lib64 fails

Created: Oct 6, 2014    Updated: Dec 3, 2018
Resolved Date: Oct 21, 2014
Found In Version: 6.0.0.11
Fix Version: 6.0.0.13
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Host Tools

Steps to Reproduce

Configure a cav_octeon3 platform project with the -enable-multilib=lib64 option (Workbench was used for all steps), e.g.: 
/home/demo/WRL6/wrlinux-6/wrlinux/configure --enable-board=cav-octeon3 --enable-build=profiling --enable-ccache=yes --enable-checkout-all-layers=yes --enable-jobs=4 --enable-kernel=standard --enable-multilib=lib64 --enable-parallel-pkgbuilds=4 --enable-rm-oldimgs=yes --enable-rootfs=glibc_small+debug --enable-win-sdk=yes --with-sstate-dir=/home/demo/.wrl6_sstate --with-template=feature/analysis,feature/code_coverage,feature/lttng-init,feature/lttng2,feature/oprofile 

Build platform project with make fs and then make export-sdk

Copy export/wrlinux-small-6.0.0.11-eglibc-x86_64-cav_octeon3-lib64-wrlinux-image-glibc-small-sdk-win32.zip to Windows host, extract and import into Workbench.  (File->Import...-> Wind River Linux -> Wind River Linux SDK)

Create clientserver example application and select cav_octeon3-glibc-small-lib64-layers build spec.  Attempt to build clientserver project and observe failure:
Platform: Wind River Linux Platform 6.0
Command: make --no-print-directory BUILD_SPEC=cav-octeon3-glibc_small-lib64-layers DEBUG_MODE=1 TRACE=1 TOOL_PATH=D:/Demo/WRLinux6/wrlinux-6/layers/binary-toolchain-4.8-35-other/bin/
Working Directory: D:/Demo/WRLinux6/workspace/clientserver/cav-octeon3-glibc_small-lib64-layers
if [ ! -d "`dirname "client/Debug/Objects/client.o"`" ]; then mkdir -p "`dirname "client/Debug/Objects/client.o"`"; fi;echo  "building client/Debug/Objects/client.o ";export PATH=D:/Demo/WRLinux6/wrlinux-6/layers/binary-toolchain-4.8-35-other/bin/:$PATH;   mips64-wrsmllib64-linux-gcc -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -meb -mabi=64 -mhard-float -march=octeon3 --sysroot=D:/Demo/WRLinux6/workspace/cav_lib64_sdk/sysroots/mips32-octeon3-wrs-linux      -MD -MP -c -DARCH=mips -o "client/Debug/Objects/client.o" "D:/Demo/WRLinux6/workspace/clientserver/client.c"
building client/Debug/Objects/client.o 
C:\AppData\Local\Temp\make24245.sh: mips64-wrsmllib64-linux-gcc: command not found
D:\Demo\WRLinux6\utilities-1.0\x86-win32\bin\make.exe: *** [client/Debug/Objects/client.o] Error 127
Build Failed in Project 'clientserver' (Process Exit Value was 2):   2014-10-06 10:12:50   (Elapsed Time: 00:00)

Other Downloads


Live chat
Online