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 Mon, Mar 2, 2015 at 7:23 PM, Richard Henderson <rth@redhat.com> wrote:

>> Unfortunately, while "normal" bootstrap works OK with alpha-linux-gnu
>> and alphaev68-linux-gnu, the bootstrap still fails when configured
>> --with-build-config=bootstrap-lto:
>>
>> libbackend.a(tree-data-ref.o): In function `non_affine_dependence_relation':
>> /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1661:(.text+0x1b8):
>> relocation truncated to fit: GPREL16 against symbol `dump_file'
>> defined in .sbss section in libbackend.a(dumpfile.o)
>
> Interesting.  And using bootstrap-lto works with --no-relax?  I don't believe
> I've ever tried it...

Yes, I can re-confirm, that Rev: 221041 can bootstrap with
-Wl,--no-relax patch on alphaev68-linux-gnu, when configured with
"--with-build-config=bootstrap-lto --disable-werror
--enable-languages=c,c++,fortran" with binutils 2.25. I will post
testresults when bootstrap+regression test finish.

Uros.


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