Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Ganesan Ramalingam <ganesan18@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	David Daney <david.daney@cavium.com>,
	linux-mips@linux-mips.org
Subject: Re: Compilation error on linux-mips git
Date: Wed, 27 Jul 2011 21:27:33 +0100	[thread overview]
Message-ID: <20110727202733.GA10842@linux-mips.org> (raw)
In-Reply-To: <CAJ4A=e5bvq-RQ__ktbJ2u0eYJkeNNJOcS9nfBOdEJZrwasty_A@mail.gmail.com>

On Wed, Jul 27, 2011 at 07:40:02PM +0530, Ganesan Ramalingam wrote:
> Date:   Wed, 27 Jul 2011 19:40:02 +0530
> From: Ganesan Ramalingam <ganesan18@gmail.com>
> To: Ralf Baechle <ralf@linux-mips.org>
> Cc: linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>
> Subject: Re: Compilation error on linux-mips git
> Content-Type: multipart/alternative; boundary=0023545bcf24e7046c04a90d9b5b
> 
> Got the error with below version of compiler:
> 
> Target: mips64-unknown-linux-gnu
> Configured with: ../gcc-4.2.2/configure
> --prefix=/home/rpmbuilder/CROSS_TOOLCHAIN
> --with-local-prefix=/home/rpmbuilder/CROSS_TOOLCHAIN/mips64-unknown-linux-gnu
> --target=mips64-unknown-linux-gnu --host=x86-cross-linux-gnu --disable-nls
> --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99
> --enable-long-long --enable-threads=posix --with-arch=xlr --with-float=soft
> --with-tune=xlr
> --with-sysroot=/home/rpmbuilder/CROSS_TOOLCHAIN/mips64-unknown-linux-gnu
> --with-headers=/home/rpmbuilder/CROSS_TOOLCHAIN/mips64-unknown-linux-gnu/usr/include
> Thread model: posix
> gcc version 4.2.2

And the warning is correct; I don't know why later compilers don't spot it.
It's not like the code has any complex control flow.

  Ralf

       reply	other threads:[~2011-07-27 20:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJ4A=e4dvK3RVCdha8f_Vs6kbc1cmfzwdAPtUe3+3AUuVddgRA@mail.gmail.com>
     [not found] ` <20110727134737.GA8930@linux-mips.org>
     [not found]   ` <CAJ4A=e5bvq-RQ__ktbJ2u0eYJkeNNJOcS9nfBOdEJZrwasty_A@mail.gmail.com>
2011-07-27 20:27     ` Ralf Baechle [this message]
2011-08-03  0:17       ` Compilation error on linux-mips git Ralf Baechle
2011-08-03 11:27         ` Ganesan Ramalingam

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=20110727202733.GA10842@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=david.daney@cavium.com \
    --cc=ganesan18@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.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