Hi Jonathan,

----- Original Message -----
> From: "Jonathan Watt" <[email protected]>
> To: [email protected]
> Sent: Monday, March 25, 2013 3:32:37 AM
> Subject: Re: [b2g] "Cannot allocate memory" linker error building with        
> GECKO_PATH=m-c
> 
> Hi Gabriele,
> 
> On 25/03/2013 08:58, Gabriele Svelto wrote:>   Hi Jonathan,
>  >
>  >> 
> build-b2g/B2G/prebuilt/darwin-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/bin/ld:
>  >> fatal error: libxul.so: mmap: failed to allocate 845861936 bytes
>  >> for
>  >> output
>  >> file: Cannot allocate memory
>  >> collect2: ld returned 1 exit status
>  >
>  > I hit a similar problem yesterday on Linux but strangely enough
>  > after
>  > pulling the latest patches into my checkout I couldn't reproduce
>  > it
>  > anymore. I can see the ld executable take a *lot* of memory during
>  > that
>  > phase and being a 32-bit executable it's possible that it's
>  > running
>  > out of virtual address space during that phase.
> 
> I just deleted my GECKO_OBJDIR and out dirs, updated everything, and
> rebuilt.
> Still the same issue with libxul.so for me I'm afraid. :/

What does uname -a show? (on your build machine)

Dave Hylands
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to