Closed
Bug 900821
Opened 11 years ago
Closed 11 years ago
SparcAssembler and MIPSAssembler broken since the removal of JM
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
906 bytes,
patch
|
glandium
:
review+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
At the very least, it's broken because it (still) uses methodjit/Logging.h. I hope that's about it.
Assignee | ||
Comment 1•11 years ago
|
||
There's that, too: ../../../js/src/assembler/assembler/MacroAssemblerSparc.h: In member function 'void JSC::MacroAssemblerSparc::add32(JSC::AbstractMacroAssembler<JSC::SparcAssembler>::Imm32, JSC::AbstractMacroAssembler<JSC::SparcAssembler>::AbsoluteAddress)': ../../../js/src/assembler/assembler/MacroAssemblerSparc.h:1017:54: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] ../../../js/src/assembler/assembler/MacroAssemblerSparc.h:530:14: error: initializing argument 2 of 'void JSC::MacroAssemblerSparc::store32(JSC::AbstractMacroAssembler<JSC::SparcAssembler>::RegisterID, void*)' [-fpermissive] ../../../js/src/assembler/assembler/MacroAssemblerSparc.h: In member function 'void JSC::MacroAssemblerSparc::sub32(JSC::AbstractMacroAssembler<JSC::SparcAssembler>::TrustedImm32, JSC::AbstractMacroAssembler<JSC::SparcAssembler>::AbsoluteAddress)': ../../../js/src/assembler/assembler/MacroAssemblerSparc.h:1024:54: error: invalid conversion from 'const void*' to 'void*' [-fpermissive] ../../../js/src/assembler/assembler/MacroAssemblerSparc.h:530:14: error: initializing argument 2 of 'void JSC::MacroAssemblerSparc::store32(JSC::AbstractMacroAssembler<JSC::SparcAssembler>::RegisterID, void*)' [-fpermissive]
Assignee | ||
Comment 2•11 years ago
|
||
../../../js/src/assembler/assembler/MIPSAssembler.h:38:31: fatal error: methodjit/Logging.h: No such file or directory
Summary: SparcAssembler broken since the removal of JM → SparcAssembler and MIPSAssembler broken since the removal of JM
Assignee | ||
Comment 3•11 years ago
|
||
The include stack (similar for sparc): In file included from ../../../js/src/assembler/assembler/MacroAssemblerMIPS.h:33:0, from ../../../js/src/assembler/assembler/MacroAssembler.h:46, from ../../../js/src/yarr/YarrJIT.h:35, from ../../../js/src/vm/RegExpObject.h:24, from ../../../js/src/builtin/RegExp.h:13, from ../../../js/src/vm/GlobalObject.h:18, from ../../../js/src/gc/Zone.h:22, from ../../../js/src/jscompartment.h:16, from ../../../js/src/jsweakmap.h:12, from ../../../js/src/vm/ScopeObject.h:12, from ../../../js/src/vm/ArgumentsObject-inl.h:12,
Comment 4•11 years ago
|
||
Fwiw we (OpenBSD) dont use those because : - firefox doesnt work on sparc32 (way too much work to fix its deps, and the 32-bit port targets old hardware, cf http://openbsd.org/sparc.html) and mips64 (different ABI than the one supported - older mips64/sgi & mips64el/loongson use n64 vs o32/n32) - sparc64/v9 works but doesnt use SparcAssembler (which, iirc was meant for solaris/sparcv8 ?)
Assignee | ||
Comment 5•11 years ago
|
||
Disabling YarrJIT for both gets me past js.
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #784932 -
Flags: review?(luke)
Assignee | ||
Updated•11 years ago
|
Assignee: general → mh+mozilla
Updated•11 years ago
|
Attachment #784932 -
Flags: review?(luke) → review+
Comment 7•11 years ago
|
||
To get the PPCAssembler working again after JM's removal, I had to convert everything over to GenericAssembler::staticSpew().
Assignee | ||
Comment 8•11 years ago
|
||
Same patch, but with only the relevant part.
Assignee | ||
Updated•11 years ago
|
Attachment #784932 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 785563 [details] [diff] [review] Disable Yarr JIT on sparc and mips Carrying over r+
Attachment #785563 -
Flags: review+
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3ce5e843adb1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Assignee | ||
Comment 11•11 years ago
|
||
Comment on attachment 785563 [details] [diff] [review] Disable Yarr JIT on sparc and mips [Approval Request Comment] Requesting for beta because i'd like this in ESR24 so that I don't have to carry the patch around for the ESR. User impact if declined: Build failure on sparc and mips Testing completed (on m-c, etc.): Tested on sparc and mips. Risk to taking this patch (and alternatives if risky): NPOTB. String or IDL/UUID changes made by this patch: None
Attachment #785563 -
Flags: approval-mozilla-beta?
Updated•11 years ago
|
Attachment #785563 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 12•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/83a8ae1b8add
status-firefox24:
--- → fixed
status-firefox25:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•