[Buildroot] [PATCH] package/binutils: fix xtensa PR ld/25861

Max Filippov jcmvbkbc at gmail.com
Sat Apr 25 08:49:31 UTC 2020


On Sat, Apr 25, 2020 at 1:24 AM Romain Naour <romain.naour at gmail.com> wrote:
>
> Hi Max, All,
>
> Le 23/04/2020 à 23:32, Thomas Petazzoni a écrit :
> > 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.
>
> Thanks for your work on xtensa!
>
> There is a new a build issue while building qemu_xtensa defconfigs:
>
> https://gitlab.com/buildroot.org/buildroot/-/jobs/526035785
>
> https://gitlab.com/buildroot.org/buildroot/-/jobs/526035783
>
> Probably due to this patch.
>
> Can you have a look?

Yes, XTENSA_NDIFF relocations are handled incorrectly, I'm testing a fix.

-- 
Thanks.
-- Max



More information about the buildroot mailing list