Patchwork Enable building multiarch mips gcc

mail settings
Submitter Lei Liu
Date Nov. 11, 2013, 4:43 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/61397/
State Accepted
Commit c210393b3e0c54606493e311d7c2040efebc4dcd
Headers show


Lei Liu - Nov. 11, 2013, 4:43 a.m.
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

Signed-off-by: Lei Liu <>
 meta/recipes-devtools/gcc/ |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/meta/recipes-devtools/gcc/ b/meta/recipes-devtools/gcc/
index adaef03..6f3bd24 100644
--- a/meta/recipes-devtools/gcc/
+++ b/meta/recipes-devtools/gcc/
@@ -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",