Date: Wed, 18 Jan 2012 18:45:17 -0500 From: Eitan Adler <lists@eitanadler.com> To: Yuri <yuri@rawbw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: compiler configuration regression in 9.0? Message-ID: <CAF6rxgkcKUZupBH4SeCksVOXX9jCh48V9Z4x0ohAgC%2Bk5ZgVWA@mail.gmail.com> In-Reply-To: <4F174236.2010006@rawbw.com> References: <4F174236.2010006@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 18, 2012 at 5:05 PM, Yuri <yuri@rawbw.com> 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 <limits.h> > #else > # include <assert.h> > #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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkcKUZupBH4SeCksVOXX9jCh48V9Z4x0ohAgC%2Bk5ZgVWA>