MIPS tune mips64-n32
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | gcc-runtime.inc: add CPP support for mips64-n32 tunemeta/ | +10 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] MIPS tune mips64-n32
This patch fixes the issue where a mips CPP compiler configured with n32 cannot find c++ include files:
#include <bits/c++config.h>
int main()
{
return 0;
}error: bits/c++config.h: No such file or directory | #include <bits/c++config.h>
Although the file c++config.h does exist, CPP cannot find it as the file is not in the directory CPP expects it to be in. The fix consists of creating a symlink with the name the directory CPP expects and point it to the location where the CPP files actualy reside.
The patch was tested with two configurations, single compiler and multilib (both of which used to fail the testsdk):
MACHINE="qemumips64"
require conf/multilib.conf
MULTILIBS = "multilib:lib64 multilib:lib32"
DEFAULTTUNE = "mips64-n32"
DEFAULTTUNE_virtclass-multilib-lib64 = "mips64"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips32r2"USER_CLASSES += " testsdk "
bitbake core-image-minimal -c populate_sdk
bitbake core_image_minimal -c testsdk
MACHINE="qemumips64"
DEFAULTTUNE = "mips64-n32"USER_CLASSES += " testsdk "
bitbake core-image-minimal -c populate_sdk
bitbake core_image_minimal -c testsdk
Juro Bystricky (1):
gcc-runtime.inc: add CPP support for mips64-n32 tune
meta/recipes-devtools/gcc/gcc-runtime.inc | 10 ++++++++++ 1 file changed, 10 insertions(+)
Signature · 1 line
2.7.4