gfortran in Ubuntu images broken because of added -gdwarf-5
flag
#6274
Labels
awaiting-deployment
Code complete; awaiting deployment and/or deployment in progress
bug report
investigate
Collect additional information, like space on disk, other tool incompatibilities etc.
OS: Ubuntu
Description
Today all Ubuntu jobs in the SciPy CI on Azure DevOps started breaking because
gfortran
is no longer able to compile anything. The way this shows up is:We are not installing Linuxbrew explicitly, nor are adding a
-gdwarf-5
flag. This is likely to be a mixup in GCC specs caused by gh-6258.See scipy/scipy#17058 for more details on the SciPy build failures in CI.
Platforms affected
Runner images affected
Image version and build link
I'll note that the Ubuntu 22.04 image should also be affected, however we don't have any CI jobs using that image so I can't be sure that it is affected.
Images affected:
Is it regression?
Yes. The problem started about 6 hours ago. The previous image was
20220905.1
, that worked fine.Expected behavior
gfortran
should not be passed a flag-gdwarf-5
, and compiling Fortran code withgfortran
should work.Actual behavior
See issue description.
Repro steps
Here is a CI job that fails: https://github.com/scipy/scipy/blob/main/azure-pipelines.yml#L58.
Compiling any Fortran code with
gfortran -g
should reproduce the issue.The text was updated successfully, but these errors were encountered: