From: Lei Liu Date: Mon, 11 Nov 2013 04:43:51 +0000 (+0800) Subject: gcc-common: Enable building multiarch mips gcc X-Git-Tag: rev_ivi_2015_02_04~10422 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=985ac438a9c0644c4d1e6541b460a486b849bdc7;p=scm%2Fbb%2Ftizen-distro.git gcc-common: Enable building multiarch mips gcc MIPS gcc is not configured with multiarch enabled. This causes compiler generates local label with $ prefix, which is specified in default o32 abi. It is not recognized as local symbol by n64 assembler, so we get a lot of unexpected external symbols. We should configure MIPS gcc with --enable-targets=all, as for other archs. (From OE-Core rev: c210393b3e0c54606493e311d7c2040efebc4dcd) Signed-off-by: Lei Liu Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 4f691a0..dcb22ba 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -28,6 +28,7 @@ def get_gcc_multiarch_setting(bb, d): multiarch_options = { "i586": "--enable-targets=all", "powerpc": "--enable-targets=powerpc64", + "mips": "--enable-targets=all", "sparc": "--enable-targets=all", }