kdb
[Top] [All Lists]

Re: [PATCH] fix kdb compilation

To: Keith Owens <kaos@xxxxxxxxxx>
Subject: Re: [PATCH] fix kdb compilation
From: Christoph Hellwig <hch@xxxxxxxxxx>
Date: Mon, 17 Sep 2001 11:41:05 +0200
Cc: kdb@xxxxxxxxxxx
In-reply-to: <2678.1000717588@xxxxxxxxxxxxxxxxxxxxx>; from kaos@xxxxxxxxxx on Mon, Sep 17, 2001 at 07:06:28PM +1000
References: <20010917105350.C23758@xxxxxxxxxx> <2678.1000717588@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-kdb@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Mon, Sep 17, 2001 at 07:06:28PM +1000, Keith Owens wrote:
> On Mon, 17 Sep 2001 10:53:50 +0200, 
> Christoph Hellwig <hch@xxxxxxxxxx> wrote:
> >The version required by Linux itself is 2.9.1.0.25, so could
> >you please either apply the patch (preffered) or write down
> >somewhere what exactly the binutils requirement for kdb is?
> 
> You need at least GNU ld version 2.9.5 (with BFD 2.9.5.0.22) for kdb,
> that is the minimum level I develop on.  kdb uses bfd definitions which
> do not exist before that version, it is not just ATTRIBUTE_UNUSED,
> there are other declarations as well.  Even binutils 2.9.5 defines
> ATTRIBUTE_UNUSED in ansidecl.h.
> 
> #ifndef ATTRIBUTE_UNUSED
> #define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
> #endif /* ATTRIBUTE_UNUSED */

But gcc 2.95.x doesn't and kdb grabs it's ansidecl.h in my setup..

        Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.

<Prev in Thread] Current Thread [Next in Thread>