[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995187: qtwebengine-opensource-src FTBFS on mips*: unistd_nr_{n32,n64,o32}.h no linger exported by the kernel



On Wed, Sep 29, 2021 at 08:03:37PM +0800, YunQiang Su wrote:
> The 999u is due to that:
> #if _MIPS_SIM == _MIPS_SIM_ABI32
> #define __NR_Linux      4000
> #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
> #if _MIPS_SIM == _MIPS_SIM_ABI64
> #define __NR_Linux      5000
> #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */
> #if _MIPS_SIM == _MIPS_SIM_NABI32
> #define __NR_Linux      6000
> #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */
>
> The o32/n64/n32 ABI is just from 4000/5000/6000.
>
> In the previous version of Linux kernel, it expose
>      __NR_64_Linux_syscalls
>      __NR_32_Linux_syscalls
>      __NR_N32_Linux_syscalls
> for the real number of syscalls for the given Linux version.
> While now, these macro has been tread as kernel internal values,
> and cannot be get in userland.
>
> Since 4000/5000/6000, ≥ will be impossbile without huge rework for kernel.

Thanks for the explanation! I added your patch and uploaded new version,
let's see how it goes.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: