Re: [Lazarus] Raspberry Pi 3 build issues

2016-04-01 Thread Mark Morgan Lloyd
Florian Klämpfl wrote: Am 25.03.2016 um 11:19 schrieb Mark Morgan Lloyd: Bo Berglund wrote: It should be noted that the default swap file size of Raspbian is only 100MB which combined with a possible GPU memory settings will occasionally cause Lazarus builds to fail mysteriously. I

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Florian Klämpfl
Am 25.03.2016 um 11:19 schrieb Mark Morgan Lloyd: > Bo Berglund wrote: > >>> It should be noted that the default swap file size of Raspbian is only >>> 100MB which combined with a possible GPU memory settings will occasionally >>> cause Lazarus builds to fail mysteriously. >> >> I originally had

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Anthony Walter
> You'll generally need something like 512Mb of available memory, i.e. RAM + swap, > with the linker in particular benefiting from extra. Around here, I'm being firmly > discouraged (by other colleagues with an electronics background) from putting > swap on the card, but instead putting it on an

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Mark Morgan Lloyd
Bo Berglund wrote: It should be noted that the default swap file size of Raspbian is only 100MB which combined with a possible GPU memory settings will occasionally cause Lazarus builds to fail mysteriously. I originally had instructions for usage that specifically increased swap to 1000MB to

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-25 Thread Bo Berglund
On Wed, 23 Mar 2016 14:03:25 -0400, Anthony Walter wrote: >Seeing as how SD CARD space is a premium on the Pi you should probably >clean up after you build and install. This include doing things like this >after make install: > >cd $HOME/fpc >rm -rf .svn There is no .svn dir in

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-23 Thread Anthony Walter
Seeing as how SD CARD space is a premium on the Pi you should probably clean up after you build and install. This include doing things like this after make install: cd $HOME/fpc rm -rf .svn find packages -name units | xargs rm -rf {0} find rtl -name units | xargs rm -rf {0} find packages -iname

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-23 Thread Special
Hi, Bo, great script. Worked excellently. Thank You - Hans Am 21.03.2016 um 17:28 schrieb Bo Berglund: On Mon, 21 Mar 2016 05:53:05 +, Anthony Walter wrote: Has anyone here built Lazarus from SVN sources on the Raspberry Pi 3 yet? I keep running into various issues.

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-21 Thread Bo Berglund
On Mon, 21 Mar 2016 05:53:05 +, Anthony Walter wrote: >Has anyone here built Lazarus from SVN sources on the Raspberry Pi 3 yet? I >keep running into various issues. This my latest issue from: I have done so multiple times and to facilitate installation on a bare newly

Re: [Lazarus] Raspberry Pi 3 build issues

2016-03-21 Thread Anthony Walter
It would seem the issue is related to running without enough of memory. I decreased my GPU/RAM split, rebooted to text mode, and "make all"'ed on Lazarus successfully. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Raspberry Pi 3 build issues

2016-03-20 Thread Anthony Walter
Has anyone here built Lazarus from SVN sources on the Raspberry Pi 3 yet? I keep running into various issues. This my latest issue from: Using a compiler from fpc/branches/fixes_3_0 build with: make all OPT="-dFPC_ARMHF" && make install PREFIX=$BASE/fpc And the compiler works fine svn co