Re: [PATCH] MIPS: Disable Loongson MMI instructions for kernel build

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

 



Hello,

Paul Burton wrote:
> GCC 9.x automatically enables support for Loongson MMI instructions when
> using some -march= flags, and then errors out when -msoft-float is
> specified with:
> 
>   cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’
> 
> The kernel shouldn't be using these MMI instructions anyway, just as it
> doesn't use floating point instructions. Explicitly disable them in
> order to fix the build with GCC 9.x.

Applied to mips-fixes.

> commit 2f2b4fd674ca
> https://git.kernel.org/mips/c/2f2b4fd674ca
> 
> Signed-off-by: Paul Burton <paul.burton@xxxxxxxx>
> Fixes: 3702bba5eb4f ("MIPS: Loongson: Add GCC 4.4 support for Loongson2E")
> Fixes: 6f7a251a259e ("MIPS: Loongson: Add basic Loongson 2F support")
> Fixes: 5188129b8c9f ("MIPS: Loongson-3: Improve -march option and move it to Platform")

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@xxxxxxxx to report it. ]




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux