Re: Compilation error on linux-mips git

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

 



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@xxxxxxxxx>
> To: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx, David Daney <david.daney@xxxxxxxxxx>
> 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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux