This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] Update _bfd_elf_symbol_refs_local_p/add UNDEFINED_WEAK_RESOLVED_TO_ZERO


On 10/9/17, Alan Modra <amodra@gmail.com> wrote:
> On Mon, Oct 09, 2017 at 04:01:39AM -0700, H.J. Lu wrote:
>> On 10/9/17, Alan Modra <amodra@gmail.com> wrote:
>> > On Sun, Oct 08, 2017 at 09:08:30PM -0700, H.J. Lu wrote:
>> >> On 10/8/17, H.J. Lu <hjl.tools@gmail.com> wrote:
>> >> > You are right.  This only works with
>> >> >
>> >> > CHECK_RELOCS_AFTER_OPEN_INPUT=yes
>> >> >
>> >> > which should also speedup check_relocs and GC.   It should be set
>> >> > for all ELF targets.
>> >> >
>> >>
>> >> Here is a patch which does that.
>> >
>> > I agree in principle, but I'd like to see some test results first.
>> > Preferably with native targets where you can get access to hardware,
>> > and with cross-compiler+libc installed where not, so at least most of
>> > the testsuite is compiled and linked.
>>
>> I can prepare a patch and test it with cross binutils.  But I need help
>> test non-x86 native binutils.  I can fix any issues if I can reproduce
>> them
>> on x86.
>
> I'm willing to help out in the conversion too, but the patch shouldn't
> go in until the huge number of arm and aarch64 fails are investigated.
> Besides arm and aarch64, I see these:
>

> powerpc64-linux  +FAIL: PR ld/13195
> powerpc64-linux  +FAIL: Build rdynamic-1
> powerpc64-linux  +FAIL: Build dynamic-1

How can I reproduce it on x86? powerpc64-linux is clean on
users/hjl/check_relocs branch.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]