Wind River Support Network

HomeDefectsLIN6-8501
Fixed

LIN6-8501 : lib64 build spec from cav_octeon3 multilib project doesn't work

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

Description

A build failure occurs when attempting to build an application using the lib64 build spec from a cav_octeon3 project built with -enable-multilib=lib64

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 (I also did a make export-sdk)

Create a helloWorld example project - select the cav-octeon3-glibc_small-lib64-cavium3_lib64_lpp_prj build spec.

Attempt to build helloWorld project and observe the following error:
Build Started in Project 'hello_Linux':   2014-10-06 09:56:48
Generation of makefiles started.
Generation of makefiles finished (Elapsed Time: 00:00).
Platform: Wind River Linux Platform 6.0
Command: make --no-print-directory BUILD_SPEC=cav-octeon3-glibc_small-lib64-cavium3_lib64_lpp_prj DEBUG_MODE=1 TRACE=1
Working Directory: /home/demo/workspace/hello_Linux/cav-octeon3-glibc_small-lib64-cavium3_lib64_lpp_prj
if [ ! -d "`dirname "hello_Linux/Debug/Objects/hello.o"`" ]; then mkdir -p "`dirname "hello_Linux/Debug/Objects/hello.o"`"; fi;echo  "building hello_Linux/Debug/Objects/hello.o ";export PATH=/home/demo/workspace/cavium3_lib64_lpp_prj/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/mips32-octeon3-wrs-linux/:$PATH;   mips64-wrs-linux-gcc -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -meb -mabi=64 -mhard-float -march=octeon3 --sysroot=/workspace/cavium3_lib64_lpp_prj/bitbake_build/tmp/sysroots/cav-octeon3      -MD -MP -c -DARCH=mips -o "hello_Linux/Debug/Objects/hello.o" "/workspace/hello_Linux/hello.c"
building hello_Linux/Debug/Objects/hello.o 
/bin/sh: mips64-wrs-linux-gcc: command not found
make: *** [hello_Linux/Debug/Objects/hello.o] Error 127
Build Failed in Project 'hello_Linux' (Process Exit Value was 2):   2014-10-06 09:56:48   (Elapsed Time: 00:00)

Other Downloads


Live chat
Online