xen-2.0 & gcc4
Hi,
is xen-2.0.6 or xen-2.0-testing supposted to compile with gcc4 (FC4)? They actually don't.
/nils.
Quoted 2 lines · Nils Toedtmann
is xen-2.0.6 or xen-2.0-testing supposted to compile with gcc4 (FC4)? They actually don't.
We use gcc-3.2.x and 3.3.x ourselves. We accept patches to unstable to keep the build working with gcc4 but even then, I've seen weird crashes (e.g., dom0 unable to even reach a boot prompt) that I have never observed when building with gcc3.
In short: I recommend you to install a gcc3-series compiler and build with that. It's very easy to do and then you're on the same page as us.
-- Keir
Thanks for the fast answer!
Am Mittwoch, den 29.06.2005, 15:00 +0100 schrieb Keir Fraser:
Quoted 7 lines · Nils Toedtmann
Quoted 3 lines
is xen-2.0.6 or xen-2.0-testing supposted to compile with gcc4 (FC4)? They actually don't.
We use gcc-3.2.x and 3.3.x ourselves. We accept patches to unstable to keep the build working with gcc4
So the answer is "no" (no prob for me, now i can stop trying ;-)
Quoted 3 lines
but even then, I've seen weird crashes
(e.g., dom0 unable to even reach a boot prompt) that I have never observed when building with gcc3.
... me too ... interested in crashing gcc4-compiled dom0 kernels?
Quoted 2 lines
In short: I recommend you to install a gcc3-series compiler and build with that. It's very easy to do and then you're on the same page as us.
That's what i'm doing. On FC4 it's "yum install compat-gcc-32", "export CC=gcc32", but i also hat to strip "-mtune=pentium4" from "OPT" in /usr/lib/python2.4/config/Makefile (part of FC4's python-devel-2.4.1-2). It costed me one year of my life to find out ... is there a way to strip this from CFLAGS already in xen-2.0-testing/tools/python/{Makefile| setup.py}?
/nils.