Build mozjs failed with: MACHINE = "qemumips" DEFAULTTUNE="mips" # The default for qemumips is "mips32r2" with which builds fine. Add meta-oe layer in bblayers.conf: meta-openembedded/meta-oe /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5215:16: error: invalid use of incomplete type 'struct JSC::JSObject' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5215:18: error: invalid use of incomplete type 'struct JSC::JSObject' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5215:37: error: invalid use of incomplete type 'struct JSC::js::Shape' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5215:39: error: invalid use of incomplete type 'struct JSC::js::Shape' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5215:47: error: 'UndefinedValue' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5228:58: error: cannot convert 'JSC::JSContext*' to 'JSContext*' for argument '1' to 'JSBool JS_ReportErr /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5234:73: error: cannot convert 'JSC::JSContext*' to 'JSContext*' for argument '1' to 'void JS_ReportError /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5519:5: error: 'Sprinter' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5520:5: error: 'sprinter' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5522:10: error: 'StackIter' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5522:28: error: 'i' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:5534:1: error: expected '}' at end of input /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:627:35: error: 'BoxNonStrictThis' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:645:30: error: invalid use of incomplete type 'struct JSC::JSContext' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:665:68: error: 'ObjectValue' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:627:35: error: 'BoxNonStrictThis' was not declared in this scope /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:645:30: error: invalid use of incomplete type 'struct JSC::JSContext' /path_to_mozjs_dir/mozjs17.0.0/js/src/jsobj.cpp:665:68: error: 'ObjectValue' was not declared in this scope
Looks like a duplicate of the previous bug. *** This bug has been marked as a duplicate of bug 12358 ***