Source: mozjs24 Version: 24.2.0-2 Severity: important Tags: patch Hi,
mozjs24 does not compile on GNU/Hurd [1]. The issue is partially the same as iceweasel/firefox one [2] (reported upstream as [3]). Since mozjs is just a standalone version of the SpiderMonkey engine shipped there, most probably newer mozjs versions will compile OOTB on the Hurd once [3] is fixed. In the meanwhile, attached there is the mozjs part of the iceweasel/firefox patch, which makes mozjs24 compile on Hurd. [1] https://buildd.debian.org/status/fetch.php?pkg=mozjs24&arch=hurd-i386&ver=24.2.0-2&stamp=1399179660 [2] https://bugs.debian.org/729340 [3] https://bugzilla.mozilla.org/show_bug.cgi?id=1029809 Thanks, -- Pino
--- a/js/src/jit/AsmJSSignalHandlers.cpp +++ b/js/src/jit/AsmJSSignalHandlers.cpp @@ -56,7 +56,7 @@ # define R13_sig(p) ((p)->sc_r13) # define R14_sig(p) ((p)->sc_r14) # define R15_sig(p) ((p)->sc_r15) -#elif defined(__linux__) || defined(SOLARIS) +#elif defined(__linux__) || defined(__GNU__) || defined(SOLARIS) # if defined(__linux__) # define XMM_sig(p,i) ((p)->uc_mcontext.fpregs->_xmm[i]) # else