-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation issue: gcc@7.3.0 #16968
Comments
I have backported patches that fix the issue for gcc@5.3.0:7.4.0. PR to follow shortly. |
gcc 9.3.0 and glibc 2.31 (found in the base install of Ubuntu 20.04) cause the gcc package to error during build with the error: "size of array 'assertion_failed__####' is negative" Previous to this fix, the error was resolved for v8.1.0 <= gcc <= v9.2.0 via two patches. This fix backports those patches for v5.3.0 <= gcc <= v7.4.0 Potentially these patches need to be backported to versions of gcc before v5.3.0, but other compile issues need to be resolved for earlier versions of gcc first.
gcc 9.3.0 and glibc 2.31 (found in the base install of Ubuntu 20.04) cause the gcc package to error during build with the error: "size of array 'assertion_failed__####' is negative" Previous to this fix, the error was resolved for v8.1.0 <= gcc <= v9.2.0 via two patches. This fix backports those patches for v5.3.0 <= gcc <= v7.4.0 Potentially these patches need to be backported to versions of gcc before v5.3.0, but other compile issues need to be resolved for earlier versions of gcc first. Fixes spack#16968
gcc 9.3.0 and glibc 2.31 (found in the base install of Ubuntu 20.04) cause the gcc package to error during build with the error: "size of array 'assertion_failed__####' is negative" Previous to this fix, the error was resolved for v8.1.0 <= gcc <= v9.2.0 via two patches. This fix backports those patches for v5.3.0 <= gcc <= v7.4.0 Potentially these patches need to be backported to versions of gcc before v5.3.0, but other compile issues need to be resolved for earlier versions of gcc first. Fixes #16968
gcc 9.3.0 and glibc 2.31 (found in the base install of Ubuntu 20.04) cause the gcc package to error during build with the error: "size of array 'assertion_failed__####' is negative" Previous to this fix, the error was resolved for v8.1.0 <= gcc <= v9.2.0 via two patches. This fix backports those patches for v5.3.0 <= gcc <= v7.4.0 Potentially these patches need to be backported to versions of gcc before v5.3.0, but other compile issues need to be resolved for earlier versions of gcc first. Fixes spack#16968
I think we just hit this error, but for an older gcc install attempt. Note that it was working before: https://github.com/rse-ops/docker-images/runs/4123921483?check_suite_focus=true How do we fix it? cc @davidbeckingsale |
I think that our problem was caused by using Ubuntu 22.04. Backporting the fixes to old versions can be quite challenging, might not be worth it. |
Huh, how did we get a 22 04? I thought the release date would be April 2022? Did we time travel? 😆 |
Toolchain build for targets other than AArch64 break due to changes mentioned since that affromentioned release. This is not an issue with 8.4.0, 9.3.0 and later builds. Patches are taken from AUR, but I have to clean up GCC 6 one somehow. Link: https://bugs.gentoo.org/708346 Link: spack/spack#16968 Link: https://aur.archlinux.org/packages/gcc6 Link: https://aur.archlinux.org/packages/gcc7 Signed-off-by: Albert I <kras@raphielgang.org>
Toolchain build for targets other than AArch64 break due to changes mentioned since that affromentioned release. This is not an issue with 8.4.0, 9.3.0 and later builds. Patches are taken from AUR, but I have to clean up GCC 6 one somehow. Link: https://bugs.gentoo.org/708346 Link: spack/spack#16968 Link: https://aur.archlinux.org/packages/gcc6 Link: https://aur.archlinux.org/packages/gcc7 Signed-off-by: Albert I <kras@raphielgang.org>
Toolchain build for targets other than AArch64 break due to changes mentioned since that affromentioned release. This is not an issue with 8.4.0, 9.3.0 and later builds. Patches are taken from AUR, but I have to clean up GCC 6 one somehow. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92154 Link: https://bugs.gentoo.org/708346 Link: spack/spack#16968 Link: https://aur.archlinux.org/packages/gcc6 Link: https://aur.archlinux.org/packages/gcc7 Signed-off-by: Albert I <kras@raphielgang.org>
Toolchain build for targets other than AArch64 break due to changes mentioned since that affromentioned release. This is not an issue with 8.4.0, 9.3.0 and later builds. Patches are taken from AUR, but I have to clean up GCC 6 one somehow. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92154 Link: https://bugs.gentoo.org/708346 Link: spack/spack#16968 Link: https://aur.archlinux.org/packages/gcc6 Link: https://aur.archlinux.org/packages/gcc7 Signed-off-by: Albert I <kras@raphielgang.org>
Steps to reproduce the issue
From Ubuntu 20.04 with gcc 9.3.0 installed
Information on your system
Additional information
gcc maintainer: @michaelkuhn
General information
spack debug report
and reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>
and @mentioned any maintainersThe text was updated successfully, but these errors were encountered: