Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2013 15:39:30 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, "Hartmann, O." <ohartman@zedat.fu-berlin.de>, freebsd-ports@freebsd.org
Subject:   Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found
Message-ID:  <20130309233930.GA95285@troutmask.apl.washington.edu>
In-Reply-To: <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org>
References:  <513B56E8.2060702@zedat.fu-berlin.de> <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 09, 2013 at 05:02:56PM +0100, Dimitry Andric wrote:
> On Mar 9, 2013, at 16:36 , "Hartmann, O." <ohartman@zedat.fu-berlin.de> wrote:
> > I have one specific FreeBSD 10.0-CURRENT box (FreeBSD 10.0-CURRENT #0
> > r248061: Fri Mar  8 19:44:30 CET 2013 amd64) which rejects to build
> > either lang/gcc or lang/gcc46 with the very same error shown below.
> ?
> > checking whether cc supports -pedantic -Wno-long-long... yes
> > checking dependency style of cc... none
> > configure: error: no usable dependency style found
> > gmake[2]: *** [configure-stage1-libcpp] Error 1
> > gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build'
> > gmake[1]: *** [stage1-bubble] Error 2
> > gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build'
> > gmake: *** [all] Error 2
> > *** [do-build] Error code 1
> 
> What is the actual error in the resulting config.log file?  Unfortunately autoconf error message are virtually information-free?
> 

If you have a clang built FreeBSD-current, then it is no
longer possible to *bootstrap* gcc-4.6.x, gcc-4.7.x, nor
the upcoming gcc-4.8.0.  AFAICT, the problem is related
to /usr/bin/cpp.  I haven't tried earlier versions of
gcc.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130309233930.GA95285>