From owner-freebsd-current@FreeBSD.ORG Thu Jul 21 14:03:57 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C43A91065672; Thu, 21 Jul 2011 14:03:57 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8868B8FC1A; Thu, 21 Jul 2011 14:03:57 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a] (unknown [IPv6:2001:7b8:3a7:0:7469:953f:9d81:458a]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B08415C37; Thu, 21 Jul 2011 16:03:56 +0200 (CEST) Message-ID: <4E2831CD.6040800@FreeBSD.org> Date: Thu, 21 Jul 2011 16:03:57 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Alexander Best References: <20110721070825.GA80840@freebsd.org> <4E27EEF6.6060401@FreeBSD.org> <20110721134508.GA39498@freebsd.org> In-Reply-To: <20110721134508.GA39498@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: buildworld failing in lib/libc/db/btree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 21 Jul 2011 14:03:57 -0000 On 2011-07-21 15:45, Alexander Best wrote: ... >> If you are including any path, e.g. CC=/usr/bin/clang, buildworld will >> not work. Remove the path and try again. > > THANKS! > > ...exactly that was the problem. :) after changing CC/CXX so it doesn't contain > a full path, buildworld succeeded! The problem here was that buildworld builds a bootstrap compiler under /usr/obj, but if you specify ${CC} with an absolute path, it fails to use it! (The bootstrap compiler has its search paths adjusted, so it only looks under /usr/obj for include files, libraries and so on.) This is actually a problem that needs solving, but it won't happen for 9.0, unfortunately...