methodjit/PunboxAssembler.h: At global scope: methodjit/PunboxAssembler.h:61:30: error: expected ')' before 'shtag' methodjit/PunboxAssembler.h: In constructor 'js::mjit::ImmType::ImmType(JSValueType)': methodjit/PunboxAssembler.h:69:64: error: 'JSVAL_TYPE_TO_SHIFTED_TAG' was not declared in this scope methodjit/PunboxAssembler.h:69:65: error: 'JSValueShiftedTag' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'void js::mjit::PunboxAssembler::loadValueAsComponents(const js::Value&, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:130:38: error: 'JSVAL_TAG_MASK' was not declared in this scope methodjit/PunboxAssembler.h:131:38: error: 'JSVAL_PAYLOAD_MASK' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testNull(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:280:44: error: 'JSVAL_SHIFTED_TAG_NULL' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testUndefined(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:289:44: error: 'JSVAL_SHIFTED_TAG_UNDEFINED' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testInt32(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:298:44: error: 'JSVAL_SHIFTED_TAG_INT32' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testNumber(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:309:33: error: 'JSVAL_UPPER_EXCL_SHIFTED_TAG_OF_NUMBER_SET' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testPrimitive(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:320:33: error: 'JSVAL_UPPER_EXCL_SHIFTED_TAG_OF_PRIMITIVE_SET' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testObject(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:330:44: error: 'JSVAL_SHIFTED_TAG_OBJECT' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testDouble(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:340:44: error: 'JSVAL_SHIFTED_TAG_MAX_DOUBLE' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testBoolean(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:349:44: error: 'JSVAL_SHIFTED_TAG_BOOLEAN' was not declared in this scope methodjit/PunboxAssembler.h: In member function 'JSC::AbstractMacroAssembler<JSC::X86Assembler>::Jump js::mjit::PunboxAssembler::testString(JSC::MacroAssemblerX86Common::Condition, JSC::AbstractMacroAssembler<JSC::X86Assembler>::RegisterID)': methodjit/PunboxAssembler.h:358:44: error: 'JSVAL_SHIFTED_TAG_STRING' was not declared in this scope In file included from nanojit/Native.h:66:0, from nanojit/nanojit.h:374, from jsbuiltins.h:45, from jstracer.h:48, from jscompartment.cpp:47: nanojit/NativeX64.h: At global scope: nanojit/NativeX64.h:346:31: warning: 'nanojit::SavedRegs' defined but not used [-Wunused-variable] nanojit/NativeX64.h:354:31: warning: 'nanojit::SingleByteStoreRegs' defined but not used [-Wunused-variable] make[1]: *** [jscompartment.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from jscntxt.cpp:62:0: jscntxt.h: In function 'JSContext* js_ContextIterator(JSRuntime*, JSBool, JSContext**)': jscntxt.h:2603:21: warning: 'lockIf.js::AutoLockGC::rt' may be used uninitialized in this function [-Wmaybe-uninitialized] jscntxt.cpp:1138:31: note: 'lockIf.js::AutoLockGC::rt' was declared here make[1]: Leaving directory `/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src' make: *** [default] Error 2 emake failed * ERROR: dev-lang/spidermonkey-1.8.5-r1 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 5585: Called die * The specific snippet of code: * emake || die * * If you need support, post the output of `emerge --info '=dev-lang/spidermonkey-1.8.5-r1'`, * the complete build log and the output of `emerge -pqv '=dev-lang/spidermonkey-1.8.5-r1'`. * The complete build log is located at '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5/js/src' * S: '/var/tmp/portage/dev-lang/spidermonkey-1.8.5-r1/work/js-1.8.5' Reproducible: Always
Created attachment 315623 [details] build.log
I have added a spidermonkey-1.8.7 ebuild to the mozilla overlay which supports x32, you will need to ensure you re-emerge nspr from mozilla overlay first if you would like to test.
*** Bug 423967 has been marked as a duplicate of this bug. ***
I have moved it to main tree as well, thanks for reporting.
*** Bug 425840 has been marked as a duplicate of this bug. ***