Bug 106731 - Xen on hardened
Bug#: 106731 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chrb@gentoo.org Reported By: marineam@gentoo.org
Component: Ebuilds
URL: 
Summary: Xen on hardened
Keywords:  
Status Whiteboard: 
Opened: 2005-09-20 16:18 0000
Description:   Opened: 2005-09-20 16:18 0000
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 From Micheal Marineau 2005-09-20 16:20:48 0000 -------
Created an attachment (id=68891) [details]
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 From Chris Bainbridge (RETIRED) 2005-09-22 15:33:17 0000 -------
Done, thanks!