When compiling sys-devel/gcc-4.4.3-r2 with hardned USE the ebuild complains about PIE_VER or SPECS_VER not being defined in the ebuild and that Hardened won't work in that case. Reproducible: Always Steps to Reproduce: 1. USE="hardened" emerge -v1a gcc Actual Results: * PIE_VER or SPECS_VER is not defiend in the GCC ebuild. * Hope you know what you are doing. Hardened will not work. Expected Results: No warnings Maybe the merge between the hardened overlay and the portage tree has caused the bug. So I think defing the PIE_VER on the gcc ebuild ought to do the trick.
This bug is invalid. Only version 4.4.3-r3 and 4.4.4-r1 of gcc-4.4 supports hardened currently (and has those variables defined). If you are using the hardened profile please remove all traces of gcc from your /etc/profile/package.unmask as that profile currently only unmasks the correct versions. And if you want to use gcc-4.4.3-r3 before it is being marked stable, keyword it locally on your computer. If you are not using the hardened profile then USE="hardened" is unsupported.
That gcc version is masked for it miss hardened support. use gcc-4.4.3-r3 or 4.4.4-r1
Thanks, oddly enough I had <sys-devel/gcc-4.4 on /etc/portage/package.keywords and <sys-devel/gcc-4.5 on /etc/portage/package.unmask Setting it to <sys-devel/gcc-4.4.4 on package.keywords and deleting the entry from package.unmask solved it as it enabled r3 :D