I tried them all, they fail for various reasons. since the errors are different for every version in the tree, I tried to see wether it actually is possible to cross compile from source without the ebuilds help, and it does with these options: PKG_CONFIG_LIBDIR=/usr/armv7a-unknown-linux-gnueabihf/usr/lib/pkgconfig CC="armv7a-unknown-linux-gnueabihf-gcc" CXX="armv7a-unknown-linux-gnueabihf-g++" AR=armv7a-unknown-linux-gnueabihf-ar ../configure --target=armv7a-unknown-linux-gnueabihf /tmp/mozjs-52.9.1pre1/js/src/build_OPT.OBJ/js/src # file libmozjs-52.so libmozjs-52.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=c2cca961eb135ccff70f9142f49ae645cc478f09, stripped I build that from within a build dir inside of the unpacked source code. This is working for stable spidermonkey:52 Now, before I try to nail this down for the ebuilds, may I ask, which would be the best canidate to work with? Are you going to remove some of the older versions soon?
this is the closest I can get to what the ebuild does: PKG_CONFIG_LIBDIR=/usr/armv7a-unknown-linux-gnueabihf/usr/lib/pkgconfig CC="armv7a-unknown-linux-gnueabihf-gcc" CXX="armv7a-unknown-linux-gnueabihf-g++" AR="armv7a-unknown-linux-gnueabihf-ar" ../configure --target=armv7a-unknown-linux-gnueabihf --with-system-nspr --disable-debug --enable-ion --disable-tests --disable-optimize --libdir=/usr/armv7a-unknown-linux-gnueabihf/usr/lib/ --prefix=/usr/armv7a-unknown-linux-gnueabihf/usr/ --with-intl-api --enable-jemalloc --enable-readline while sytem-nspr workds, system-icu does not but gives linker errors. with the patchset applied by hand to the untared source, I had to run /usr/bin/autoconf-2.13 from js/src
*** This bug has been marked as a duplicate of bug 680210 ***
This was meant as a kind of tracker bug, because all versions between spidermonkey:0 and >=spidermonkey-52 fail for various reasons. No additional bugs opened, as I haven't got an answer to my question yet - do you want to keep them around for longer? If not, please close this bug, thanks.
closing as obsolete