Skip to contentSkip to conversation

Enable building multiarch mips gcc

PATCH New Lei Liu 1 participant 1 message Nov 11, 2013

lore
Share & tools
lore

Lei Liu

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/gcc/gcc-common.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
meta/recipes-devtools/gcc/gcc-common.inc +1 -0
index adaef03..6f3bd24 100644
@@ -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",
     }
 
Signature · 1 line
1.7.0.5