This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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 ..."
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Michael Cree <mcree at orcon dot net dot nz>
- Date: Tue, 3 Mar 2015 17:30:56 +0100
- Subject: 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 ..."
- Authentication-results: sourceware.org; auth=none
- References: <BANLkTimKCTLGFdiw0VKZdCNhPGBOE29T2Q at mail dot gmail dot com> <CAFULd4Zz6i+WuTPSFbTpUL_wd+OEBDJiiM7XJ8WLBDJyGya22A at mail dot gmail dot com> <53D6821C dot 1030706 at redhat dot com> <CAFULd4YaPvMoiB_AP807aGJLM2OQ4xfkCq6K4y=1mqRgLKSa9g at mail dot gmail dot com> <54EE2013 dot 9020803 at redhat dot com> <CAFULd4br0qErp4BSpofv=w_VaKK+Ya=AHCiut+Du3wB35L4eFw at mail dot gmail dot com> <54F4AABF dot 8090402 at redhat dot com> <CAFULd4Y8bw7ubKDCcAzMLLt5kTUd7Rn96_gdGD6n7KSocnXn=w at mail dot gmail dot com>
On Tue, Mar 3, 2015 at 3:14 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> 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.
Results are here [1].
[1] https://gcc.gnu.org/ml/gcc-testresults/2015-03/msg00346.html
Uros.