[PATCH v3 19/19] configure: Allow clang 18 or above

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Mon Nov 10 13:22:02 GMT 2025



On 31/10/25 21:35, Collin Funk wrote:
> 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

I will change to "Experimental support", it should be clear that is not
on par with gcc support and not fully ready.

> 
> Reviewed-by: Collin Funk <collin.funk1@gmail.com>
> 
> Collin



More information about the Libc-alpha mailing list