diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch deleted file mode 100644 index 1b1a95b83c..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/disable_relax_pic_calls_flag.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
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 | diff -ruN gcc-4.5.0-orig/gcc/configure gcc-4.5.0/gcc/configure | ||
14 | --- gcc-4.5.0-orig/gcc/configure 2010-09-17 23:30:21.000000000 +0800 | ||
15 | +++ gcc-4.5.0/gcc/configure 2010-09-19 18:21:28.000000000 +0800 | ||
16 | @@ -23945,13 +23945,6 @@ | ||
17 | rm -f conftest.* | ||
18 | fi | ||
19 | fi | ||
20 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
21 | - if test x$target_cpu_default = x; then | ||
22 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
23 | - else | ||
24 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
25 | - fi | ||
26 | - fi | ||
27 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_as_ld_jalr_reloc" >&5 | ||
28 | $as_echo "$gcc_cv_as_ld_jalr_reloc" >&6; } | ||
29 | |||
30 | diff -ruN gcc-4.5.0-orig/gcc/configure.ac gcc-4.5.0/gcc/configure.ac | ||
31 | --- gcc-4.5.0-orig/gcc/configure.ac 2010-09-17 23:30:21.000000000 +0800 | ||
32 | +++ gcc-4.5.0/gcc/configure.ac 2010-09-19 18:21:11.000000000 +0800 | ||
33 | @@ -3467,13 +3467,6 @@ | ||
34 | rm -f conftest.* | ||
35 | fi | ||
36 | fi | ||
37 | - if test $gcc_cv_as_ld_jalr_reloc = yes; then | ||
38 | - if test x$target_cpu_default = x; then | ||
39 | - target_cpu_default=MASK_RELAX_PIC_CALLS | ||
40 | - else | ||
41 | - target_cpu_default="($target_cpu_default)|MASK_RELAX_PIC_CALLS" | ||
42 | - fi | ||
43 | - fi | ||
44 | AC_MSG_RESULT($gcc_cv_as_ld_jalr_reloc) | ||
45 | |||
46 | AC_CACHE_CHECK([linker for .eh_frame personality relaxation], | ||