Wind River Support Network

HomeDefectsLIN7-2618
Fixed

LIN7-2618 : serf does not build with CCACHE enabled.

Created: Jan 4, 2015    Updated: Sep 8, 2018
Resolved Date: Jan 11, 2015
Found In Version: 7.0.0.0.LB21
Fix Version: 7.0.0.2
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

Doing a build with ccache and self-hosted failed.

The error occurred in serf do_compile

This command:
/wrl7/self2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrs-linux/ccache x86_64-wrs-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/wrl7/self2/bitbake_build/tmp/sysroots/intel-x86-64 -o context.o -c -O2 -pipe -g -feliminate-unused-debug-types -std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wall -O2 -DNDEBUG -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/wrl7/self2/bitbake_build/tmp/sysroots/intel-x86-64/usr/include -I/wrl7/self2/bitbake_build/tmp/sysroots/intel-x86-64/usr/include context.c

Produced this error:
sh: /wrl7/self2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/x86_64-wrs-linux/ccache: No such file or directory

I believe the problem is in this file:


 is defined to add the variable S.  At this point d, so the path is added in the wrong place.

Steps to Reproduce

/wb/wrl7/wrlinux-7/wrlinux/configure --with-template=feature/self-hosted,feature/kvm --enable-build=productiondebug --enable-ccache=yes --enable-jobs=4 --enable-parallel-pkgbuilds=4 --enable-rootfs=glibc-std --enable-buildtools=yes --enable-board=intel-x86-64 --with-rcpl-version=0
make fs

Other Downloads


Live chat
Online