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

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Thu Apr 12 10:09:00 GMT 2012


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

--- Comment #18 from Mikael Pettersson <mikpe at it dot uu.se> 2012-04-12 10:09:32 UTC ---
It seems to be triggered(*) by Uros' PR46533 patch in r166999:
http://gcc.gnu.org/viewcvs?view=revision&revision=166999

Repeat-by:
1. have cross tools to alpha-linux hosted on e.g. x86, mine has binutils-2.20.1
2. build gcc-4.6 r166998 as cross to alpha-linux
3. used the above to cross-build a linux-3.3.0 kernel, this works for me
4. repeat steps 2 and 3 with gcc-4.6 r166999, gcc builds ok but the kernel
build fails with the usual 'relocation truncated to fit: GPREL16 against ...'
errors

In my cross environment gcc 4.7 and 4.8 also fail to build a linux kernel, but
4.5.3 and 4.4.7 work.

(*) Presumably gcc triggers a bug in ld.



More information about the Gcc-bugs mailing list