Re: CURRENT: lang/gcc fails to build on CURRENT with error: configure: error: no usable dependency style found

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sat, 9 Mar 2013 17:02:56 +0100
On Mar 9, 2013, at 16:36 , "Hartmann, O." <ohartman_at_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…

My first guess would be that you have non-default CFLAGS in your build environment, which confuse gcc's build stages.
Received on Sat Mar 09 2013 - 15:03:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC