[PATCH v3 19/19] configure: Allow clang 18 or above
Collin Funk
collin.funk1@gmail.com
Fri Oct 31 20:35:44 GMT 2025
Adhemerval Zanella <adhemerval.zanella@linaro.org> writes:
> 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).
> +
The configure checks look good. The wording of the NEWS entry looks
good. I think that "Initial support" implies that the clang support is
experimental, but perhaps we should be more explicit? WDYT?
That should be a minor wording change though, so regardless
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Collin
More information about the Libc-alpha
mailing list