From 460954b1b31981f0857f338d2fa702af9395a652 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Sun, 19 Sep 2010 22:29:09 +0800 Subject: upgrade gcc to 4.5.0 for mips architecture Fix the out of memory when building webkit-gtk with gcc-4.5.0 The new feature added after 4.3.3 "http://www.pubbs.net/200909/gcc/94048-patch-add-support-for-rmipsjalr.html" will cause cc1plus eat up all the system memory when build webkit-gtk. The function mips_get_pic_call_symbol keeps on recursively calling itself. Disable this feature to walk aside the bug. Signed-off-by: Dongxiao Xu --- meta/recipes-devtools/gcc/gcc-4.5.0.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/gcc/gcc-4.5.0.inc') diff --git a/meta/recipes-devtools/gcc/gcc-4.5.0.inc b/meta/recipes-devtools/gcc/gcc-4.5.0.inc index 6ca2f98bc..6da8ddaa5 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.0.inc +++ b/meta/recipes-devtools/gcc/gcc-4.5.0.inc @@ -47,6 +47,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ file://64bithack.patch \ file://optional_libstdc.patch \ + file://disable_relax_pic_calls_flag.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " -- cgit v1.2.3