Skip to contentSkip to conversation

gcc version

DISCUSSION Yu, Ping Y 3 participants 4 messages Feb 9, 2006

lore
Share & tools
lore

Yu, Ping Y

author
#0 lore raw

Hi, all

We met a problem on gcc version. When we build xen-unstable version 8767 and found the following problem in x86-32.
(1)When we use gcc version above or equal 3.4.3, HVM could be successfully start
(2)When we use gcc version below 3.4.3, HVM starting will fail.

But latest version 8793 could be built in gcc 3.4.2, and VMX works well.

So my question, what gcc version and build platform is preferred by XEN? Thanks in advance.

ping

#1 lore raw
Quoted 10 lines · Ping Y

We met a problem on gcc version. When we build xen-unstable version 8767 and found the following problem in x86-32.
(1)When we use gcc version above or equal 3.4.3, HVM could be successfully start
(2)When we use gcc version below 3.4.3, HVM starting will fail.

But latest version 8793 could be built in gcc 3.4.2, and VMX works well.

So my question, what gcc version and build platform is preferred by XEN? Thanks in advance.

We generally use 3.3.x or 3.4.x. I use FC3's 3.4.2 mostly.

-- Keir

#2 lore raw

Re: gcc version (HVM domain problem)

Keir Fraser <[email protected]> wrote on 02/09/2006 04:03:38 AM:

Quoted 10 lines · Ping Y
Quoted 8 lines

We met a problem on gcc version. When we build xen-unstable version 8767
and found the following problem in x86-32.
(1)When we use gcc version above or equal 3.4.3, HVM could be successfully start
(2)When we use gcc version below 3.4.3, HVM starting will fail.

Quoted 8 lines
Quoted 6 lines

But latest version 8793 could be built in gcc 3.4.2, and VMX works well.

So my question, what gcc version and build platform is preferred by XEN?
Thanks in advance.

We generally use 3.3.x or 3.4.x. I use FC3's 3.4.2 mostly.

I have noticed that we could not start an HVM domain starting with the following changeset:

changeset:  8752:0e7bdd973e17
user:       [email protected]
date:       Fri Feb 3 05:02:30 2006 +0100
summary:    Build the phys_to_machine_mapping array in Xen rather than

I am using FC3's gcc 3.4.2 as well. We also see this problem with SLES9 SP2's gcc 4.0.2. However, prior to the above changeset, we did not have any problem with starting HVM domains in 32-bit at all. Maybe this particular changeset was not compiled correctly by some gcc version ?
Thanks.

Regards,
Khoa

Quoted 8 lines

-- Keir

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Re: gcc version (HVM domain problem)

Quoted 8 lines · Khoa Huynh

I have noticed that we could not start an HVM domain starting with the following changeset:

changeset:  8752:0e7bdd973e17
user:       [email protected]
date:       Fri Feb 3 05:02:30 2006 +0100
summary:    Build the phys_to_machine_mapping array in Xen rather than
Quoted 5 lines

I am using FC3's gcc 3.4.2 as well. We also see this problem with SLES9 SP2's gcc 4.0.2. However, prior to the above changeset, we did not have any problem with starting HVM domains in 32-bit at all. Maybe this particular changeset was not compiled correctly by some gcc version ?

We would expect it to work with those versions of gcc. If it doesn't, we welcome patches. :-)

-- Keir