Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325793 - sys-devel/gcc-4.4.3-r2 complains about PIE_VER or SPECS_VER not defined
Summary: sys-devel/gcc-4.4.3-r2 complains about PIE_VER or SPECS_VER not defined
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-27 03:10 UTC by Francisco Blas Izquierdo Riera (RETIRED)
Modified: 2010-06-27 21:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-06-27 03:10:06 UTC
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.
Comment 1 Xake 2010-06-27 07:22:38 UTC
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.
Comment 2 Magnus Granberg gentoo-dev 2010-06-27 09:16:46 UTC
That gcc version is masked for it miss hardened support.
use gcc-4.4.3-r3 or 4.4.4-r1
Comment 3 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2010-06-27 21:58:37 UTC
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