diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-02-23 19:14:58 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-30 11:37:24 +0100 |
commit | aafa59064b9409e3ce06bf334ca250fc2c483acb (patch) | |
tree | 1bd0f82a6812d154785f849c511771852ab1bf3a /meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch | |
parent | 173f424808b935f5db99905bf5af307990d87107 (diff) | |
download | poky-aafa59064b9409e3ce06bf334ca250fc2c483acb.tar.gz |
gcc-4.7: Add recipes
Add new recipes for gcc-4_7-branch right now gcc 4.7.0
is latest release from this branch
(From OE-Core rev: 3f8fee75e598ad0994acc5da0a612e6eca4f35f6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch b/meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch new file mode 100644 index 0000000000..bc01cd9103 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.7/disable_relax_pic_calls_flag.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | GCC: disable MASK_RELAX_PIC_CALLS bit | ||
4 | |||
5 | The new feature added after 4.3.3 | ||
6 | "http://www.pubbs.net/200909/gcc/94048-patch-add-support-for-rmipsjalr.html" | ||
7 | will cause cc1plus eat up all the system memory when build webkit-gtk. | ||
8 | The function mips_get_pic_call_symbol keeps on recursively calling itself. | ||
9 | Disable this feature to walk aside the bug. | ||
10 | |||
11 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
12 | |||
13 | Index: gcc-4_7-branch/gcc/configure | ||
14 | =================================================================== | ||
15 | --- gcc-4_7-branch.orig/gcc/configure 2012-04-10 10:37:09.351387437 -0700 | ||
16 | +++ gcc-4_7-branch/gcc/configure 2012-04-10 10:37:57.211389779 -0700 | ||
17 | @@ -25837,13 +25837,6 @@ | ||
18 | rm -f conftest.* | ||
19 | fi | ||
20 | fi | ||
21 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
22 | - if test x$target_cpu_default = x; then | ||
23 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
24 | - else | ||
25 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
26 | - fi | ||
27 | - fi | ||
28 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ld_jalr_reloc" >&5 | ||
29 | $as_echo "$gcc_cv_as_ld_jalr_reloc" >&6; } | ||
30 | |||
31 | Index: gcc-4_7-branch/gcc/configure.ac | ||
32 | =================================================================== | ||
33 | --- gcc-4_7-branch.orig/gcc/configure.ac 2012-04-10 10:37:09.339387366 -0700 | ||
34 | +++ gcc-4_7-branch/gcc/configure.ac 2012-04-10 10:37:57.215389769 -0700 | ||
35 | @@ -4027,13 +4027,6 @@ | ||
36 | rm -f conftest.* | ||
37 | fi | ||
38 | fi | ||
39 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
40 | - if test x$target_cpu_default = x; then | ||
41 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
42 | - else | ||
43 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
44 | - fi | ||
45 | - fi | ||
46 | AC_MSG_RESULT($gcc_cv_as_ld_jalr_reloc) | ||
47 | |||
48 | AC_CACHE_CHECK([linker for .eh_frame personality relaxation], | ||