freebsd-current compile with clang & ccache

Bryan Drewery bdrewery at FreeBSD.org
Wed Nov 25 21:11:18 UTC 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151125/3d2aae31/attachment.bin>


More information about the freebsd-current mailing list