[Buildroot] [PATCH] package/gcc: nios2 Backport nios2 r31 fix

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Oct 9 12:05:46 UTC 2016


Hello,

On Sat,  8 Oct 2016 15:46:52 +0200, Romain Naour wrote:
> As reported on the mailing list, gcc5 with binutils 2.26.1 produce some
> assembler error "r31 cannot be used with jmp; use ret instead" [1]
> 
> The bug is reported upstream [2], but gcc 5.4 needs an upstream patch to
> fix this issue.
> 
> Note: openembedded backported the same patch for gcc 5.3 [3]
> 
> [1] http://lists.busybox.net/pipermail/buildroot/2016-September/172932.html
> [2] https://sourceware.org/bugzilla/show_bug.cgi?id=20674
> [3] http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117633.html
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> ---
>  .../5.4.0/880-gcc-nios2-Add-IJMP_REGS-enum.patch   | 103 +++++++++++++++++++++
>  1 file changed, 103 insertions(+)
>  create mode 100644 package/gcc/5.4.0/880-gcc-nios2-Add-IJMP_REGS-enum.patch

Applied to master after adding the references to the autobuilder
failures.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list