Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421655 - dev-lang/spidermonkey-1.8.5-r1 fails to build with ABI=x32 methodjit/PunboxAssembler.h:61:30: error: expected ')' before 'shtag'
Summary: dev-lang/spidermonkey-1.8.5-r1 fails to build with ABI=x32 methodjit/PunboxAs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: InOverlay, InVCS
: 423967 425840 (view as bug list)
Depends on: mozjs187
Blocks: x32
  Show dependency tree
 
Reported: 2012-06-17 19:59 UTC by Xavier Miller (RETIRED)
Modified: 2012-07-11 21:52 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,47.48 KB, text/plain)
2012-06-17 20:00 UTC, Xavier Miller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2012-06-17 19:59:14 UTC
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
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2012-06-17 20:00:12 UTC
Created attachment 315623 [details]
build.log
Comment 2 Jory A. Pratt gentoo-dev 2012-06-23 23:11:13 UTC
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.
Comment 3 Jory A. Pratt gentoo-dev 2012-06-28 21:27:12 UTC
*** Bug 423967 has been marked as a duplicate of this bug. ***
Comment 4 Jory A. Pratt gentoo-dev 2012-07-04 18:52:42 UTC
I have moved it to main tree as well, thanks for reporting.
Comment 5 Jory A. Pratt gentoo-dev 2012-07-11 21:52:07 UTC
*** Bug 425840 has been marked as a duplicate of this bug. ***