public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* kernel 3.8 make problem
       [not found] <ttxj4oytvg02pxivwnruketi.1359554350723@email.android.com>
@ 2013-01-30 14:07 ` Jean-Francois Moine
  2013-01-30 14:59   ` Florian Fainelli
  0 siblings, 1 reply; 8+ messages in thread
From: Jean-Francois Moine @ 2013-01-30 14:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 30 Jan 2013 13:59:12 +0000
"Menon, Nishanth" <nm@ti.com> wrote:

> Not completely sure.. I was thinking rebuilt binutils or the like.. An abi breakage would be a sad story though. Let's see what the list says..

Maybe. I am using Debian sid, and the libc is rather old (2.13). Are
there some changes in kernels > 3.5 which could ask for a newer libc?

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-01-30 14:07 ` kernel 3.8 make problem Jean-Francois Moine
@ 2013-01-30 14:59   ` Florian Fainelli
  2013-01-30 15:35     ` Jean-Francois Moine
  2013-02-06 17:03     ` Jean-Francois Moine
  0 siblings, 2 replies; 8+ messages in thread
From: Florian Fainelli @ 2013-01-30 14:59 UTC (permalink / raw)
  To: linux-arm-kernel



On 01/30/2013 03:07 PM, Jean-Francois Moine wrote:
> On Wed, 30 Jan 2013 13:59:12 +0000
> "Menon, Nishanth" <nm@ti.com> wrote:
>
>> Not completely sure.. I was thinking rebuilt binutils or the like.. An abi breakage would be a sad story though. Let's see what the list says..
>
> Maybe. I am using Debian sid, and the libc is rather old (2.13). Are
> there some changes in kernels > 3.5 which could ask for a newer libc?
>

Are you using make 3.82 by chance?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-01-30 14:59   ` Florian Fainelli
@ 2013-01-30 15:35     ` Jean-Francois Moine
  2013-02-06 17:03     ` Jean-Francois Moine
  1 sibling, 0 replies; 8+ messages in thread
From: Jean-Francois Moine @ 2013-01-30 15:35 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 30 Jan 2013 15:59:13 +0100
Florian Fainelli <florian@openwrt.org> wrote:

> > Maybe. I am using Debian sid, and the libc is rather old (2.13). Are
> > there some changes in kernels > 3.5 which could ask for a newer libc?
> 
> Are you using make 3.82 by chance?

No, it is 3.81 dated 2006-04-01.

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-01-30 14:59   ` Florian Fainelli
  2013-01-30 15:35     ` Jean-Francois Moine
@ 2013-02-06 17:03     ` Jean-Francois Moine
  2013-02-06 17:06       ` Russell King - ARM Linux
  1 sibling, 1 reply; 8+ messages in thread
From: Jean-Francois Moine @ 2013-02-06 17:03 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 30 Jan 2013 15:59:13 +0100
Florian Fainelli <florian@openwrt.org> wrote:

> Are you using make 3.82 by chance?

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?

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-02-06 17:03     ` Jean-Francois Moine
@ 2013-02-06 17:06       ` Russell King - ARM Linux
  2013-02-07 10:12         ` Jean-Francois Moine
  0 siblings, 1 reply; 8+ messages in thread
From: Russell King - ARM Linux @ 2013-02-06 17:06 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Feb 06, 2013 at 06:03:05PM +0100, Jean-Francois Moine wrote:
> On Wed, 30 Jan 2013 15:59:13 +0100
> Florian Fainelli <florian@openwrt.org> wrote:
> 
> > Are you using make 3.82 by chance?
> 
> 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.)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-02-06 17:06       ` Russell King - ARM Linux
@ 2013-02-07 10:12         ` Jean-Francois Moine
  2013-02-07 11:03           ` Will Deacon
  0 siblings, 1 reply; 8+ messages in thread
From: Jean-Francois Moine @ 2013-02-07 10:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, 6 Feb 2013 17:06:38 +0000
Russell King - ARM Linux <linux@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?

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem
  2013-02-07 10:12         ` Jean-Francois Moine
@ 2013-02-07 11:03           ` Will Deacon
  2013-02-07 14:37             ` kernel 3.8 make problem [solved] Jean-Francois Moine
  0 siblings, 1 reply; 8+ messages in thread
From: Will Deacon @ 2013-02-07 11:03 UTC (permalink / raw)
  To: linux-arm-kernel

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@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* kernel 3.8 make problem [solved]
  2013-02-07 11:03           ` Will Deacon
@ 2013-02-07 14:37             ` Jean-Francois Moine
  0 siblings, 0 replies; 8+ messages in thread
From: Jean-Francois Moine @ 2013-02-07 14:37 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, 7 Feb 2013 11:03:46 +0000
Will Deacon <will.deacon@arm.com> wrote:

> > 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")].

Thank you very much. 'make' works fine now.

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-02-07 14:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <ttxj4oytvg02pxivwnruketi.1359554350723@email.android.com>
2013-01-30 14:07 ` kernel 3.8 make problem Jean-Francois Moine
2013-01-30 14:59   ` Florian Fainelli
2013-01-30 15:35     ` Jean-Francois Moine
2013-02-06 17:03     ` Jean-Francois Moine
2013-02-06 17:06       ` Russell King - ARM Linux
2013-02-07 10:12         ` Jean-Francois Moine
2013-02-07 11:03           ` Will Deacon
2013-02-07 14:37             ` kernel 3.8 make problem [solved] Jean-Francois Moine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox