[fpc-pascal] Failed compiling SVN source on Raspi 1 B+

John Lee johnelee0 at gmail.com
Sun Mar 1 15:08:09 CET 2015


Confused re what bee is using. Line 1 of the email says rpi 1 whereas later
he refers to rpi 2 article..

Which 'v2.6.4 linuxarm' package is referred to in the email, from which
repo? That from svn apt-get install fpc or another?  How installed?

Be interested in progress with v3.1.1

John



On 28 February 2015 at 16:20, Michael Ring <mail at michael-ring.org> wrote:

>  Please try compiling with -O0, when I remember correctly this solves the
> problem
>
> Michael
>
> Am 28.02.15 um 04:42 schrieb Bee:
>
> Hi,
>
>  I just got my Raspberry 1 B+ and I wanted to install latest FPC (and
> Lazarus) on it. I got FPC v.2.6.4 installed from the linux-arm package. But
> then it failed to compile latest source from SVN (v.3.1.1 rev 30028).
> Here's the messages before the compilation failed...
>
>  pi at raspi /usr/local/fpc/trunk $ make all OPT=-dFPC_ARMHF
>
>  ...
>  make -C linux all
> make[7]: Entering directory '/usr/local/fpc/trunk/rtl/linux'
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/prt0.o arm/prt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/cprt0.o arm/cprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/gprt0.o arm/gprt0.as
> as  -o /usr/local/fpc/trunk/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
> /usr/local/fpc/trunk/compiler/ppc2 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../arm
> -Fi../unix -Fiarm -FE. -FU/usr/local/fpc/trunk/rtl/units/arm-linux
> -dFPC_ARMHF -darm -dRELEASE -Us -Sg system.pp
> An unhandled exception occurred at $0005FE8C:
> EAccessViolation: Access violation
>   $0005FE8C
>   $0003CB14
>   $00036B84
>
>  Makefile:3527: recipe for target 'system.ppu' failed
> make[7]: *** [system.ppu] Error 217
> make[7]: Leaving directory '/usr/local/fpc/trunk/rtl/linux'
> Makefile:1940: recipe for target 'linux_all' failed
> make[6]: *** [linux_all] Error 2
> make[6]: Leaving directory '/usr/local/fpc/trunk/rtl'
> Makefile:4131: recipe for target 'rtl' failed
> make[5]: *** [rtl] Error 2
> make[5]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4024: recipe for target 'next' failed
> make[4]: *** [next] Error 2
> make[4]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4037: recipe for target 'ppc3' failed
> make[3]: *** [ppc3] Error 2
> make[3]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:4041: recipe for target 'cycle' failed
> make[2]: *** [cycle] Error 2
> make[2]: Leaving directory '/usr/local/fpc/trunk/compiler'
> Makefile:2805: recipe for target 'compiler_cycle' failed
> make[1]: *** [compiler_cycle] Error 2
> make[1]: Leaving directory '/usr/local/fpc/trunk'
> Makefile:2837: recipe for target 'build-stamp.arm-linux' failed
> make: *** [build-stamp.arm-linux] Error 2
>
>  According to this article:
> http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/,
> it should be working. But I don't know what are the problems with this
> revision.
>
>  Any hints? Thank you.
>
>  Regards,
>
>  --
> -Bee-
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.orghttp://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150301/b344e3c5/attachment.html>


More information about the fpc-pascal mailing list