diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-14 06:23:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:08:49 +0000 |
commit | 4b83f1fef986b72c59ac438372c4a576745b9d4f (patch) | |
tree | 0c7d793e70eb3bd5704bcf8268321a97a31b6016 /meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch | |
parent | 0381b78aa4dfc0d338fba69502e8f03a0c0f21e7 (diff) | |
download | poky-4b83f1fef986b72c59ac438372c4a576745b9d4f.tar.gz |
gcc5: Upgrade gcc-5.2 -> gcc-5.3
Minor bugfix upgrade to gcc 5.3 for detailed list of fixes in 5.3 see
https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=132738&resolution=FIXED&target_milestone=5.3
(From OE-Core rev: 8b664a7d6bba89a8221d7fd1a52915fef0002d71)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch b/meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch deleted file mode 100644 index 67c066123d..0000000000 --- a/meta/recipes-devtools/gcc/gcc-5.2/0013-64-bit-multilib-hack.patch +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | From d5151bebd079e981dc710f2a031830d89cb1e72e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 Mar 2013 09:10:06 +0400 | ||
4 | Subject: [PATCH 13/35] 64-bit multilib hack. | ||
5 | |||
6 | GCC has internal multilib handling code but it assumes a very specific rigid directory | ||
7 | layout. The build system implementation of multilib layout is very generic and allows | ||
8 | complete customisation of the library directories. | ||
9 | |||
10 | This patch is a partial solution to allow any custom directories to be passed into gcc | ||
11 | and handled correctly. It forces gcc to use the base_libdir (which is the current | ||
12 | directory, "."). We need to do this for each multilib that is configured as we don't | ||
13 | know which compiler options may be being passed into the compiler. Since we have a compiler | ||
14 | per mulitlib at this point that isn't an issue. | ||
15 | |||
16 | The one problem is the target compiler is only going to work for the default multlilib at | ||
17 | this point. Ideally we'd figure out which multilibs were being enabled with which paths | ||
18 | and be able to patch these entries with a complete set of correct paths but this we | ||
19 | don't have such code at this point. This is something the target gcc recipe should do | ||
20 | and override these platform defaults in its build config. | ||
21 | |||
22 | RP 15/8/11 | ||
23 | |||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
25 | Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> | ||
26 | |||
27 | Upstream-Status: Pending | ||
28 | --- | ||
29 | gcc/config/i386/t-linux64 | 6 ++---- | ||
30 | gcc/config/mips/t-linux64 | 10 +++------- | ||
31 | gcc/config/rs6000/t-linux64 | 5 ++--- | ||
32 | 3 files changed, 7 insertions(+), 14 deletions(-) | ||
33 | |||
34 | diff --git a/gcc/config/i386/t-linux64 b/gcc/config/i386/t-linux64 | ||
35 | index f6dbb78..d770da5 100644 | ||
36 | --- a/gcc/config/i386/t-linux64 | ||
37 | +++ b/gcc/config/i386/t-linux64 | ||
38 | @@ -32,7 +32,5 @@ | ||
39 | # | ||
40 | comma=, | ||
41 | MULTILIB_OPTIONS = $(subst $(comma),/,$(TM_MULTILIB_CONFIG)) | ||
42 | -MULTILIB_DIRNAMES = $(patsubst m%, %, $(subst /, ,$(MULTILIB_OPTIONS))) | ||
43 | -MULTILIB_OSDIRNAMES = m64=../lib64$(call if_multiarch,:x86_64-linux-gnu) | ||
44 | -MULTILIB_OSDIRNAMES+= m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:i386-linux-gnu) | ||
45 | -MULTILIB_OSDIRNAMES+= mx32=../libx32$(call if_multiarch,:x86_64-linux-gnux32) | ||
46 | +MULTILIB_DIRNAMES = . . | ||
47 | +MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) | ||
48 | diff --git a/gcc/config/mips/t-linux64 b/gcc/config/mips/t-linux64 | ||
49 | index 7e96406..b72dcb0 100644 | ||
50 | --- a/gcc/config/mips/t-linux64 | ||
51 | +++ b/gcc/config/mips/t-linux64 | ||
52 | @@ -17,10 +17,6 @@ | ||
53 | # <http://www.gnu.org/licenses/>. | ||
54 | |||
55 | MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi=64 | ||
56 | -MULTILIB_DIRNAMES = n32 32 64 | ||
57 | -MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el) | ||
58 | -MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft) | ||
59 | -MULTILIB_OSDIRNAMES = \ | ||
60 | - ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \ | ||
61 | - ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \ | ||
62 | - ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT)) | ||
63 | +MULTILIB_DIRNAMES = . . . | ||
64 | +MULTILIB_OSDIRNAMES = ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) | ||
65 | + | ||
66 | diff --git a/gcc/config/rs6000/t-linux64 b/gcc/config/rs6000/t-linux64 | ||
67 | index b6b351d..1d5b37a 100644 | ||
68 | --- a/gcc/config/rs6000/t-linux64 | ||
69 | +++ b/gcc/config/rs6000/t-linux64 | ||
70 | @@ -26,10 +26,9 @@ | ||
71 | # MULTILIB_OSDIRNAMES according to what is found on the target. | ||
72 | |||
73 | MULTILIB_OPTIONS := m64/m32 | ||
74 | -MULTILIB_DIRNAMES := 64 32 | ||
75 | +MULTILIB_DIRNAMES := . . | ||
76 | MULTILIB_EXTRA_OPTS := | ||
77 | -MULTILIB_OSDIRNAMES := m64=../lib64$(call if_multiarch,:powerpc64-linux-gnu) | ||
78 | -MULTILIB_OSDIRNAMES += m32=$(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:powerpc-linux-gnu) | ||
79 | +MULTILIB_OSDIRNAMES := ../$(shell basename $(base_libdir)) ../$(shell basename $(base_libdir)) | ||
80 | |||
81 | rs6000-linux.o: $(srcdir)/config/rs6000/rs6000-linux.c | ||
82 | $(COMPILE) $< | ||
83 | -- | ||
84 | 2.1.4 | ||
85 | |||