Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2013 12:03:49 +0100
From:      Claude Buisson <clbuisson@orange.fr>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, "Hartmann, O." <ohartman@zedat.fu-berlin.de>, freebsd-ports@freebsd.org, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found
Message-ID:  <513DBA15.6010505@orange.fr>
In-Reply-To: <513DAF4F.50602@FreeBSD.org>
References:  <513B56E8.2060702@zedat.fu-berlin.de> <8F5265A6-396A-426F-A3F8-EFD44D167313@FreeBSD.org> <20130309233930.GA95285@troutmask.apl.washington.edu> <513DAF4F.50602@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/11/2013 11:17, Dimitry Andric wrote:
> On 2013-03-10 00:39, Steve Kargl wrote:
> ...
>> 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.
>
> I have built the lang/gcc47 and lang/gcc48 ports just now, and they
> compiled without any issues.  What is the exact error you have been
> getting?
>
> I think there must be a common problem you and Oliver have in your build
> environment, most likely non-default CFLAGS.  What happens if you remove
> make.conf and src.conf, do the gcc ports then build successfully?
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>

FWIW,

Yesterday, I built lang/gcc on a 10.0-CURRENT amd64 svn 247236,
WITH_CLANG_IS_CC, and got the same error than the OP.

NO non-default CFLAGS.

The build succeeded with USE_GCC=any

I tried to restore the bootstrap phase by partially reverting r302041, and the
build errored with clang AND with the base gcc, at another place (some double
definitions building libcpp).

Claude Buisson



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