From owner-freebsd-current@FreeBSD.ORG Sun Jun 13 22:58:16 2010 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 D9713106566C for ; Sun, 13 Jun 2010 22:58:16 +0000 (UTC) (envelope-from alexbestms@uni-muenster.de) Received: from SECMAIL.UNI-MUENSTER.DE (SECMAIL.UNI-MUENSTER.DE [128.176.192.141]) by mx1.freebsd.org (Postfix) with ESMTP id 96C178FC08 for ; Sun, 13 Jun 2010 22:58:16 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by SECMAIL.UNI-MUENSTER.DE (Postfix) with ESMTP id 9AE2BBF405 for ; Mon, 14 Jun 2010 00:58:14 +0200 (CEST) Received: by vws20 with SMTP id 20so4014109vws.13 for ; Sun, 13 Jun 2010 15:58:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.1.142 with SMTP id 14mr1710544qaf.35.1276469892467; Sun, 13 Jun 2010 15:58:12 -0700 (PDT) Received: by 10.229.247.142 with HTTP; Sun, 13 Jun 2010 15:58:12 -0700 (PDT) In-Reply-To: <20100613214600.GH1797@hoeg.nl> References: <20100613214600.GH1797@hoeg.nl> Date: Mon, 14 Jun 2010 00:58:12 +0200 Message-ID: From: Alexander Best To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: two buildworld problems 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: Sun, 13 Jun 2010 22:58:16 -0000 On Sun, Jun 13, 2010 at 11:46 PM, Ed Schouten wrote: > Alexander, > > * Alexander Best wrote: >> .if empty(.CURDIR:M/usr/src/*) && empty(.CURDIR:M/usr/obj/*) && >> exists(/usr/local/bin/gcc44) >> CC =3D gcc44 >> CXX =3D g++44 >> CPP =3D cpp44 >> .endif > > Try /usr/local/bin/gcc44. The FreeBSD build infrastructure overrides > PATH to prevent accidental use of local tools. hmmm...but i thought during buildworld either empty(.CURDIR:M/usr/src/*) or empty(.CURDIR:M/usr/obj/*) should be false. so CC/CXX/CPP should never actually be set during buildworld or buildkernel. cheers. alex > >> 2. if i set >> >> CC=3Dcc (or clang) >> CXX=3Dc++ (or clang) >> CPP=3Dcpp (or clang) >> >> in src.conf >> >> buildworld fails with this error: > > I can't say what's going on here, but keep in mind that you shouldn't > set CXX to clang, but clang++. thanks for the hint. i'll try and see if that works. > > -- > =A0Ed Schouten > =A0WWW: http://80386.nl/ > --=20 Alexander Best