Re: [PATCH] sandbox: Eliminate CONFIG_HOST_32/64BIT

2022-10-14 Thread Heinrich Schuchardt
On 10/14/22 13:42, Michal Suchánek wrote: On Fri, Oct 14, 2022 at 01:33:33PM +0200, Heinrich Schuchardt wrote: On 10/14/22 10:33, Michal Suchánek wrote: Hello, On Fri, Oct 14, 2022 at 08:40:52AM +0200, Heinrich Schuchardt wrote: From: Heinrich Schuchardt Building sandbox_defconfig on 32bit

Re: [PATCH] sandbox: Eliminate CONFIG_HOST_32/64BIT

2022-10-14 Thread Michal Suchánek
On Fri, Oct 14, 2022 at 01:33:33PM +0200, Heinrich Schuchardt wrote: > On 10/14/22 10:33, Michal Suchánek wrote: > > Hello, > > > > On Fri, Oct 14, 2022 at 08:40:52AM +0200, Heinrich Schuchardt wrote: > > > From: Heinrich Schuchardt > > > > > > Building sandbox_defconfig on 32bit systems require

Re: [PATCH] sandbox: Eliminate CONFIG_HOST_32/64BIT

2022-10-14 Thread Heinrich Schuchardt
On 10/14/22 10:33, Michal Suchánek wrote: Hello, On Fri, Oct 14, 2022 at 08:40:52AM +0200, Heinrich Schuchardt wrote: From: Heinrich Schuchardt Building sandbox_defconfig on 32bit systems requires manual configuration. we should void this. The compiler provides symbol __LP64__. This is enoug

Re: [PATCH] sandbox: Eliminate CONFIG_HOST_32/64BIT

2022-10-14 Thread Michal Suchánek
Hello, On Fri, Oct 14, 2022 at 08:40:52AM +0200, Heinrich Schuchardt wrote: > From: Heinrich Schuchardt > > Building sandbox_defconfig on 32bit systems requires manual configuration. > we should void this. > > The compiler provides symbol __LP64__. This is enough to know if the host > is a 64bi