kernel 3.8 make problem

Will Deacon will.deacon at arm.com
Thu Feb 7 06:03:46 EST 2013


On Thu, Feb 07, 2013 at 10:12:06AM +0000, Jean-Francois Moine wrote:
> On Wed, 6 Feb 2013 17:06:38 +0000
> Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
> 
> > On Wed, Feb 06, 2013 at 06:03:05PM +0100, Jean-Francois Moine wrote:
> > > I moved to make 3.82 and also libc6 2.17 (my Cubox runs Debian armhf
> > > with kernel 3.8-rc6), and I can now make some programs (with make 2.81,
> > > I was getting a seg fault of the child after the first vfork), but I
> > > get the same errors when building a kernel. Does anybody have such a
> > > problem?
> > 
> > Are you using a 2G:2G VM split?  If so, don't (really no reason to use
> > that on the cubox.)
> 
> With 3/1 VM split, you cannot use at least 128Mb.
> 
> But, thanks, you are right: 'make' works with 3/1, but not with 2/2 nor 1/3.
> The strangest thing is that all other programs seem to work fine.
> 
> What is the devil with make?

It uses bottom-up mmap (guessing it changes the stack rlimit) which is
currently broken with 2:2 split. There's a fix queued in rmk's tree
[dcef4c760f ("ARM: 7638/1: memory: define TASK_UNMAPPED_BASE in terms of
TASK_SIZE")].

Will



More information about the linux-arm-kernel mailing list