Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: tsbogend@alpha.franken.de (Thomas Bogendoerfer)
To: Martin Michlmayr <tbm@cyrius.com>
Cc: Dmitri Vorobiev <dmitri.vorobiev@gmail.com>, linux-mips@linux-mips.org
Subject: Re: Malta build errors with 2.6.26-rc1
Date: Wed, 28 May 2008 10:50:34 +0200	[thread overview]
Message-ID: <20080528085033.GA6250@alpha.franken.de> (raw)
In-Reply-To: <20080528071240.GB10393@deprecation.cyrius.com>

On Wed, May 28, 2008 at 09:12:40AM +0200, Martin Michlmayr wrote:
> * Dmitri Vorobiev <dmitri.vorobiev@gmail.com> [2008-05-12 23:46]:
> > > Some Malta build errors:
> > >
> > >  cc1: warnings being treated as errors
> > >  arch/mips/mips-boards/malta/malta_int.c: In function 'gcmp_probe':
> > >  arch/mips/mips-boards/malta/malta_int.c:408: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c: In function 'arch_init_irq':
> > >  arch/mips/mips-boards/malta/malta_int.c:437: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c:441: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c: In function 'malta_be_handler':
> > >  arch/mips/mips-boards/malta/malta_int.c:656: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c:657: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c:658: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/malta/malta_int.c:704: warning: cast to pointer from integer of different size
> > >  make[5]: *** [arch/mips/mips-boards/malta/malta_int.o] Error 1
> > >
> > >  and:
> > >
> > >  arch/mips/mips-boards/generic/amon.c: In function 'amon_cpu_avail':
> > >  arch/mips/mips-boards/generic/amon.c:31: error: implicit declaration of function 'KSEG0ADDR'
> > >  cc1: warnings being treated as errors
> > >  arch/mips/mips-boards/generic/amon.c:31: warning: cast to pointer from integer of different size
> > >  arch/mips/mips-boards/generic/amon.c: In function 'amon_cpu_start':
> > >  arch/mips/mips-boards/generic/amon.c:56: warning: cast to pointer from integer of different size
> > >  make[4]: *** [arch/mips/mips-boards/malta] Error 2
> > >
> > 
> > Known error. Please see this thread for some suggestions (and be
> > warned that I did not try any of them):
> > http://marc.info/?t=120966332300004&r=1&w=2
> 
> Isn't that a completely different issue?  Anyway, I just tried and I
> still see the problems above (with 64 bit Malta) still after applying
> the traps.c patch from Thomas Bogendoerfer.

I didn't fix the problems above. The change to traps.c only fixes
traps.c for 64bit builds and it's a totally different issue. Looking
at the warning/errors someone needs to fix some data types and use 
CKSEG0ADDR(). I don't have the hardware, so I could only provide
an untested patch, if no one else steps forward...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]

  reply	other threads:[~2008-05-28  8:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-12 16:31 Malta build errors with 2.6.26-rc1 Martin Michlmayr
2008-05-12 16:32 ` Martin Michlmayr
2008-05-12 19:46 ` Dmitri Vorobiev
2008-05-28  7:12   ` Martin Michlmayr
2008-05-28  8:50     ` Thomas Bogendoerfer [this message]
2008-05-28 15:10       ` Martin Michlmayr
2008-05-29 20:05         ` Thomas Bogendoerfer
2008-06-02 15:40           ` Dmitri Vorobiev
2008-06-03  8:38             ` Dmitri Vorobiev
2008-06-15  8:22           ` Ralf Baechle
2008-05-29  6:25       ` Dmitri Vorobiev
2008-05-30 12:48     ` Dmitri Vorobiev

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=20080528085033.GA6250@alpha.franken.de \
    --to=tsbogend@alpha.franken.de \
    --cc=dmitri.vorobiev@gmail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=tbm@cyrius.com \
    /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