[PATCH v3 19/19] configure: Allow clang 18 or above
Carlos O'Donell
carlos@redhat.com
Mon Nov 3 14:17:19 GMT 2025
On 10/31/25 4:00 PM, Adhemerval Zanella wrote:
> The clang support is still experimental and not all testcase build
> or run correctly. Only clang 18 and onwards is supported and only
> for x86_64-linux-gnu and aarch64-linux-gnu.
> ---
> NEWS | 5 +++++
> configure | 2 +-
> configure.ac | 2 +-
> 3 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/NEWS b/NEWS
> index 4b1f259fde6..895292855ea 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -13,6 +13,11 @@ Major new features:
>
> * The ISO C23 memalignment function has been added.
>
> +* Initial support for building with clang has been added. It requires
> + at least clang version 18, aarch64-linux-gnu or x86_64-linux-gnu
> + targets, and libgcc compatible runtime (including libgcc_s.so for
> + pthread cancellation and backtrace runtime support).
> +
Curiously, we have a pre-commit CI failure here.
https://patchwork.sourceware.org/project/glibc/patch/20251031200300.3716090-20-adhemerval.zanella@linaro.org/
I don't know why the test fails?
../sysdeps/unix/sysv/linux/tst-getdents64.c:144: numeric comparison failure
left: 0 (0x0); from: entry.d_type
right: 8 (0x8); from: refentry->d_type
../sysdeps/unix/sysv/linux/tst-getdents64.c:144: numeric comparison failure
left: 0 (0x0); from: entry.d_type
right: 8 (0x8); from: refentry->d_type
error: 2 test failures
It hasn't failed in other pre-commit CI instances.
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list