Upping gcc requirement for x86
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 29.03.18 at 17:45, <[email protected]> wrote:
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
Ideally we would then come to common grounds with what the ARM folks demand. I don't think we should have minimal requirements imposed on ourselves by foreign projects we rely upon. And then I'm pretty sure upstream qemu (just to give an example) doesn't care at all about older gcc, yet also doesn't say what their minimum requirement is.
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Other potential options:
1. Have configure disable seabios if the gcc version is too old
2. Have configure change to an older seabios release if gcc is too old
3. Downgrade the seabios tag / changeset to a version that builds with older gcc versions
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
On the whole I'd probably go with #3 at this point.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Where is this listed in xen.git? Supported in what sense?
Quoted 8 lines
Other potential options:
1. Have configure disable seabios if the gcc version is too old
2. Have configure change to an older seabios release if gcc is too old
3. Downgrade the seabios tag / changeset to a version that builds with older gcc versions
Quoted 7 lines
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
On the whole I'd probably go with #3 at this point.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · Wei Liu
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Where is this listed in xen.git? Supported in what sense?
Sorry, I realized this was ambiguous just a minute ago. I meant, they're not EOL yet -- the distributions are still "active" as it were. (As opposed to, say, RHEL / CentOS 5, which is EOL.)
I think it makes sense for us as a project to try to support distributions which are still being given active support.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · George Dunlap
Quoted 9 lines · Wei Liu
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Quoted 8 lines
Quoted 1 line
Where is this listed in xen.git? Supported in what sense?
Sorry, I realized this was ambiguous just a minute ago. I meant, they're not EOL yet -- the distributions are still "active" as it were. (As opposed to, say, RHEL / CentOS 5, which is EOL.)
I think it makes sense for us as a project to try to support distributions which are still being given active support.
Right. I think that makes sense, but does it actually work like that in practice?
Existing Xen packages aren't really going to get a newer Xen, so that's out of the picture.
What we try to achieve here is to let the users of these old distro able to build newer Xen themselves. But suppose you want to build a new system anyway, why stick with an old distro? Why not use a newer distro release instead?
Wei.
Quoted 2 lines
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 23 lines · Wei Liu
Quoted 10 lines · George Dunlap
Quoted 9 lines · Wei Liu
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Quoted 8 lines
Quoted 1 line
Where is this listed in xen.git? Supported in what sense?
Sorry, I realized this was ambiguous just a minute ago. I meant, they're not EOL yet -- the distributions are still "active" as it were. (As opposed to, say, RHEL / CentOS 5, which is EOL.)
I think it makes sense for us as a project to try to support distributions which are still being given active support.
Right. I think that makes sense, but does it actually work like that in practice?
Quoted 7 lines
Existing Xen packages aren't really going to get a newer Xen, so that's out of the picture.
What we try to achieve here is to let the users of these old distro able to build newer Xen themselves. But suppose you want to build a new system anyway, why stick with an old distro? Why not use a newer distro release instead?
Who knows why user do what they do? :-) I'm sure there will be people out there who do it; if it's not a terribly large effort, I think we should try. It builds good will.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 10 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
On the whole I'd probably go with #3 at this point.
-George
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in 3dd926a25d866364ce6d46c21f9ac05a82fa7ffb originally.
Signature · 6 lines
Doug Goldstein _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines
Quoted 1 line
Quoted 1 line
George Dunlap <[email protected]> 03/29/18 7:06 PM >>>
Quoted 2 lines · Wei Liu
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
Quoted 8 lines
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Other potential options:
1. Have configure disable seabios if the gcc version is too old
2. Have configure change to an older seabios release if gcc is too old
3. Downgrade the seabios tag / changeset to a version that builds with older gcc versions
4. Fix the build issue in a commit in our private clone of the tree. It looked as if it would be one of those unnamed structure initialization issues, so shouldn't be very difficult to address. That's what I'd likely do locally anyway as long as it's not terribly widespread, to save myself having to build/install newer gcc on those older systems (it's intentional that I don't build centrally and then only distribute the binaries, mainly but not only to have this very build coverage with older tool chains).
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 7 lines · Doug Goldstein
Quoted 6 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
Quoted 8 lines
Quoted 4 lines
On the whole I'd probably go with #3 at this point.
-George
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in
3dd926a25d866364ce6d46c21f9ac05a82fa7ffboriginally.
I don't understand what you mean -- AFAIK there's no *dependency* from Xen to any particular version of SeaBIOS (unlike QEMU). If 1.9 won't compile with gcc 4.4, but 1.8 does, we can just point the tag to 4.4. Distros will be compiling their own SeaBIOS versions anyway, no?
Or am I missing your point somehow?
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 13 lines · George Dunlap
Quoted 12 lines · Doug Goldstein
Quoted 10 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
On the whole I'd probably go with #3 at this point.
-George
Quoted 7 lines
Quoted 3 lines
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in
3dd926a25d866364ce6d46c21f9ac05a82fa7ffboriginally.I don't understand what you mean -- AFAIK there's no *dependency* from Xen to any particular version of SeaBIOS (unlike QEMU). If 1.9 won't compile with gcc 4.4, but 1.8 does, we can just point the tag to 4.4.
Sorry, this should say "we can just point the [SeaBIOS] tag to 1.8."
-G
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 27 lines · George Dunlap
Quoted 26 lines · Wei Liu
Quoted 10 lines · George Dunlap
Quoted 9 lines · Wei Liu
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Quoted 8 lines
Quoted 1 line
Where is this listed in xen.git? Supported in what sense?
Sorry, I realized this was ambiguous just a minute ago. I meant, they're not EOL yet -- the distributions are still "active" as it were. (As opposed to, say, RHEL / CentOS 5, which is EOL.)
I think it makes sense for us as a project to try to support distributions which are still being given active support.
Right. I think that makes sense, but does it actually work like that in practice?
Existing Xen packages aren't really going to get a newer Xen, so that's out of the picture.
Quoted 8 lines
Quoted 4 lines
What we try to achieve here is to let the users of these old distro able to build newer Xen themselves. But suppose you want to build a new system anyway, why stick with an old distro? Why not use a newer distro release instead?
Who knows why user do what they do? :-) I'm sure there will be people out there who do it; if it's not a terribly large effort, I think we should try. It builds good will.
They can still build Xen after we bump the requirement.
RHEL 6 has a life cycle of around 14 years. They aren't going to sit on an ancient compiler for all those years.
There is another supported toolchain called Redhat Developer Toolset X (current version 6 with gcc 6.2.x). It is one yum command away and setting CC= CXX= in their build rune.
The same applies to SLES, who has newer compilers in its SDK.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 14 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line
George Dunlap <[email protected]> 03/29/18 7:06 PM >>>
Quoted 2 lines · Wei Liu
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
Quoted 8 lines
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Other potential options:
1. Have configure disable seabios if the gcc version is too old
2. Have configure change to an older seabios release if gcc is too old
3. Downgrade the seabios tag / changeset to a version that builds with older gcc versions
Quoted 7 lines
4. Fix the build issue in a commit in our private clone of the tree. It looked as if it would be one of those unnamed structure initialization issues, so shouldn't be very difficult to address. That's what I'd likely do locally anyway as long as it's not terribly widespread, to save myself having to build/install newer gcc on those older systems (it's intentional that I don't build centrally and then only distribute the binaries, mainly but not only to have this very build coverage with older tool chains).
Yes, it is trivial to fix in our own tree, and I suppose that's what distro packagers will do when they see the same issue. But that means we will deviate from upstream. I would like to avoid that whenever possible.
If we don't end up bumping gcc requirement I will just disable seabios instead.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 37 lines · Wei Liu
Quoted 27 lines · George Dunlap
Quoted 26 lines · Wei Liu
Quoted 10 lines · George Dunlap
Quoted 9 lines · Wei Liu
Quoted 7 lines · George Dunlap
Quoted 4 lines · Wei Liu
Hi all
Seabios has bumped their requirement to 4.6 (released 7 years ago). We either need to bump our too or have a separate entry for seabios.
RHEL / CentOS 6 are still supported, and they come with GCC 4.4.
Quoted 8 lines
Quoted 1 line
Where is this listed in xen.git? Supported in what sense?
Sorry, I realized this was ambiguous just a minute ago. I meant, they're not EOL yet -- the distributions are still "active" as it were. (As opposed to, say, RHEL / CentOS 5, which is EOL.)
I think it makes sense for us as a project to try to support distributions which are still being given active support.
Right. I think that makes sense, but does it actually work like that in practice?
Existing Xen packages aren't really going to get a newer Xen, so that's out of the picture.
Quoted 8 lines
Quoted 4 lines
What we try to achieve here is to let the users of these old distro able to build newer Xen themselves. But suppose you want to build a new system anyway, why stick with an old distro? Why not use a newer distro release instead?
Who knows why user do what they do? :-) I'm sure there will be people out there who do it; if it's not a terribly large effort, I think we should try. It builds good will.
Quoted 8 lines
They can still build Xen after we bump the requirement.
RHEL 6 has a life cycle of around 14 years. They aren't going to sit on an ancient compiler for all those years.
There is another supported toolchain called Redhat Developer Toolset X (current version 6 with gcc 6.2.x). It is one yum command away and setting CC= CXX= in their build rune.
Well it's at least 2 yum commands and additional "enable the secondary compiler" commands away (either CC= or 'scl enable' command). But yes, your point is taken.
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 17 lines · George Dunlap
Quoted 7 lines · Doug Goldstein
Quoted 6 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
Quoted 8 lines
Quoted 4 lines
On the whole I'd probably go with #3 at this point.
-George
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in
3dd926a25d866364ce6d46c21f9ac05a82fa7ffboriginally.
Quoted 9 lines
I don't understand what you mean -- AFAIK there's no *dependency* from Xen to any particular version of SeaBIOS (unlike QEMU). If 1.9 won't compile with gcc 4.4, but 1.8 does, we can just point the tag to 4.4. Distros will be compiling their own SeaBIOS versions anyway, no?
Or am I missing your point somehow?
-George
My point was we explicitly moved to testing/shipping tags so that we distros could say "oh this is what the Xen folks tested with I have confidence that if we ship the same version it should work for users".
I think we want to get away from building it ourselves and defaulting to telling distros they need to provide it.
Signature · 6 lines
Doug Goldstein _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 28 lines · Doug Goldstein
Quoted 17 lines · George Dunlap
Quoted 7 lines · Doug Goldstein
Quoted 6 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
Quoted 8 lines
Quoted 4 lines
On the whole I'd probably go with #3 at this point.
-George
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in
3dd926a25d866364ce6d46c21f9ac05a82fa7ffboriginally.Quoted 9 lines
I don't understand what you mean -- AFAIK there's no *dependency* from Xen to any particular version of SeaBIOS (unlike QEMU). If 1.9 won't compile with gcc 4.4, but 1.8 does, we can just point the tag to 4.4. Distros will be compiling their own SeaBIOS versions anyway, no?
Or am I missing your point somehow?
-George
Quoted 6 lines
My point was we explicitly moved to testing/shipping tags so that we distros could say "oh this is what the Xen folks tested with I have confidence that if we ship the same version it should work for users".
I think we want to get away from building it ourselves and defaulting to telling distros they need to provide it.
Those seem like sort of contradictory goals to me, particularly if the goal of a distro is to share seabios between KVM and Xen.
FWIW for the CentOS Virt SIG, I
* build seabios separately
* Only update when the version in "CentOS core" (i.e., RHEL) is larger than the version I've built
* Then just pull the latest package from Fedora.
The only reason I build a separate one at all is that the one in "CentOS Core" seems to have some KVM-focused patches which break it under Xen. In an ideal world I would get that fixed and just use the seabios from the base version of the OS -- the same as I would any other library.
If we want distros to build their own version of seabios, we should also decouple the expectation that a given version of Xen matches (or needs to match) a given version of seabios.
AFAIK this decoupling has already taken place, it's just that nobody knows about it. seabios-master has been tested with Xen for ages, so all versions of seabios released in the last several years should Just Work.
That's why I said to downgrade to 1.8 in our builder -- because I expected distros to ignore that value and use 1.10 or whatever the newest version is anyway.
Are you aware of any seabios / Xen dependencies -- particular versions of vanilla seabios that don't work with particular versions of Xen?
-George
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 33 lines · George Dunlap
Quoted 32 lines · Doug Goldstein
Quoted 17 lines · George Dunlap
Quoted 7 lines · Doug Goldstein
Quoted 6 lines · George Dunlap
On Thu, Mar 29, 2018 at 4:45 PM, Wei Liu <[email protected]> wrote:
Long term I think we want to get away from building seabios ourselves altogether; but it's a bit late in the release cycle to work out that kind of change.
Quoted 8 lines
Quoted 4 lines
On the whole I'd probably go with #3 at this point.
-George
Violent agreement here. Every distro wants to see this so they can share these blobs. Its what lead to the change to tracking tags in
3dd926a25d866364ce6d46c21f9ac05a82fa7ffboriginally.Quoted 9 lines
I don't understand what you mean -- AFAIK there's no *dependency* from Xen to any particular version of SeaBIOS (unlike QEMU). If 1.9 won't compile with gcc 4.4, but 1.8 does, we can just point the tag to 4.4. Distros will be compiling their own SeaBIOS versions anyway, no?
Or am I missing your point somehow?
-George
My point was we explicitly moved to testing/shipping tags so that we distros could say "oh this is what the Xen folks tested with I have confidence that if we ship the same version it should work for users".
Quoted 5 lines
Quoted 2 lines
I think we want to get away from building it ourselves and defaulting to telling distros they need to provide it.
Those seem like sort of contradictory goals to me, particularly if the goal of a distro is to share seabios between KVM and Xen.
Hardly. Back when I was more active in packaging bits I would have liked to see that as I likely would have used that as a baseline.
Quoted 6 lines
FWIW for the CentOS Virt SIG, I
* build seabios separately
* Only update when the version in "CentOS core" (i.e., RHEL) is larger than the version I've built
* Then just pull the latest package from Fedora.
I've always built SeaBIOS separately on Gentoo and for as long as I've touched recipes in Yocto. I've also built it separately at various employers. QEMU and Xen then depended on that separate build.
Quoted 10 lines
The only reason I build a separate one at all is that the one in "CentOS Core" seems to have some KVM-focused patches which break it under Xen. In an ideal world I would get that fixed and just use the seabios from the base version of the OS -- the same as I would any other library.
If we want distros to build their own version of seabios, we should also decouple the expectation that a given version of Xen matches (or needs to match) a given version of seabios.
Hence my point of test against a baseline everything newer is suppose to be compatible as they aren't removing existing Xen functionality.
Quoted 9 lines
AFAIK this decoupling has already taken place, it's just that nobody knows about it. seabios-master has been tested with Xen for ages, so all versions of seabios released in the last several years should Just Work>
That's why I said to downgrade to 1.8 in our builder -- because I expected distros to ignore that value and use 1.10 or whatever the newest version is anyway.
Quoted 3 lines
Are you aware of any seabios / Xen dependencies -- particular versions of vanilla seabios that don't work with particular versions of Xen?
There have been a few over the years. I can't explicitly enumerate them but they've usually been .0 releases.
Signature · 6 lines
Doug Goldstein _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel