Open tshortli opened 1 year ago
@Lukasa looks like this may be fallout from https://github.com/apple/swift-corelibs-foundation/pull/4606, could you take a look?
The merged PR requires glibc 2.29, but Ubuntu Bionic ships with 2.27. I don't really know what we should do really, the feature simply doesn't work without it.
We can revert and keep a fallback to keep the current behaviour if we need to, I suppose.
The way we'd add the fallback is to add a way to query the support, which can be implemented using __GLIBC__
and __GLIBC_MINOR__
macros.
querying + fallback seems reasonable
@MaxDesiatov Do you have any bandwidth to do this?
I'll have a look, __GLIBC_MINOR__
check makes sense to me.
This is blocking the nightly builds, FWIW.
Foundation is currently failing to build on Ubuntu:
https://ci.swift.org/job/oss-swift-RA-linux-ubuntu-18_04/4169/console