This is the mail archive of the gcc-bugs@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]

[Bug target/47230] [4.6/4.7 Regression] gcc fails to bootstrap on alpha in stage2 with "relocation truncated to fit: GPREL16 against ..."


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47230

--- Comment #8 from Mikael Pettersson <mikpe at it dot uu.se> 2011-04-29 17:17:48 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > FWIW, I've never gotten that linkage failure on my alphaev6-linux machine, and
> > last week's snapshots (4.7-20110423, 4.6-20110422, and 4.5-20110421) all
> > bootstrapped fine on it.
> 
> Can you please post your configure command?

Sure:

/home/mikpe/gcc-4.7-20110423/configure --prefix=/home/mikpe/install47
--with-gmp=/home/mikpe/pkgs/linux-alpha/gmp-4.3.2
--with-mpfr=/home/mikpe/pkgs/linux-alpha/mpfr-2.4.2
--with-mpc=/home/mikpe/pkgs/linux-alpha/mpc-0.8.2 --disable-plugin
--disable-lto --disable-nls --enable-threads=posix --enable-checking=release
--disable-libmudflap --enable-languages=c,c++ --with-long-double-128
--with-cpu=ev6

> > I do have quite an old binutils (2.18.50.0.9-8.fc10 20080822).  I tried
> > binutils-2.21 once, but it regressed some gcc tls test so I ditched it. 
> > Haven't tried any other binutils versions yet.
> 
> I have reported this problem to binutils and it was fixed by rth in post-2.21
> SVN.

Do you have a reference, like a PR number or an approximate commit date?  I'd
like to backport this fix to my binutils 2.21 based branch.


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