From owner-freebsd-arch@FreeBSD.ORG Thu Jan 19 07:48:31 2006 Return-Path: X-Original-To: arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6851E16A41F; Thu, 19 Jan 2006 07:48:31 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id C349C43D46; Thu, 19 Jan 2006 07:48:30 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5E445.dip.t-dialin.net [84.165.228.69]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k0J7fYQN057826; Thu, 19 Jan 2006 08:41:35 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k0J7mRm5025522; Thu, 19 Jan 2006 08:48:27 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 19 Jan 2006 08:48:27 +0100 Message-ID: <20060119084827.lsj89qu01wgogogs@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 19 Jan 2006 08:48:27 +0100 From: Alexander Leidinger To: arch@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: ru@FreeBSD.org Subject: The cause of the build problems with ccache X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2006 07:48:31 -0000 Hi, I looked at the cause of the build errors when using ccache. When building with ccache, the compiler uses /usr/include instead of the includes in /usr/src (after the "unsigned char" -> "void" change in the md5 header this jumps directly into your face if you look at the error message). Does the intermediate compiler in /usr/obj get build with a different default include path? If yes: - This would also result in picking up the wrong includes when someone tries to build the world with a different compiler (e.g. icc). - Wouldn't it be better to discard the default include path and add the include path we want explicitly on the command line? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Courage is your greatest present need.