mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
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 <lei.liu2@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user