[oe-commits] Lei Liu : gcc-common: Enable building multiarch mips gcc

git at git.openembedded.org git at git.openembedded.org
Tue Nov 12 16:09:26 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c210393b3e0c54606493e311d7c2040efebc4dcd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c210393b3e0c54606493e311d7c2040efebc4dcd

Author: Lei Liu <layliu at gmail.com>
Date:   Mon Nov 11 12:43:51 2013 +0800

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.

Signed-off-by: Lei Liu <lei.liu2 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-common.inc | 1 +
 1 file changed, 1 insertion(+)

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",
     }
 



More information about the Openembedded-commits mailing list