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.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.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.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch b/meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch new file mode 100644 index 0000000000..1b62ef8065 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.3/0015-gcc-disable-MASK_RELAX_PIC_CALLS-bit.patch | |||
@@ -0,0 +1,59 @@ | |||
1 | From 4bd21a1d63cfb14e261d90adc0c5d4f9462dc555 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 29 Mar 2013 09:14:20 +0400 | ||
4 | Subject: [PATCH 15/46] gcc: disable MASK_RELAX_PIC_CALLS bit | ||
5 | |||
6 | The new feature added after 4.3.3 | ||
7 | "http://www.pubbs.net/200909/gcc/94048-patch-add-support-for-rmipsjalr.html" | ||
8 | will cause cc1plus eat up all the system memory when build webkit-gtk. | ||
9 | The function mips_get_pic_call_symbol keeps on recursively calling itself. | ||
10 | Disable this feature to walk aside the bug. | ||
11 | |||
12 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | |||
15 | Upstream-Status: Inappropriate [configuration] | ||
16 | --- | ||
17 | gcc/configure | 7 ------- | ||
18 | gcc/configure.ac | 7 ------- | ||
19 | 2 files changed, 14 deletions(-) | ||
20 | |||
21 | diff --git a/gcc/configure b/gcc/configure | ||
22 | index 34371a3..8caecdc 100755 | ||
23 | --- a/gcc/configure | ||
24 | +++ b/gcc/configure | ||
25 | @@ -26479,13 +26479,6 @@ $as_echo_n "checking assembler and linker for explicit JALR relocation... " >&6; | ||
26 | rm -f conftest.* | ||
27 | fi | ||
28 | fi | ||
29 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
30 | - if test x$target_cpu_default = x; then | ||
31 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
32 | - else | ||
33 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
34 | - fi | ||
35 | - fi | ||
36 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ld_jalr_reloc" >&5 | ||
37 | $as_echo "$gcc_cv_as_ld_jalr_reloc" >&6; } | ||
38 | |||
39 | diff --git a/gcc/configure.ac b/gcc/configure.ac | ||
40 | index 240d322..57819ff 100644 | ||
41 | --- a/gcc/configure.ac | ||
42 | +++ b/gcc/configure.ac | ||
43 | @@ -4384,13 +4384,6 @@ x: | ||
44 | rm -f conftest.* | ||
45 | fi | ||
46 | fi | ||
47 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
48 | - if test x$target_cpu_default = x; then | ||
49 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
50 | - else | ||
51 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
52 | - fi | ||
53 | - fi | ||
54 | AC_MSG_RESULT($gcc_cv_as_ld_jalr_reloc) | ||
55 | |||
56 | AC_CACHE_CHECK([linker for .eh_frame personality relaxation], | ||
57 | -- | ||
58 | 2.6.3 | ||
59 | |||