Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 106731

Summary: Xen on hardened
Product: Gentoo Linux Reporter: Micheal Marineau (RETIRED) <marineam>
Component: New packagesAssignee: Chris Bainbridge (RETIRED) <chrb>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: hardened flags fix

Description Micheal Marineau (RETIRED) gentoo-dev 2005-09-20 16:18:04 UTC
As noted in the old bug xen doesn't build so happy on hardened systems. The
existing logic to automaticly add the proper flags doesn't appear to work but
tacking them on via the ebuild is pretty simple. (Will attach a patch shortly)


And btw, xen-sources-2.6.11.10 can be bumped to 2.6.11.12 unchanged unless there
is a particular reason to stay with 2.6.11.10, but .12 patches in just fine for me.
Comment 1 Micheal Marineau (RETIRED) gentoo-dev 2005-09-20 16:20:48 UTC
Created attachment 68891 [details, diff]
hardened flags fix

This will unconditionally add the anti hardened cflags, I haven't tried this on
a non-hardened system yet so if gcc normally doesn't understand those flags
just sticking the echo in a 'if use hardened; then' should make all happy.
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2005-09-22 15:33:17 UTC
Done, thanks!