Subject: Re: failed to compile new ./lib/libc/stdlib/malloc.c
To: David Brownlee <abs@anim.dreamworks.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 07/04/1999 14:20:53
On Sun, 4 Jul 1999 09:24:15 -0700 (PDT) 
 David Brownlee <abs@anim.dreamworks.com> wrote:

 > 	Since the sparc port has a variable pagesize, PGSHIFT is
 > 	determined in terms of a kernel variable pgshift. This really does
 > 	not help userland though.
 > 
 > 	We _could_ make it conditional on a sysctl, but that would involve
 > 	lots of extra calculation in the malloc() code - there are quite a
 > 	few other variables that would switch from compile time definition
 > 	to runtime calcuation.

Actually, this needs to be done at run-time.  Otherwise, binary
compatibility between different-page-size m68k ports is busted, too.

I plan on doing this soon.

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>