Yes but the problem is that you'll get a performance penalty doing so
(at least that is what xen is telling you in the system log)
What I did was to build a xen safe version of glibc:
Select you favourite build host
* Install rpmbuild
* download of the .src.rpm from http://linuxsoft.cern.ch/cern/slc4X/updates/SRPMS/
* Installation the sources via
rpm -i glibc-<cersion>.src.rpm
* You'll then find your sources in /usr/src/redhat/
* Now edit your glibc.spec file in /usr/src/redhat/SPECS appropriately
-%define glibcrelease 2.41
+%define glibcrelease 2.41.xenU
%ifarch %{ix86}
-BuildFlags="-march=%{_target_cpu}"
+BuildFlags="-march=%{_target_cpu} -mno-tls-direct-seg-refs"
%endif
(this creates a version suffix for your rpm to be created and sets the right compilerflag for a
xen safe version)
* start you build:
rpmbuild -bb glibc.spec
* install your newly created rpms of glibc
yum localupdate glibc-<version>.xenU.i386.rpm glibc-common-<version>.xenU.i386.rpm
glibc-headers-<version>.xenU.i386.rpm glibc-devel-<version>.xenU.i386.rpm
(files are found in /usr/src/redhat/RPMS )
Have fun,
Martin
|