The problem is that the libjs.so it produces is bad. vapier once tried all his best to explain why and how, but basically the Makefile.ref provided with the package doesn't do it. I am looking into writing an ebuild that uses mozilla sources directly (or even modifying a www-client/mozilla ebuild for this purpose) in order to build libjs properly so that other arches than x86 can properly link to it. Currently it doesn't, as evidenced by ebuilds such as those for www-client/elinks. To be absolutely clear about this: the js and jscpucfg executables do work on my PARISC system, but other packages cannot link to its libjs.
Hi, I do not have anything but x86 to test on and apparently you know much more about spidermonkey. So, good luck :-).
1.5-r1 now in portage with cleaned up build
vapier: can this one be closed?
yes