Re: [OE-core] [PATCH] libxshmfence: Build fixes for riscv32

2021-04-07 Thread Yu, Mingli
On 4/8/21 1:15 AM, Khem Raj wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] On Wed, Apr 7, 2021 at 1:08 AM Yu, Mingli wrote: From: Mingli Yu NR_futex is not defined by newer architectures e.g. riscv32 as they only have 64bit variant of time_t. Glibc defines SYS_futex

Re: [OE-core] [PATCH] libxshmfence: Build fixes for riscv32

2021-04-07 Thread Khem Raj
On Wed, Apr 7, 2021 at 1:08 AM Yu, Mingli wrote: > > From: Mingli Yu > > NR_futex is not defined by newer architectures e.g. riscv32 as > they only have 64bit variant of time_t. Glibc defines SYS_futex > interface based on __NR_futex, since this is used in applications, > such applications start

[OE-core] [PATCH] libxshmfence: Build fixes for riscv32

2021-04-07 Thread Yu, Mingli
From: Mingli Yu NR_futex is not defined by newer architectures e.g. riscv32 as they only have 64bit variant of time_t. Glibc defines SYS_futex interface based on __NR_futex, since this is used in applications, such applications start to fail to build for these newer architectures. Define a fallb