From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 18 23:45:50 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4EC1065672 for ; Wed, 18 Jan 2012 23:45:50 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8671E8FC0A for ; Wed, 18 Jan 2012 23:45:49 +0000 (UTC) Received: by lahe6 with SMTP id e6so1698873lah.13 for ; Wed, 18 Jan 2012 15:45:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=u25bPkUWsuAXGyCl+2CjPQlkryEgfrlRbnx9djrUL+o=; b=asAII/cZ21n948ZQ7dOAx2nwvOyar+27NDJP6KhJ90JehOWfw2lxxyEB3/JIqSM5MK ZNwEKt+ahChjsCf2y5JrlLlVc+gb5wqWgRJSVEBS6MMFAIktFTB9fgyIS73edfLHnbqD 47dIkbl5HA0YbMRo42FZIvEPh6ULch02rExCc= Received: by 10.152.133.229 with SMTP id pf5mr11557694lab.18.1326930348121; Wed, 18 Jan 2012 15:45:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.21.168 with HTTP; Wed, 18 Jan 2012 15:45:17 -0800 (PST) In-Reply-To: <4F174236.2010006@rawbw.com> References: <4F174236.2010006@rawbw.com> From: Eitan Adler Date: Wed, 18 Jan 2012 18:45:17 -0500 Message-ID: To: Yuri Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: compiler configuration regression in 9.0? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 23:45:50 -0000 On Wed, Jan 18, 2012 at 5:05 PM, Yuri wrote: > One port build (www/neon29) fails for me on 9.0 (i386, freshly upgraded f= rom > 8.2), configure fails with the message: "cpp: error trying to exec 'cc1': > execvp: No such file or directory" > I tracked in down to the PATH variable passed to cpp, when PATH begins wi= th > /usr/local/bin, cpp breaks in 9.0. But when the same /usr/local/bin is in > the end of the path it works fine. > I also noticed that in 9.0 gcc is 4.2.1 and in 8.2 gcc is 4.2.2, which ma= y > be related. > What might be a problem with this? > > Yuri > > --- testcase --- > #!/bin/sh > > echo >> conftest.c << __END__ > /* confdefs.h */ > #ifdef __STDC__ > # include > #else > # include > #endif > __END__ > > # BREAKS 9.0, works in 8.2 > export PATH=3D"/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bi= n" > # WORKS everywhere > #export PATH=3D"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin" > > cpp =C2=A0-I/usr/local/include =C2=A0conftest.c pkg_info -W /usr/local/bin/cpp --=20 Eitan Adler