[Lazarus] Can some fix this "make" issue? Pi related.
Henry Vermaak
henry.vermaak at gmail.com
Fri Apr 1 11:20:08 CEST 2016
On Fri, Apr 01, 2016 at 09:12:10AM +0000, Mark Morgan Lloyd wrote:
> Henry Vermaak wrote:
> >On Fri, Apr 01, 2016 at 12:39:15AM -0400, Anthony Walter wrote:
> >>My question is can someone look into this issue so that building Lazarus in
> >>environments where free memory is than 700MB does not result in Lazarus
> >>build failures?
> >
> >I've come across ld running out of memory when linking the lazarus
> >executable on my (very) old ARM laptop. You can try to pass
> >--no-keep-memory and --reduce-memory-overheads to ld, at the cost of
> >performance. I can't see how the build system has anything to do with
> >it.
>
> It's always worked fine for me on things like NSLU-2 provided that the
> overall memory (i.e. RAM + swap) is at least 512Mb. It will be unfortunate
> if recent builds of FPC and/or Lazarus have pushed this requirement upwards,
> but so far I've not seen any problems on a Raspberry Pi (both 1 and 2)
> running Raspbian or Debian.
Yes, I remember that the slug needed swap. Swap is painfully slow,
though, so I'd recommend reducing ld's memory usage instead. I wonder
if anyone has tried the gold linker. It was supposed to be faster, I
don't know about memory usage.
Henry
More information about the Lazarus
mailing list