bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when comp


From: nickc at redhat dot com
Subject: [Bug ld/17739] Assertion fail ../../bfd/elf32-sh.c:4504 on sh4 when compiling Qt5
Date: Wed, 27 Jul 2016 11:52:43 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17739

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #12 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 9405
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9405&action=edit
Proposed patch

(In reply to Rich Felker from comment #11)
> Ping?

Right - please could someone try out this potential patch ?  It works with the
small testcase provided.  But I am not an SH expert and I do not have an SH
Linux system in which to test it thoroughly.  So I am asking for help.

The patch implement's H.J.Lu's suggestion of delaying check_relocs until after
all the input files have been loaded, and linker garbage collection performed,
which means that there is no need for a sweep pass to correct GOT entry counts.

If necessary I can provide a version of the patch made against the 2.26 or 2.25
releases, although I suspect that this version (made against the current
mainline sources) should be able to be applied without too much hassle.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]