<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Please try compiling with -O0, when I remember correctly this solves
the problem<br>
<br>
Michael<br>
<br>
<div class="moz-cite-prefix">Am 28.02.15 um 04:42 schrieb Bee:<br>
</div>
<blockquote
cite="mid:CAL-BAQt3A9Yi=Eb16MSVHNA2Dov1n07p5q_8=xAh_aLgiFPo3g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>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...</div>
<div><br>
</div>
<div>pi@raspi /usr/local/fpc/trunk $ make all OPT=-dFPC_ARMHF<br>
</div>
<div><br>
</div>
<div>...</div>
<div>
<div>make -C linux all</div>
<div>make[7]: Entering directory
'/usr/local/fpc/trunk/rtl/linux'</div>
<div>as -o /usr/local/fpc/trunk/rtl/units/arm-linux/prt0.o
arm/<a moz-do-not-send="true" href="http://prt0.as">prt0.as</a></div>
<div>as -o /usr/local/fpc/trunk/rtl/units/arm-linux/dllprt0.o
arm/<a moz-do-not-send="true" href="http://dllprt0.as">dllprt0.as</a></div>
<div>as -o /usr/local/fpc/trunk/rtl/units/arm-linux/cprt0.o
arm/<a moz-do-not-send="true" href="http://cprt0.as">cprt0.as</a></div>
<div>as -o /usr/local/fpc/trunk/rtl/units/arm-linux/gprt0.o
arm/<a moz-do-not-send="true" href="http://gprt0.as">gprt0.as</a></div>
<div>as -o /usr/local/fpc/trunk/rtl/units/arm-linux/ucprt0.o
arm/<a moz-do-not-send="true" href="http://ucprt0.as">ucprt0.as</a></div>
<div>/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</div>
<div>An unhandled exception occurred at $0005FE8C:</div>
<div>EAccessViolation: Access violation</div>
<div> $0005FE8C</div>
<div> $0003CB14</div>
<div> $00036B84</div>
<div><br>
</div>
<div>Makefile:3527: recipe for target 'system.ppu' failed</div>
<div>make[7]: *** [system.ppu] Error 217</div>
<div>make[7]: Leaving directory
'/usr/local/fpc/trunk/rtl/linux'</div>
<div>Makefile:1940: recipe for target 'linux_all' failed</div>
<div>make[6]: *** [linux_all] Error 2</div>
<div>make[6]: Leaving directory '/usr/local/fpc/trunk/rtl'</div>
<div>Makefile:4131: recipe for target 'rtl' failed</div>
<div>make[5]: *** [rtl] Error 2</div>
<div>make[5]: Leaving directory
'/usr/local/fpc/trunk/compiler'</div>
<div>Makefile:4024: recipe for target 'next' failed</div>
<div>make[4]: *** [next] Error 2</div>
<div>make[4]: Leaving directory
'/usr/local/fpc/trunk/compiler'</div>
<div>Makefile:4037: recipe for target 'ppc3' failed</div>
<div>make[3]: *** [ppc3] Error 2</div>
<div>make[3]: Leaving directory
'/usr/local/fpc/trunk/compiler'</div>
<div>Makefile:4041: recipe for target 'cycle' failed</div>
<div>make[2]: *** [cycle] Error 2</div>
<div>make[2]: Leaving directory
'/usr/local/fpc/trunk/compiler'</div>
<div>Makefile:2805: recipe for target 'compiler_cycle' failed</div>
<div>make[1]: *** [compiler_cycle] Error 2</div>
<div>make[1]: Leaving directory '/usr/local/fpc/trunk'</div>
<div>Makefile:2837: recipe for target 'build-stamp.arm-linux'
failed</div>
<div>make: *** [build-stamp.arm-linux] Error 2</div>
</div>
<div><br>
</div>
<div>According to this article: <a moz-do-not-send="true"
href="http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/">http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/</a>,
it should be working. But I don't know what are the problems
with this revision.</div>
<div><br>
</div>
<div>Any hints? Thank you.</div>
<div><br>
</div>
<div>Regards,<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">-Bee-<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
</body>
</html>