Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-03 Thread Ali Alnubani
On 10/2/25 7:28 PM, Bruce Richardson wrote: On Thu, Oct 02, 2025 at 06:42:15PM +0300, Ali Alnubani wrote: On 10/2/25 3:45 PM, David Marchand wrote: On Thu, 2 Oct 2025 at 13:54, David Marchand wrote: On Wed, 24 Sept 2025 at 13:13, Bruce Richardson wrote: The meson find_library() API call

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread Bruce Richardson
On Thu, Oct 02, 2025 at 06:42:15PM +0300, Ali Alnubani wrote: > On 10/2/25 3:45 PM, David Marchand wrote: > > > On Thu, 2 Oct 2025 at 13:54, David Marchand > > wrote: > > > On Wed, 24 Sept 2025 at 13:13, Bruce Richardson > > > wrote: > > > > The meson find_library() API call sometimes finds a l

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread Ali Alnubani
On 10/2/25 3:45 PM, David Marchand wrote: On Thu, 2 Oct 2025 at 13:54, David Marchand wrote: On Wed, 24 Sept 2025 at 13:13, Bruce Richardson wrote: The meson find_library() API call sometimes finds a library that is actually incompatible with the current build, for example, returning a 64-bi

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread David Marchand
On Thu, 2 Oct 2025 at 13:54, David Marchand wrote: > On Wed, 24 Sept 2025 at 13:13, Bruce Richardson > wrote: > > > > The meson find_library() API call sometimes finds a library that is > > actually incompatible with the current build, for example, returning a > > 64-bit library when doing a 32-b

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread David Marchand
On Thu, 2 Oct 2025 at 10:07, Bruce Richardson wrote: > On Thu, Oct 02, 2025 at 09:53:15AM +0200, David Marchand wrote: > > It's a pity meson refuses to define user helpers... so much copy/paste > > in this patch. > > > > Yes, though if we want to reduce it I can remove some that is currently > unn

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread David Marchand
On Wed, 24 Sept 2025 at 13:13, Bruce Richardson wrote: > > The meson find_library() API call sometimes finds a library that is > actually incompatible with the current build, for example, returning a > 64-bit library when doing a 32-bit build. To avoid problems with this, > check each library retu

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread Bruce Richardson
On Thu, Oct 02, 2025 at 09:53:15AM +0200, David Marchand wrote: > Hello Bruce, > > On Wed, 24 Sept 2025 at 13:13, Bruce Richardson > wrote: > > > > The meson find_library() API call sometimes finds a library that is > > actually incompatible with the current build, for example, returning a > > 64

Re: [PATCH v2] build: validate libraries returned from meson find function

2025-10-02 Thread David Marchand
Hello Bruce, On Wed, 24 Sept 2025 at 13:13, Bruce Richardson wrote: > > The meson find_library() API call sometimes finds a library that is > actually incompatible with the current build, for example, returning a > 64-bit library when doing a 32-bit build. To avoid problems with this, > check eac

[PATCH v2] build: validate libraries returned from meson find function

2025-09-24 Thread Bruce Richardson
The meson find_library() API call sometimes finds a library that is actually incompatible with the current build, for example, returning a 64-bit library when doing a 32-bit build. To avoid problems with this, check each library returned from a find_library() call and treat the library as unfound i