diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-21 16:05:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-25 16:35:52 +0100 |
commit | 2ef14dff79230a67258995c27b49aaab1aae92ca (patch) | |
tree | 64649c848a1241ba2cdfa5909e9ff282a2348e0c /meta/recipes-devtools/gcc/gcc-4.6/disable_relax_pic_calls_flag.patch | |
parent | aecbfbc0abd584aa1a08cd655eae6e1f99b2a60c (diff) | |
download | poky-2ef14dff79230a67258995c27b49aaab1aae92ca.tar.gz |
gcc-4.6: Retire into toochain-layer
If anyone wants it add toolchain-layer from meta-openembedded
repo to your setup
(From OE-Core rev: a78260d8d041e606ce4d10c0bb52f196dd27832e)
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.6/disable_relax_pic_calls_flag.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/disable_relax_pic_calls_flag.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/disable_relax_pic_calls_flag.patch b/meta/recipes-devtools/gcc/gcc-4.6/disable_relax_pic_calls_flag.patch deleted file mode 100644 index 22c106d25f..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.6/disable_relax_pic_calls_flag.patch +++ /dev/null | |||
@@ -1,48 +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 | Index: gcc-4.6.0/gcc/configure | ||
14 | =================================================================== | ||
15 | --- gcc-4.6.0.orig/gcc/configure | ||
16 | +++ gcc-4.6.0/gcc/configure | ||
17 | @@ -24887,13 +24887,6 @@ $as_echo_n "checking assembler and linke | ||
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.6.0/gcc/configure.ac | ||
32 | =================================================================== | ||
33 | --- gcc-4.6.0.orig/gcc/configure.ac | ||
34 | +++ gcc-4.6.0/gcc/configure.ac | ||
35 | @@ -3764,13 +3764,6 @@ x: | ||
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], | ||