On Mon, Jul 28, 2014 at 7:02 PM, Richard Henderson <r...@redhat.com> wrote:
> On 07/26/2014 05:35 AM, Uros Bizjak wrote:
>> On Mon, May 2, 2011 at 9:21 AM, Uros Bizjak <ubiz...@gmail.com> wrote:
>>
>>> It looks that GP relative relocations do not fit anymore into GPREL16
>>> reloc, so bootstrap on alpha hosts fail in stage2 with  "relocation
>>> truncated to fit: GPREL16 against ...". I found no other solution but
>>> to pass --no-relax to linker in order to finish the bootstrap.
>>>
>>> 2011-05-02  Uros Bizjak  <ubiz...@gmail.com>
>>>
>>>         PR target/47230
>>>         * configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
>>>         * configure: Regenerate.
>>>
>>> config/ChangeLog:
>>>
>>> 2011-05-02  Uros Bizjak  <ubiz...@gmail.com>
>>>
>>>         PR target/47230
>>>         * mh-alpha-linux: New file.
>>>
>>> Patch was bootstrapped and regression tested with "GNU ld (GNU
>>> Binutils) 2.21" on alphaev68-pc-linux-gnu [1].
>>>
>>> OK for 4.6. and 4.7 ?
>>>
>>> [1] http://gcc.gnu.org/ml/gcc-testresults/2011-05/msg00089.html
>>
>> Patch was committed to mainline SVN, 4.9 and 4.8 branches.
>
> FYI, this was a bug in ld that I fixed "recently", i.e. after the current 2.24
> release.  It's an ok workaround for release branches, but I'd like it not to 
> be
> committed to mainline please.

Perhaps even better solution for mainline would be to detect a recent
enough linker and skip the workaround in that case? I guess that 2.25
will have this issue fixed?

Uros.

Reply via email to