bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/19520] [2.26 regression] R_386_GOT32X relocation breaks gcc boo


From: ro at CeBiTec dot Uni-Bielefeld.DE
Subject: [Bug gas/19520] [2.26 regression] R_386_GOT32X relocation breaks gcc bootstrap with non-gld/gold linker
Date: Wed, 03 Feb 2016 12:14:19 +0000

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

--- Comment #12 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
> (In reply to Rainer Orth from comment #7)
>> > --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
>> > Please checkout users/hjl/pr19520/master branch.  I added a
>> > configure-time option, --enable-new-x86-relocations, and a
>> > run-time option, -mnew-relocations=.
>> 
>> I've successfully bootstrapped gcc mainline with gas 2.26 with your
>> patch applied and /bin/ld.
>
> Please try the updated users/hjl/pr19520/master branch.

Thanks for all the fixes.  I found no problems in the updated branch,
and applied the patch (with minimal changes) to 2.26.

Tested as follows:

* configure and build on i386-pc-solaris2.9,
  DEFAULT_GENERATE_X86_RELAX_RELOCATIONS is 0

* configure and build on i386-pc-solaris2.12 => 1, successfully
  bootstrapped gcc mainline with /bin/ld modified to handle relax relocs

* configure and build on i386-pc-solaris2.12 with
  --disable-x86-relax-relocations => 0, successfully bootstrapped gcc
  mainline with unmodified /bin/ld which doesn't support relax relocs yet

So from my POV the patch is good to go.

Thanks alot.

        Rainer

-- 
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]