public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dale Harris <rodmur@maybe.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: compile problems on PPC for 2.6.0-test4
Date: Sat, 6 Sep 2003 06:55:33 -0700	[thread overview]
Message-ID: <20030906135533.GN29466@maybe.org> (raw)
In-Reply-To: <1062835714.824.17.camel@gaston>

On Sat, Sep 06, 2003 at 10:08:34AM +0200, Benjamin Herrenschmidt elucidated:
> 
> It shoud not be failing on this though:

No, it didn't fail, it was just a warning from the compiler.

> 
> #define mdelay(n) (\
> 	(__builtin_constant_p(n) && (n)<=MAX_UDELAY_MS) ? udelay((n)*1000) : \
> 	({unsigned long __ms=(n); while (__ms--) udelay(1000);}))
> 
> The __builtin_constant_p(5000) && (5000)<=5 test should fail thus
> turning into a loop of udelay(1000). Your gcc seems to be screwing
> it up. What version are you using ?

2.95.4, but this is from Debian unstable, package version: 2.95.4-17. 

> 
> The current bk snapshot I have here doesn't have a problem at this line.

BTW, I guess I wasn't compiling a straight vanilla kernel, it was off
your rsync server, source.mvista.com::linuxppc-2.5.  The vanilla kernel
bombs drivers/ide/ppc/pmac.c on my laptop.


-- 
Dale Harris   
rodmur@maybe.org
/.-)

      reply	other threads:[~2003-09-06 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-06  4:09 compile problems on PPC for 2.6.0-test4 Dale Harris
2003-09-06  8:08 ` Benjamin Herrenschmidt
2003-09-06 13:55   ` Dale Harris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030906135533.GN29466@maybe.org \
    --to=rodmur@maybe.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox