Bug#908486: mozjs60: FTBFS on mips64el: error: no matching function for call to [...]: candidate expects 1 argument, 0 provided
Source: mozjs60
Version: 60.1.0-1
Severity: serious
Tags: ftbfs help
Justification: fails to build from source
X-Debbugs-Cc: debian-mips@lists.debian.org
User: debian-mips@lists.debian.org
Usertags: mips64el
mozjs60 fails to build on mips64el. It looks as though some
mips64-specific code might need updating for API changes or similar?
We can't upgrade gjs to a version that uses mozjs60 until either this is
fixed somehow, or gjs and its dependencies (notably GNOME Shell) are
removed from mips64el.
/<<PKGBUILDDIR>>/js/src/jit/mips64/LIR-mips64.h: In constructor 'js::jit::LUnbox::LUnbox(const js::jit::LAllocation&)':
/<<PKGBUILDDIR>>/js/src/jit/mips64/LIR-mips64.h:18:47: error: no matching function for call to 'js::jit::LInstructionHelper<1, 1, 0>::LInstructionHelper()'
explicit LUnbox(const LAllocation& input) {
^
In file included from /<<PKGBUILDDIR>>/js/src/jit/JitFrames-inl.h:12,
from /<<PKGBUILDDIR>>/js/src/vm/Interpreter.cpp:52:
/<<PKGBUILDDIR>>/js/src/jit/LIR.h:1176:14: note: candidate: 'js::jit::LInstructionHelper<Defs, Operands, Temps>::LInstructionHelper(js::jit::LNode::Opcode) [with long unsigned int Defs = 1; long unsigned int Operands = 1; long unsigned int Temps = 0]'
explicit LInstructionHelper(LNode::Opcode opcode)
^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/js/src/jit/LIR.h:1176:14: note: candidate expects 1 argument, 0 provided
/<<PKGBUILDDIR>>/js/src/jit/LIR.h:1171:7: note: candidate: 'js::jit::LInstructionHelper<1, 1, 0>::LInstructionHelper(js::jit::LInstructionHelper<1, 1, 0>&&)'
class LInstructionHelper : public details::LInstructionFixedDefsTempsHelper<Defs, Temps>
^~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/js/src/jit/LIR.h:1171:7: note: candidate expects 1 argument, 0 provided
In file included from /<<PKGBUILDDIR>>/js/src/jit/LIR.h:2028,
from /<<PKGBUILDDIR>>/js/src/jit/JitFrames-inl.h:12,
from /<<PKGBUILDDIR>>/js/src/vm/Interpreter.cpp:52:
/<<PKGBUILDDIR>>/js/src/jit/mips64/LIR-mips64.h: In constructor 'js::jit::LDivOrModI64::LDivOrModI64(const js::jit::LAllocation&, const js::jit::LAllocation&, const js::jit::LDefinition&)':
/<<PKGBUILDDIR>>/js/src/jit/mips64/LIR-mips64.h:54:91: error: no matching function for call to 'js::jit::LBinaryMath<1>::LBinaryMath()'
LDivOrModI64(const LAllocation& lhs, const LAllocation& rhs, const LDefinition& temp) {
^
In file included from /<<PKGBUILDDIR>>/js/src/jit/LIR.h:2012,
from /<<PKGBUILDDIR>>/js/src/jit/JitFrames-inl.h:12,
from /<<PKGBUILDDIR>>/js/src/vm/Interpreter.cpp:52:
/<<PKGBUILDDIR>>/js/src/jit/shared/LIR-shared.h:46:14: note: candidate: 'js::jit::LBinaryMath<Temps, ExtraUses>::LBinaryMath(js::jit::LNode::Opcode) [with long unsigned int Temps = 1; long unsigned int ExtraUses = 0]'
explicit LBinaryMath(LNode::Opcode opcode)
^~~~~~~~~~~
/<<PKGBUILDDIR>>/js/src/jit/shared/LIR-shared.h:46:14: note: candidate expects 1 argument, 0 provided
/<<PKGBUILDDIR>>/js/src/jit/shared/LIR-shared.h:43:7: note: candidate: 'js::jit::LBinaryMath<1>::LBinaryMath(js::jit::LBinaryMath<1>&&)'
class LBinaryMath : public LInstructionHelper<1, 2 + ExtraUses, Temps>
^~~~~~~~~~~
/<<PKGBUILDDIR>>/js/src/jit/shared/LIR-shared.h:43:7: note: candidate expects 1 argument, 0 provided
[... and more errors like those ...]
Regards,
smcv
Reply to: