Skip to content

libcxx presubmit should be tested against minimal supported glibc (2.24) #122774

Open
@zeroomega

Description

@zeroomega

In https://libcxx.llvm.org/#platform-and-compiler-support, it mentioned the minimal supported glibc on Linux is glibc-2.24, which is from Debian 9 Stretch. However, all libcxx presubmit builders uses a docker image from Ubuntu 20.04, which has glibc-2.35, see:

➜  ~ docker run -it --entrypoint bash 'ghcr.io/llvm/libcxx-linux-builder:b9a2658a3e8bd13b0f9e7a8a440832a95b377216'
runner@0b34c8fcc3c5:~$ /usr/lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.8) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 11.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

This could potentially cause issues as non of the presubmit builder could catch a change that breaks glibc 2.24. We should explicitly use the minimal supported glibc on part of, if not all of libcxx presbumit builders for linux.

FYI, Ubuntu 18.04 LTS Bionic has glibc 2.27. Ubuntu 16.04 LTS Xenial has glibc 2.23.

Metadata

Metadata

Assignees

No one assigned

    Labels

    github:workflowlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions