Date: Thu, 19 Jan 2006 08:48:27 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: arch@FreeBSD.org Cc: ru@FreeBSD.org Subject: The cause of the build problems with ccache Message-ID: <20060119084827.lsj89qu01wgogogs@netchild.homeip.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060119084827.lsj89qu01wgogogs>