This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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, alpha]: Fix PR/47230 [4.6/4.7 Regression] gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ..."


On 07/26/2014 05:35 AM, Uros Bizjak wrote:
> On Mon, May 2, 2011 at 9:21 AM, Uros Bizjak <ubizjak@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  <ubizjak@gmail.com>
>>
>>         PR target/47230
>>         * configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
>>         * configure: Regenerate.
>>
>> config/ChangeLog:
>>
>> 2011-05-02  Uros Bizjak  <ubizjak@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.


r~


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