Failed compiling SVN source on Raspi 1 B+

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Failed compiling SVN source on Raspi 1 B+

Bee Jay-2
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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

Michael Ring-2
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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

John Lee
In reply to this post by Bee Jay-2
Hi Bee

Bit confused - in your email, 12st line you seem to say this you just received rpi 1 B+, wheras you refer to a rpi-2 article. Did you mean rpi 2 ie the latest super version quad core version with armv7?  

Which 2.6.4 linux arm package did you use? The one from sudo apt-get install fpc or some other package - where from? Are you running wheezy or jessie?

Please let us know whether you can get svn 3.1.1 to build & what the build instructions are..

TIA
John

 




 

On 28 February 2015 at 03:42, Bee <[hidden email]> wrote:
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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

John Lee
In reply to this post by Michael Ring-2
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 <[hidden email]> 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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

Bee Jay-2

If you read the article, it's clearly said that the FPC v.2.6.4 arm-linux package was taken from FPC's official SourceForge repository, not from the apt-get (raspbian) repository. I refered to the article is more about how I installed FPC on an Raspberry Pi device, not about what I installed. So, yes... I was trying to install FPC on a Raspberry Pi 1 B+ model, not Raspberry 2.

After I succesfully installed FPC v.2.6.4 on my Raspberry Pi 1 B+ model, I tried to compile FPC trunk using this command:
make all OPT=-dFPC_ARMHF

It failed with an access violation while ppc2 was compiling system.pp, which I think it's still part of the bootstrapping. Even after I updated my SVN to the latest rev a few hours ago, it still failed.

So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on a Raspberry 1?

Anybody can help me on this? Thank you.



On Sun, Mar 1, 2015 at 9:08 PM, John Lee <[hidden email]> wrote:
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 <[hidden email]> 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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



--
-Bee-


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

Karoly Balogh (Charlie/SGR)
Hi,

On Tue, 3 Mar 2015, Bee wrote:

> So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on
> a Raspberry 1?

I just installed Free Pascal 2.6.4 on my RPi 1 Model B+, checked out
latest SVN trunk, then issued the following command:

make all OPT="-CpARMv6 -dFPC_ARMHF" FPC=$HOME/fpc-2.6.4/lib/fpc/2.6.4/ppcarm

I had FPC 2.6.4 installed in my home dir, obviously.

The make command above finished without a problem, and I got perfectly
working compiler as result.

> Anybody can help me on this? Thank you.

Probably your attempt was missing the -CpARMv6 option, in which case the
compiler might use a slightly different instruction set(?) which can cause
crashes.

Best,
--
Charlie
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

John Lee
In reply to this post by Bee Jay-2
No, article you referred to in original post is about rpi 2. Can't see mentioned where you got the fpc from either. 

Let's hope that we can get fpc 2.6.4 and 3.1.1 working on rpi 1 and rpi 2. 
john 

On 3 March 2015 at 03:14, Bee <[hidden email]> wrote:

If you read the article, it's clearly said that the FPC v.2.6.4 arm-linux package was taken from FPC's official SourceForge repository, not from the apt-get (raspbian) repository. I refered to the article is more about how I installed FPC on an Raspberry Pi device, not about what I installed. So, yes... I was trying to install FPC on a Raspberry Pi 1 B+ model, not Raspberry 2.

After I succesfully installed FPC v.2.6.4 on my Raspberry Pi 1 B+ model, I tried to compile FPC trunk using this command:
make all OPT=-dFPC_ARMHF

It failed with an access violation while ppc2 was compiling system.pp, which I think it's still part of the bootstrapping. Even after I updated my SVN to the latest rev a few hours ago, it still failed.

So, is it not possible to compile FPC trunk using FPC stable (2.6.4) on a Raspberry 1?

Anybody can help me on this? Thank you.



On Sun, Mar 1, 2015 at 9:08 PM, John Lee <[hidden email]> wrote:
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 <[hidden email]> 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@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  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal



--
-Bee-


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Failed compiling SVN source on Raspi 1 B+

Bee Jay-2
Yes, we can get both fpc 2.6.4 and trunk (3.1.1) working on both rpi 1 and rpi 2. Installing fpc 2.6.4 is easy and straight forward, but building fpc trunk needs a little bit of tricks and patience. I managed to successfully build fpc trunk on rpi 1, but somehow I still failed to get the debugger working on the text mode IDE. It kept saying it could't find LibGDB (it's written exactly like that) though I'm pretty sure the libgdb is installed on the system.

Now I'm trying to build lazarus trunk using fpc trunk. Any kind of helps is appreciated.

Wish me luck! :D


On Wed, Mar 4, 2015 at 8:14 PM, John Lee <[hidden email]> wrote:

Let's hope that we can get fpc 2.6.4 and 3.1.1 working on rpi 1 and rpi 2. 
john 

 
--
-Bee-


_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal