From owner-freebsd-current@freebsd.org Tue Nov 24 09:32:56 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22535A353BD for ; Tue, 24 Nov 2015 09:32:56 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: from mail.mands.hu (mail.mands.hu [194.143.229.130]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5379C130F for ; Tue, 24 Nov 2015 09:32:54 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: from exchange.mands.hu ([::1]) by exchange.mands.hu ([::1]) with mapi; Tue, 24 Nov 2015 10:31:36 +0100 From: =?iso-8859-1?Q?M=26S_-_Krasznai_Andr=E1s?= To: "freebsd-current@freebsd.org" Date: Tue, 24 Nov 2015 10:31:37 +0100 Subject: freebsd-current compile with clang & ccache Thread-Topic: freebsd-current compile with clang & ccache Thread-Index: AdEmiIyYWq2slNj4QeGHyLQ01kw5kg== Message-ID: <3B0F582294DE3E448963BA62DC306AEE4704404FCB@exchange.mands.hu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2015 09:32:56 -0000 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 (B= LUETOOTH, 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 Andr=E1s Krasznai