Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106731 - Xen on hardened
Summary: Xen on hardened
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 16:18 UTC by Micheal Marineau (RETIRED)
Modified: 2005-09-22 15:33 UTC (History)
0 users

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


Attachments
hardened flags fix (xen-2.0.7-hardened-fix.patch,390 bytes, patch)
2005-09-20 16:20 UTC, Micheal Marineau (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!