lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151109160441.GA6451@yury-N73SV>
Date:	Mon, 9 Nov 2015 19:04:41 +0300
From:	Yury Norov <ynorov@...iumnetworks.com>
To:	Andreas Schwab <schwab@...e.de>
CC:	<pinskia@...il.com>, <linux-arm-kernel@...ts.infradead.org>,
	Arnd Bergmann <arnd@...db.de>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH v6 00/17] ILP32 for ARM64

On Mon, Nov 09, 2015 at 06:50:42PM +0300, Yury Norov wrote:
> On Mon, Nov 09, 2015 at 10:52:32PM +0800, pinskia@...il.com wrote:
> > 
> > 
> > > On Nov 9, 2015, at 10:36 PM, Arnd Bergmann <arnd@...db.de> wrote:
> > > 
> > >> On Monday 09 November 2015 15:33:51 Andreas Schwab wrote:
> > >> Arnd Bergmann <arnd@...db.de> writes:
> > >> 
> > >>>> On Monday 09 November 2015 14:23:59 Andreas Schwab wrote:
> > >>>> Yury Norov <ynorov@...iumnetworks.com> writes:
> > >>>> 
> > >>>>> This is what I run:
> > >>>>> https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t
> > >>>> 
> > >>>> That doesn't work for me:
> > >>>> 
> > >>>> ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: error: ‘__NR_llseek’ undeclar
> > >>>> ed (first use in this function)
> > >>>> ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:41:32: error: ‘__NR_fcntl64’ undeclared (first use in this function)
> > >>> 
> > >>> Did you re-export the kernel headers that you use as the base?
> > >> 
> > >> I'm using the patched 4.3 kernel headers.
> > > 
> > > Ok.
> > > 
> > >> Why is <asm/bitsperlong.h> defining __BITS_PER_LONG to 64 unconditionally?
> > > 
> > > It should not, that is a bug. I don't know how Yury built his glibc,
> > > but it can't work if __BITS_PER_LONG is wrong.
> > 
> > 
> > Looks like I had changed the header file manually for building glibc and Yury and myself missed that when  he updated the patches. 
> > 
> > 
> > Thanks,
> > Andrew
> > 
> > > 
> > >    Arnd
> 
> 
> No, it's my fault. I forgot to add a patch that sets __BITS_PER_LONG
> to 32. I'll send it here now.
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

View attachment "0001-arm64-uapi-set-__BITS_PER_LONG-correctly-for-ILP32-a.patch" of type "text/x-diff" (1415 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ