Skip to contentSkip to conversation

Which GCC is best for building Xen?

DISCUSSION Tim Post 4 participants 5 messages Jul 29, 2007 – Aug 2, 2007

lore
Share & tools
lore

Tim Post

author
#0 lore raw

Hello to all,

Am I headed for trouble continuing to use gcc 3.4 to build Xen ? I find gcc 4.1 just too noisy for my own comfort because I disagree with many of its warnings. I have both installed, I lean on 3.4 most.

I know they are only warnings, but they indicate gcc is doing something it didn't used to do before. I spent a while trying to study the two to answer this one for myself but I found it best to ask. I have enough on my plate just becoming proficient with C, much less its compiler :)

Am I ok to continue with 3.4?

Please reply to me (cc), I am not a subscriber.

Kind regards in advance,
--Tim

#1 lore raw

GCC 3.4.x is what I use most of the time. We'll support it for a long while yet.

-- Keir

Quoted 23 lines · Tim Post

Hello to all,

Am I headed for trouble continuing to use gcc 3.4 to build Xen ? I find gcc 4.1 just too noisy for my own comfort because I disagree with many of its warnings. I have both installed, I lean on 3.4 most.

I know they are only warnings, but they indicate gcc is doing something it didn't used to do before. I spent a while trying to study the two to answer this one for myself but I found it best to ask. I have enough on my plate just becoming proficient with C, much less its compiler :)

Am I ok to continue with 3.4?

Please reply to me (cc), I am not a subscriber.

Kind regards in advance,
--Tim

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

#2 lore raw

Hi

Quoted 2 lines · Keir Fraser

GCC 3.4.x is what I use most of the time. We'll support it for a long while yet.

gcc 4.1.2 build fine for me though.
A little tweaking is certainly required in the config files to lower down the paranoia of the GCC compiler for Xen.

BTW Keir, any strong reasons for sticking to GCC 3.4 and not upgrading to GCC 4.x series?

Sorry if this has been discussed before, a link to the mail archive will be really appreciated.

Thanks
--pradeep
[...]

Signature · 4 lines
--
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)
#3 lore raw

GCC 4.x is supported. Any regressions in compatibility with gcc 4.x should be reported so that they can be fixed -- usually this means avoiding compiler warnings in subdirectories which are compiled with -Werror. Subdirectories which do not use -Werror have a reason for that -- e.g., not wanting to needlessly diverge from upstream qemu by putting in workarounds for otherwise harmless compiler warnings.

-- Keir

Quoted 9 lines · pradeep singh rautela

gcc 4.1.2 build fine for me though.
A little tweaking is certainly required in the config files to lower down the paranoia of the GCC compiler for Xen.

BTW Keir, any strong reasons for sticking to GCC 3.4 and not upgrading to GCC 4.x series?

Sorry if this has been discussed before, a link to the mail archive will be really appreciated.

#4 lore raw

Oh... sorry for missing the point.
Thanks for pointing that out, Keir.

Regards,
--pradeep

Quoted 22 lines · Keir Fraser

GCC 4.x is supported. Any regressions in compatibility with gcc 4.x should be reported so that they can be fixed -- usually this means avoiding compiler warnings in subdirectories which are compiled with -Werror. Subdirectories which do not use -Werror have a reason for that -- e.g., not wanting to needlessly diverge from upstream qemu by putting in workarounds for otherwise harmless compiler warnings.

-- Keir

Quoted 9 lines · pradeep singh rautela

gcc 4.1.2 build fine for me though.
A little tweaking is certainly required in the config files to lower down the paranoia of the GCC compiler for Xen.

BTW Keir, any strong reasons for sticking to GCC 3.4 and not upgrading to GCC 4.x series?

Sorry if this has been discussed before, a link to the mail archive will be really appreciated.

Signature · 4 lines
--
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)