Re: freebsd-current compile with clang & ccache

From: Juan Ramón Molina Menor <listjm_at_club.fr>
Date: Thu, 26 Nov 2015 09:15:26 +0100
Le 25/11/2015 22:11, Bryan Drewery a écrit :
> 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?

  11.0-CURRENT r291280 (yesterday).
Received on Thu Nov 26 2015 - 07:25:42 UTC

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