diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2013-04-23 05:50:25 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2013-04-23 05:50:25 +0000 |
commit | c21d427930ea2f6ee81f55afa8cd5df954628104 (patch) | |
tree | 786fd675fd0f7234251af142c824580276530227 /src/patchsets/gcc/4.6.4 | |
parent | take leadership. update roles (diff) | |
download | gentoo-c21d427930ea2f6ee81f55afa8cd5df954628104.tar.gz gentoo-c21d427930ea2f6ee81f55afa8cd5df954628104.tar.bz2 gentoo-c21d427930ea2f6ee81f55afa8cd5df954628104.zip |
Add patch to fix alpha bootstrap (bug #454426).
Diffstat (limited to 'src/patchsets/gcc/4.6.4')
-rw-r--r-- | src/patchsets/gcc/4.6.4/gentoo/27_all_alpha-no-relax.patch | 37 | ||||
-rw-r--r-- | src/patchsets/gcc/4.6.4/gentoo/README.history | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/src/patchsets/gcc/4.6.4/gentoo/27_all_alpha-no-relax.patch b/src/patchsets/gcc/4.6.4/gentoo/27_all_alpha-no-relax.patch new file mode 100644 index 0000000000..375de3fa49 --- /dev/null +++ b/src/patchsets/gcc/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/src/patchsets/gcc/4.6.4/gentoo/README.history b/src/patchsets/gcc/4.6.4/gentoo/README.history index 21fea94d50..c3f8e5d01a 100644 --- a/src/patchsets/gcc/4.6.4/gentoo/README.history +++ b/src/patchsets/gcc/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 |