Created attachment 475074 [details, diff] Fix FTBFS with C++11 by Yaakov Selkowitz spidermonkey-1.8.5-r4.ebuild fails to build with GCC-6.3 compiler. I found that bug in RH repo (https://bugzilla.redhat.com/show_bug.cgi?id=1307665): bug 1307665 - js: FTBFS in rawhide. The extracted patch worked for me (put it in /etc/portage/patches/dev-lang/spidermonkey-1.8.5-r4/<patch>). The patch attached to submission.
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team