tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gdb: "error: no usable dependency style found"



On Sat, Sep 29, 2012 at 07:09:37PM +0200, Manuel Bouyer wrote:
> On Tue, Sep 18, 2012 at 01:35:17PM -0500, David Young wrote:
> > On Thu, Dec 15, 2011 at 11:58:14AM +0100, Manuel Bouyer wrote:
> > > Hello,
> > > trying to build a cross-gdb targetting amd64 (with build.sh -V 
> > > MKCROSSGDB=yes)
> > > on a linux host, I get:
> > > checking for _FILE_OFFSET_BITS value needed for large files... no
> > > checking for cc option to accept ANSI C... none needed
> > > checking dependency style of cc... none
> > > configure: error: no usable dependency style found
> > > *** [configure-gdb] Error code 1
> > > 
> > > this used to work, I think it's related to the recent gdb update.
> > > Any idea ?
> > 
> > I just stumbled on this today.  I'm building 6.0 RC1 on a Linux host.
> > Besides building w/o MKCROSSGDB=yes, are any workarounds/fixes known?
> 
> Ha, I did run into this, and forgot to commit the patch.
> The fix is to build gdb with gmake.
> The attached patch should fix the problem (I can't check right now, the
> box where I fixed this is not accessible at this time)

Your patch did the trick!  Thanks.  Commit & pull up to 6?

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index