Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-29 Thread Raymond Mao
Hi Tom, Jerome, On Wed, 28 May 2025 at 11:46, Raymond Mao wrote: > > Hi Jerome, > > On Wed, 28 May 2025 at 11:37, Jerome Forissier > wrote: > > > > > > > > On 5/28/25 17:22, Raymond Mao wrote: > > > Hi Jerome, > > > > > > On Wed, 28 May 2025 at 04:25, Jerome Forissier > > > wrote: > > >> > > >>

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Raymond Mao
Hi Jerome, On Wed, 28 May 2025 at 11:37, Jerome Forissier wrote: > > > > On 5/28/25 17:22, Raymond Mao wrote: > > Hi Jerome, > > > > On Wed, 28 May 2025 at 04:25, Jerome Forissier > > wrote: > >> > >> Hi Rayond, > >> > >> On 5/27/25 23:05, Raymond Mao wrote: > >>> MbedTLS bignum module needs '__

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Jerome Forissier
On 5/28/25 17:22, Raymond Mao wrote: > Hi Jerome, > > On Wed, 28 May 2025 at 04:25, Jerome Forissier > wrote: >> >> Hi Rayond, >> >> On 5/27/25 23:05, Raymond Mao wrote: >>> MbedTLS bignum module needs '__udivti3' which is a 128-bit division >>> function provided by the compiler runtime, typic

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Jerome Forissier
On 5/28/25 16:19, Tom Rini wrote: > On Wed, May 28, 2025 at 10:25:06AM +0200, Jerome Forissier wrote: >> Hi Rayond, >> >> On 5/27/25 23:05, Raymond Mao wrote: >>> MbedTLS bignum module needs '__udivti3' which is a 128-bit division >>> function provided by the compiler runtime, typically libgcc f

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Raymond Mao
Hi Jerome, On Wed, 28 May 2025 at 04:25, Jerome Forissier wrote: > > Hi Rayond, > > On 5/27/25 23:05, Raymond Mao wrote: > > MbedTLS bignum module needs '__udivti3' which is a 128-bit division > > function provided by the compiler runtime, typically libgcc for GCC or > > clang_rt.builtins for Cla

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Tom Rini
On Wed, May 28, 2025 at 10:25:06AM +0200, Jerome Forissier wrote: > Hi Rayond, > > On 5/27/25 23:05, Raymond Mao wrote: > > MbedTLS bignum module needs '__udivti3' which is a 128-bit division > > function provided by the compiler runtime, typically libgcc for GCC or > > clang_rt.builtins for Clang

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-28 Thread Jerome Forissier
Hi Rayond, On 5/27/25 23:05, Raymond Mao wrote: > MbedTLS bignum module needs '__udivti3' which is a 128-bit division > function provided by the compiler runtime, typically libgcc for GCC or > clang_rt.builtins for Clang. > Thus 'clang_rt.builtins' library is required when building using Clang. H

Re: [PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-27 Thread Tom Rini
On Tue, May 27, 2025 at 02:05:05PM -0700, Raymond Mao wrote: > MbedTLS bignum module needs '__udivti3' which is a 128-bit division > function provided by the compiler runtime, typically libgcc for GCC or > clang_rt.builtins for Clang. > Thus 'clang_rt.builtins' library is required when building us

[PATCH] makefile: fix Clang link error when RSA_PUBLIC_KEY_PARSER is selected

2025-05-27 Thread Raymond Mao
MbedTLS bignum module needs '__udivti3' which is a 128-bit division function provided by the compiler runtime, typically libgcc for GCC or clang_rt.builtins for Clang. Thus 'clang_rt.builtins' library is required when building using Clang. Fixes: 13de8483388c ("mbedtls: add mbedtls into the build