Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Enable building multiarch mips gcc
@ 2013-11-11  4:43 Lei Liu
  0 siblings, 0 replies; only message in thread
From: Lei Liu @ 2013-11-11  4:43 UTC (permalink / raw)
  To: openembedded-core

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@windriver.com>
---
 meta/recipes-devtools/gcc/gcc-common.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index adaef03..6f3bd24 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",
     }
 
-- 
1.7.0.5



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-11-11  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11  4:43 [PATCH] Enable building multiarch mips gcc Lei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox