xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)
A message that is not in the archive (sent off-list or not yet received): 161507188317.11025.6744028462008264481@c667a6b167f6
Hi,
Quoted 29 lines · On 06/03/2021 23:04, [email protected] wrote:
Hi,
Patchew automatically ran gitlab-ci pipeline with this patch (series) applied, but the job failed. Maybe there's a bug in the patches?
You can find the link to the pipeline near the end of the report below:
Type: series
Message-id: [email protected]
Subject: [PATCH for-4.15] xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== TEST SCRIPT BEGIN ===
#!/bin/bash
sleep 10
patchew gitlab-pipeline-check -p xen-project/patchew/xen === TEST SCRIPT END ===warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
From https://gitlab.com/xen-project/patchew/xen
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'f332859b88xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== OUTPUT BEGIN ===
[2021-03-06 21:45:17] Looking up pipeline...
[2021-03-06 21:45:18] Found pipeline 266507477:https://gitlab.com/xen-project/patchew/xen/-/pipelines/266507477
Quoted 15 lines
[2021-03-06 21:45:18] Waiting for pipeline to finish...
[2021-03-06 22:00:21] Still waiting...
[2021-03-06 22:15:26] Still waiting...
[2021-03-06 22:30:31] Still waiting...
[2021-03-06 22:45:35] Still waiting...
[2021-03-06 23:00:41] Still waiting...
[2021-03-06 23:04:42] Pipeline failed
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang-pvh' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc-pvh' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-alpine-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'build-each-commit-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'alpine-3.12-clang' in stage 'build' is failed
The following jobs are failing:
alpine-3.12-clang [1]
debian-unstable-32-gcc-debug
debian-unstable-clang
debian-unstable-gcc-randconfig
ubuntu-bionic-clang
Cloning into 'qemu-xen-dir-remote.tmp'...
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: index-pack failed
This looks unrelated to my patch. Possibly a network error?
=========
centos-7-2-gcc [2]
centos-7-2-gcc-debug
centos-7-gcc
centos-7-gcc-debug
Centos 7 is using GCC 4.8.5. This patch is bumping the minimum version to 4.9. So the failure is expected.
We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Centos 7?
==========
ubuntu-trusty-gcc [3]
ubuntu-trusty-gcc-debug
Ubuntu trusty is using GCC 4.8.4. This patch is bumping the minimum version to 4.9. So the failure is expected. We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Ubuntu trusty?
Cheers,
[1] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273595
[2] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273539
[3] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273575
Quoted 4 lines
=== OUTPUT END ===
Test command exited with code: 1
Signature · 1 line
Julien Grall
Quoted 61 lines · Julien Grall
Quoted 43 lines · On 06/03/2021 23:04, [email protected] wrote:
Hi,
Patchew automatically ran gitlab-ci pipeline with this patch (series) applied, but the job failed. Maybe there's a bug in the patches?
You can find the link to the pipeline near the end of the report below:
Type: series
Message-id: [email protected]
Subject: [PATCH for-4.15] xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== TEST SCRIPT BEGIN ===
#!/bin/bash
sleep 10
patchew gitlab-pipeline-check -p xen-project/patchew/xen === TEST SCRIPT END ===warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
From https://gitlab.com/xen-project/patchew/xen
* [new tag] patchew/[email protected] ->
patchew/[email protected]
Switched to a new branch 'test'f332859b88xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== OUTPUT BEGIN ===
[2021-03-06 21:45:17] Looking up pipeline...
[2021-03-06 21:45:18] Found pipeline 266507477:https://gitlab.com/xen-project/patchew/xen/-/pipelines/266507477
[2021-03-06 21:45:18] Waiting for pipeline to finish... [2021-03-06 22:00:21] Still waiting...
[2021-03-06 22:15:26] Still waiting...
[2021-03-06 22:30:31] Still waiting...
[2021-03-06 22:45:35] Still waiting...
[2021-03-06 23:00:41] Still waiting...
[2021-03-06 23:04:42] Pipeline failed
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang-pvh' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc-pvh' in stage 'test' isQuoted 8 lines
skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-alpine-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'build-each-commit-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'alpine-3.12-clang' in stage 'build' is failedThe following jobs are failing:
alpine-3.12-clang [1]
debian-unstable-32-gcc-debug
debian-unstable-clang
debian-unstable-gcc-randconfig
ubuntu-bionic-clang
Quoted 6 lines
Cloning into 'qemu-xen-dir-remote.tmp'...
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: index-pack failedThis looks unrelated to my patch. Possibly a network error?
Yeah.
Quoted 7 lines
=========
centos-7-2-gcc [2]
centos-7-2-gcc-debug
centos-7-gcc
centos-7-gcc-debug
Quoted 5 lines
Centos 7 is using GCC 4.8.5. This patch is bumping the minimum version to 4.9. So the failure is expected.
We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Centos 7?
CentOS 7 is still the latest and it is maintained until 2024:
https://wiki.centos.org/About/Product
I don't have a lot of direct experience with x86 users any longer, but this seems to be problematic?
Quoted 8 lines
==========
ubuntu-trusty-gcc [3]
ubuntu-trusty-gcc-debugUbuntu trusty is using GCC 4.8.4. This patch is bumping the minimum version to 4.9. So the failure is expected. We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Ubuntu trusty?
Ubuntu Trusty is in "Extended Security Maintenance", so technically still supported also:
https://ubuntu.com/about/release-cycle
Quoted 10 lines
Cheers,
[1] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273595
[2] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273539
[3] https://gitlab.com/xen-project/patchew/xen/-/jobs/1078273575Quoted 3 lines
=== OUTPUT END ===
Test command exited with code: 1
Hi Stefano,
Quoted 85 lines · Stefano Stabellini
Quoted 61 lines · Julien Grall
Quoted 43 lines · On 06/03/2021 23:04, [email protected] wrote:
Hi,
Patchew automatically ran gitlab-ci pipeline with this patch (series) applied, but the job failed. Maybe there's a bug in the patches?
You can find the link to the pipeline near the end of the report below:
Type: series
Message-id: [email protected]
Subject: [PATCH for-4.15] xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== TEST SCRIPT BEGIN ===
#!/bin/bash
sleep 10
patchew gitlab-pipeline-check -p xen-project/patchew/xen === TEST SCRIPT END ===warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
From https://gitlab.com/xen-project/patchew/xen
* [new tag] patchew/[email protected] ->
patchew/[email protected]
Switched to a new branch 'test'f332859b88xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== OUTPUT BEGIN ===
[2021-03-06 21:45:17] Looking up pipeline...
[2021-03-06 21:45:18] Found pipeline 266507477:https://gitlab.com/xen-project/patchew/xen/-/pipelines/266507477
[2021-03-06 21:45:18] Waiting for pipeline to finish... [2021-03-06 22:00:21] Still waiting...
[2021-03-06 22:15:26] Still waiting...
[2021-03-06 22:30:31] Still waiting...
[2021-03-06 22:45:35] Still waiting...
[2021-03-06 23:00:41] Still waiting...
[2021-03-06 23:04:42] Pipeline failed
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang-pvh' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc-pvh' in stage 'test' isQuoted 8 lines
skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-alpine-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'build-each-commit-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'alpine-3.12-clang' in stage 'build' is failedThe following jobs are failing:
alpine-3.12-clang [1]
debian-unstable-32-gcc-debug
debian-unstable-clang
debian-unstable-gcc-randconfig
ubuntu-bionic-clangQuoted 6 lines
Cloning into 'qemu-xen-dir-remote.tmp'...
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: index-pack failedThis looks unrelated to my patch. Possibly a network error?
Yeah.
Quoted 7 lines
=========
centos-7-2-gcc [2]
centos-7-2-gcc-debug
centos-7-gcc
centos-7-gcc-debugQuoted 5 lines
Centos 7 is using GCC 4.8.5. This patch is bumping the minimum version to 4.9. So the failure is expected.
We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Centos 7?
Quoted 6 lines
CentOS 7 is still the latest and it is maintained until 2024:
https://wiki.centos.org/About/Product
I don't have a lot of direct experience with x86 users any longer, but this seems to be problematic?
The last full updates was on the Q3 2020, so it looks unlikely that Centos 7 will upgrade to a new Xen.
So this is only going to be a problem for anyone that decides to build there own Xen.
I can't tell whether someone may want to build upstream Xen on Centos 7. What I can say is the Arm64 bug in GCC 4.9 will lead to corruption, the bug in GCC < 4.8 looks somewhat less problematic.
So, I am sure any user would appreciate if we tell (e.g. throw an error) them when there is a risk that GCC X.Y may miscompile Xen.
In the ideal world (e.g if we had unlimited time), we should workaround it in Xen. But this doesn't look easy/possible here.
Therefore, for now, I think dropping support for GCC < 4.9 (< 5.1 for Arm) is the best approach. The support can be revived when someone is willing to spend time on it.
Quoted 7 lines
Quoted 7 lines
==========
ubuntu-trusty-gcc [3]
ubuntu-trusty-gcc-debug
Quoted 8 lines
Quoted 3 lines
Ubuntu trusty is using GCC 4.8.4. This patch is bumping the minimum version to 4.9. So the failure is expected. We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Ubuntu trusty?
Ubuntu Trusty is in "Extended Security Maintenance", so technically still supported also:
See above.
Cheers,
Signature · 1 line
Julien Grall
Quoted 5 lines · Julien Grall
Hi Stefano,
Quoted 2 lines · Stefano Stabellini
Quoted 1 line · Julien Grall
On 06/03/2021 23:04, [email protected] wrote:
Where does one has to register to get the patchew build failures?
Quoted 103 lines
Quoted 83 lines
Quoted 60 lines
Quoted 43 lines
Hi,
Patchew automatically ran gitlab-ci pipeline with this patch (series) applied, but the job failed. Maybe there's a bug in the patches?
You can find the link to the pipeline near the end of the report below:
Type: series
Message-id: [email protected]
Subject: [PATCH for-4.15] xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== TEST SCRIPT BEGIN ===
#!/bin/bash
sleep 10
patchew gitlab-pipeline-check -p xen-project/patchew/xen === TEST SCRIPT END ===warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
warning: redirecting to https://gitlab.com/xen-project/patchew/xen.git/
From https://gitlab.com/xen-project/patchew/xen
* [new tag] patchew/[email protected] ->
patchew/[email protected]
Switched to a new branch 'test'f332859b88xen: Bump the minimum version of GCC supported to 4.9 (5.1 on arm64)=== OUTPUT BEGIN ===
[2021-03-06 21:45:17] Looking up pipeline...
[2021-03-06 21:45:18] Found pipeline 266507477:https://gitlab.com/xen-project/patchew/xen/-/pipelines/266507477
[2021-03-06 21:45:18] Waiting for pipeline to finish... [2021-03-06 22:00:21] Still waiting...
[2021-03-06 22:15:26] Still waiting...
[2021-03-06 22:30:31] Still waiting...
[2021-03-06 22:45:35] Still waiting...
[2021-03-06 23:00:41] Still waiting...
[2021-03-06 23:04:42] Pipeline failed
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang-pvh' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc-pvh' in stage 'test' isQuoted 8 lines
skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-clang' in stage 'test' is skipped
[2021-03-06 23:04:42] Job 'qemu-smoke-x86-64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-smoke-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'qemu-alpine-arm64-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'build-each-commit-gcc' in stage 'test' is skipped [2021-03-06 23:04:42] Job 'alpine-3.12-clang' in stage 'build' is failedThe following jobs are failing:
alpine-3.12-clang [1]
debian-unstable-32-gcc-debug
debian-unstable-clang
debian-unstable-gcc-randconfig
ubuntu-bionic-clangQuoted 6 lines
Cloning into 'qemu-xen-dir-remote.tmp'...
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: index-pack failedThis looks unrelated to my patch. Possibly a network error?
Yeah.
Quoted 7 lines
=========
centos-7-2-gcc [2]
centos-7-2-gcc-debug
centos-7-gcc
centos-7-gcc-debugQuoted 5 lines
Centos 7 is using GCC 4.8.5. This patch is bumping the minimum version to 4.9. So the failure is expected.
We may have to disable the jobs if my patch goes ahead. May I ask why we chose to build on Centos 7?
Quoted 6 lines
CentOS 7 is still the latest and it is maintained until 2024:
https://wiki.centos.org/About/Product
I don't have a lot of direct experience with x86 users any longer, but this seems to be problematic?
The last full updates was on the Q3 2020, so it looks unlikely that Centos 7 will upgrade to a new Xen.
So this is only going to be a problem for anyone that decides to build there own Xen.
I can't tell whether someone may want to build upstream Xen on Centos 7. What I can say is the Arm64 bug in GCC 4.9 will lead to corruption, the bug in GCC < 4.8 looks somewhat less problematic.
So, I am sure any user would appreciate if we tell (e.g. throw an error) them when there is a risk that GCC X.Y may miscompile Xen.
Quoted 6 lines
In the ideal world (e.g if we had unlimited time), we should workaround it in Xen. But this doesn't look easy/possible here.
Therefore, for now, I think dropping support for GCC < 4.9 (< 5.1 for Arm) is the best approach. The support can be revived when someone is willing to spend time on it.
Does CentOS has something like Debian backports to get updated major versions of packages?
Also, I think we do maintain Xen on CentOS using a separate repository, so newer versions of Xen will be added to CentOS. Adding George and Anthony since they know about that.
Thanks, Roger.
Quoted 2 lines · Roger Pau Monné
Does CentOS has something like Debian backports to get updated major versions of packages?
Something similar, it's done via SIG. We have SIG virt in which we build Xen packages among others. And there's a SIG which building newer version of GCC, we already use it to build the Linux kernel with a newer version of GCC.
So we should be able to setup the Xen packages to build with a newer version of GCC, at least in CentOS 7. (I still have to look again at CentOS 8 or Stream.)
Quoted 5 lines
Also, I think we do maintain Xen on CentOS using a separate repository, so newer versions of Xen will be added to CentOS. Adding George and Anthony since they know about that.
Thanks, Roger.
Signature · 1 line
Anthony PERARD
Quoted 8 lines · Roger Pau Monné
Quoted 5 lines · Julien Grall
Hi Stefano,
Quoted 2 lines · Stefano Stabellini
Quoted 1 line · Julien Grall
On 06/03/2021 23:04, [email protected] wrote:
Where does one has to register to get the patchew build failures?
By asking Fam (CC'ed) very nicely :-)
Quoted 11 lines · Stefano Stabellini
Quoted 8 lines · Roger Pau Monné
Quoted 5 lines · Julien Grall
Hi Stefano,
Quoted 2 lines · Stefano Stabellini
Quoted 1 line · Julien Grall
On 06/03/2021 23:04, [email protected] wrote:
Where does one has to register to get the patchew build failures?
By asking Fam (CC'ed) very nicely :-)
Thanks! Could we maybe setup a mailing list for those emails? ie:
patchew-tests@... or some such, so that we don't have to go adding people manually?
Roger.
Quoted 17 lines · Roger Pau Monné
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
Quoted 10 lines · Stefano Stabellini
Quoted 8 lines · Roger Pau Monné
Quoted 5 lines · Julien Grall
Hi Stefano,
Quoted 2 lines · Stefano Stabellini
Quoted 1 line · Julien Grall
On 06/03/2021 23:04, [email protected] wrote:
Where does one has to register to get the patchew build failures?
Quoted 7 lines
Quoted 1 line
By asking Fam (CC'ed) very nicely :-)
Thanks! Could we maybe setup a mailing list for those emails? ie:
patchew-tests@... or some such, so that we don't have to go adding people manually?Roger.
The idea (I think) is to group reply all once we feel comfortable with the false positive rate. But a separate mailing list is also a good approach.
I'll add you by hand for now, Roger.
Fam