aboutsummaryrefslogtreecommitdiff
path: root/4.6.4
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2013-04-23 05:50:25 +0000
committerRyan Hill <rhill@gentoo.org>2013-04-23 05:50:25 +0000
commite317042071bc40cfc25bdf8984dc656cd3830169 (patch)
tree8bf2666d86a636f2be8165f5f622014057f17c9a /4.6.4
parentfix from upsream for libgcc install paths when doing a canadian cross build (diff)
downloadgcc-patches-e317042071bc40cfc25bdf8984dc656cd3830169.tar.gz
gcc-patches-e317042071bc40cfc25bdf8984dc656cd3830169.tar.bz2
gcc-patches-e317042071bc40cfc25bdf8984dc656cd3830169.zip
Add patch to fix alpha bootstrap (bug #454426).
Diffstat (limited to '4.6.4')
-rw-r--r--4.6.4/gentoo/27_all_alpha-no-relax.patch37
-rw-r--r--4.6.4/gentoo/README.history1
2 files changed, 38 insertions, 0 deletions
diff --git a/4.6.4/gentoo/27_all_alpha-no-relax.patch b/4.6.4/gentoo/27_all_alpha-no-relax.patch
new file mode 100644
index 0000000..375de3f
--- /dev/null
+++ b/4.6.4/gentoo/27_all_alpha-no-relax.patch
@@ -0,0 +1,37 @@
+relocation truncated to fit: GPREL16 against...
+
+https://bugs.gentoo.org/454426
+http://gcc.gnu.org/PR47230
+http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00022.html
+
+
+--- /dev/null
++++ b/config/mh-alpha-linux
+@@ -0,0 +1,3 @@
++# Prevent GPREL16 relocation truncation
++LDFLAGS += -Wl,--no-relax
++BOOT_LDFLAGS += -Wl,--no-relax
+--- a/configure
++++ b/configure
+@@ -3758,6 +3758,9 @@ fi
+ *-interix*)
+ host_makefile_frag="config/mh-interix"
+ ;;
++ alpha*-*-linux*)
++ host_makefile_frag="config/mh-alpha-linux"
++ ;;
+ vax-*-ultrix2*)
+ # The old BSD pcc isn't up to compiling parts of gdb so use gcc
+ tentative_cc=gcc
+--- a/configure.ac
++++ b/configure.ac
+@@ -1185,6 +1185,9 @@ case "${host}" in
+ *-interix*)
+ host_makefile_frag="config/mh-interix"
+ ;;
++ alpha*-*-linux*)
++ host_makefile_frag="config/mh-alpha-linux"
++ ;;
+ vax-*-ultrix2*)
+ # The old BSD pcc isn't up to compiling parts of gdb so use gcc
+ tentative_cc=gcc
diff --git a/4.6.4/gentoo/README.history b/4.6.4/gentoo/README.history
index 21fea94..c3f8e5d 100644
--- a/4.6.4/gentoo/README.history
+++ b/4.6.4/gentoo/README.history
@@ -9,6 +9,7 @@
+ 18_all_libgcc-cross-canadian.patch
+ 25_all_alpha-mieee-default.patch
+ 26_all_alpha-asm-mcpu.patch
+ + 27_all_alpha-no-relax.patch
+ 29_all_arm_armv4t-default.patch
+ 30_all_arm_armv4-no-thumb-fix-link.patch
+ 30_all_m68k_PR43804_T-constraint.patch