Re: freebsd-current compile with clang & ccache

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Wed, 25 Nov 2015 13:11:13 -0800
On 11/25/2015 12:59 PM, Juan Ramón Molina Menor wrote:
> Le 25/11/2015 19:50, Bryan Drewery a écrit :
>> On 11/25/2015 10:09 AM, Juan Molina wrote:
>>>> On 11/24/2015 1:31 AM, M&S - Krasznai András wrote:
>>>>> /What can I do to eliminate the ccache error during installworld
>>>> apart from not using ccache? /
>>>> I would recommend not setting CC or CCACHE_PATH in make.conf and using
>>>> the new WITH_CCACHE_BUILD=yes option instead.
>>>>
>>>> -- 
>>>> Regards,
>>>> Bryan Drewery
>>> Hi.
>>>
>>> I’m seeing the same ccache errors and I do not have CC or CCACHE_PATH
>>> defined anywhere. Only WITH_CCACHE_BUILD and WITH_FAST_DEPEND in
>>> src.conf.
>>>
>> WITH_FAST_DEPEND is not related.
> OK, thanks. I was referring to the content of /etc/src.conf. By the way,
> there is no /etc/make.conf in this system.
> 
>> Are you building and installing as a different user? Using a different
>> MAKEOBJDIRPREFIX in build and install?
> Not at all, just following the /etc/src/UPDATING instructions, as root:
> 
> # cd /usr/src
> # svn up
> # make -j2 buildworld
> # make -j2 kernel
> <no reboot in single user>
> # mergemaster -Fp
> # make installworld COMPILER_TYPE="clang"
> <COMPILER_TYPE is required>
> # mergemaster -Fi
> # make delete-old
> 
>> Do you have CCACHE_PATH in your environment?
> Yes, it is set in /etc/csh.cshrc as indicate the ccache instructions:
> 
> # echo $CCACHE_PATH
> /usr/bin:/usr/local/bin
> 
>> Run 'make ccache-print-options|grep path'. It should have no value.
> # make ccache-print-options | grep path
> (environment) path =
> 

Which branch and revision is this?


-- 
Regards,
Bryan Drewery


Received on Wed Nov 25 2015 - 20:11:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:01 UTC