[Buildroot] [PATCH] package/binutils: fix xtensa PR ld/25861
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Apr 23 21:32:21 UTC 2020
On Wed, 22 Apr 2020 20:11:45 -0700
Max Filippov <jcmvbkbc at gmail.com> wrote:
> Handle link-time relaxation of full 16-bit difference values correctly
> in xtensa linker. This fixes the following kind of build errors:
>
> .../five-point.cpp:338:(.debug_line+0x3b12):
> dangerous relocation: overflow after relaxation
>
> Backported from:
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=30ce8e47fad9b057b6d7af9e1d43061126d34d20
> Fixes:
> http://autobuild.buildroot.net/results/67a5545779bbe8ca2b21da1f3ff2002053710ce1/
> http://autobuild.buildroot.net/results/87f38998d2d60b6bce3128589973187ef9596e28/
>
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
> .../2.31.1/0019-xtensa-fix-PR-ld-25861.patch | 376 +++++++++++++++
> .../2.32/0008-xtensa-fix-PR-ld-25861.patch | 432 ++++++++++++++++++
> .../2.33.1/0005-xtensa-fix-PR-ld-25861.patch | 432 ++++++++++++++++++
> 3 files changed, 1240 insertions(+)
> create mode 100644 package/binutils/2.31.1/0019-xtensa-fix-PR-ld-25861.patch
> create mode 100644 package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch
> create mode 100644 package/binutils/2.33.1/0005-xtensa-fix-PR-ld-25861.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list