Subject: Re: compat netbsd32 broken on -current amd64 ?
To: NetBSD amd64 <port-amd64@NetBSD.org>
From: Nicolas Joly <firstname.lastname@example.org>
Date: 03/23/2005 17:42:42
On Wed, Mar 23, 2005 at 09:37:19AM +0100, Frank van der Linden wrote:
> Ok. The issue is: bad limit handling for COMPAT_NETBSD32.
> Things like VM_DEFAULT_ADDRESS (used to determine the address to load
> the ELF loader at) only deal with the default, native (64bit) limits.
> The code got away with this in the past, because MAXDSIZ on amd64 was
> below the 32bit limits. But now, it's 8G, things overflow, and come
> up with the wrong address to map the ELF loader.
> It's fixable, but it needs a little work. I'll fix it later this week.
Thanks for the analysis. For now, i just recompiled a kernel with
MAXDSIZ=2GB, and it works.
Biological Software and Databanks.
Institut Pasteur, Paris.