Mozilla.org builds of firefox is built with -Os and Fedora also uses it. So gentoo should allow building firefox with -Os. Reproducible: Always Steps to Reproduce:
Created attachment 69471 [details, diff] Patch to mozconfig.eclass to allow -Os.
*** This bug has been marked as a duplicate of 101223 ***