Re: Using ccache for build{world, kernel}

From: Jens Schweikhardt <schweikh_at_schweikhardt.net>
Date: Tue, 15 Nov 2005 23:47:44 +0100
...
# Didn't get far:
# 
# [snip]
# --------------------------------------------------------------
# >>> stage 1.1: legacy release compatibility shims
# --------------------------------------------------------------
# cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/tmp  
# INSTALL="sh /usr/src/tools/install.sh"  
# PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin  
# WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m /usr/src/tools/build/mk  
# -m /usr/src/share/mk" make -f Makefile.inc1  DESTDIR=  BOOTSTRAPPING=700006  
# -DNO_HTML -DNO_INFO -DNO_LINT -DNO_MAN -DNO_NLS -DNO_PIC  -DNO_PROFILE 
# -DNO_SHARED -DNO_CPU_CFLAGS -DNO_WARNS legacy
# ===> tools/build (obj,includes,depend,all,install)
# /usr/obj/usr/src/tmp/usr/src/tools/build created for /usr/src/tools/build
# cd /usr/src/tools/build; make buildincludes; make installincludes
# rm -f .depend
# CC='CCACHE_NOHASH_SIZE_MTIME=y /usr/local/bin/ccache cc' mkdep -f .depend -a    
# -I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/tools/build/dummy.c
# CCACHE_NOHASH_SIZE_MTIME=y: not found

I suspect there's an exec() somewhere instead of a system(), so
passing envars does not work. Try explicitly
exporting CCACHE_NOHASH_SIZE_MTIME=y.

Regards,

	Jens
-- 
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
Received on Tue Nov 15 2005 - 21:48:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC