Re: freebsd-current compile with clang & ccache

From: Jeffrey Bouquet <jbtakk_at_iherebuywisely.com>
Date: Tue, 24 Nov 2015 03:50:23 -0800 (PST)
On Tue, 24 Nov 2015 10:31:37 +0100, M&S - Krasznai András <Krasznai.Andras_at_mands.hu> wrote:

> Good morning!
> 
> I experience the following errors:
> 
> 
> after setting up ccache according to the howto I tried to compile world and kernel.
> 
> 
> 
> make buildworld
> 
> 
> 
> runs correctly, takes appr. 3 hours to finish for the first run. Repeating it finishes in a little less than 1 hour.
> 
> 
> 
> Make -j5 buildworld
> 
> 
> 
> also finishes correctly and takes about 23 minutes.
> 
> 
> 
> After finishing the kernel compile
> 
> 
> 
> Make installkernel
> 
> Reboot
> 
> 
> 
> Then
> 
> 
> 
> make installworld
> 
> 
> 
> gives a lot of error messages:
> 
> 
> 
> ccache: error: Could not find compiler "cc" in PATH
> 
> 
> 
> but finishes, and the system appears to be working, but I think there must be some problem what I could not find.
> 
> 
> 
> 
> 
> Compilation and installation finishes correctly if i do not use ccache but rather slow.
> 
> 
> 
> The system has been reinstalled from scratch, source tree was downloaded on Friday and updated few minutes before compile on Monday.
> 
> The kernel config is a stripped down GENERAL (I left out those drivers and kernel modules which handle hardware not present in my laptop).
> 
> I use src.conf to eliminate compiling such components which I do not use (BLUETOOTH, IPX/SPX, etc). COMPILER_TYPE is set in my .cshrc to clang.
> 
> 
> 
> What can I do to eliminate the ccache error during installworld apart from not using ccache?
> 
> 
> 
> 
> 
> Best regards
>

Having something similar after an installworld in single user mode, I was wondering if
a FLAG 
> 
> 
> András Krasznai
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Tue Nov 24 2015 - 10:56:29 UTC

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