[fpc-pascal] Error building FPC 3.0.2 from svn sources on RPi3

Giuliano Colla giuliano.colla at fastwebnet.it
Sun Jun 4 17:55:11 CEST 2017

Il 04/06/2017 08:02, Bo Berglund ha scritto:

> But I also have other systems where a real time system would be handy.
> Do you have more info on this?

Yes. There was a bug in the way the FIQ was handled in a multicore ARM 
CPU (i.e. RPi2 and RPi3) , which was causing random freezes, not much 
frequent with vanilla kernels, but much more frequent with an RT_PREEMPT 
Finally someone (Oussama Ghorbel) took care of this and provided a patch.

Now at the OSADL (Open Source Automation Development Lab) Realtime QA 
Farm a system is under test with an uptime of 173 days, which makes it 

You may download kernel and patches from their website:

I did it and it works just fine.

Another workaround for the problem can be disabling the Fast Interrupt 
Queue in the command line, playing with kernel parameters. You can find 
more details in:

Then, if you're new to real time under Linux, you might find handy our 
Real Time Framework (YRMX), which provides a sort of high level 
interface, robust, efficient, easy to exploit and now also fpc 
compatible, to the pthread library. You'll find a description, both in a 
pdf paper and pdf slides at:

Feel free to ask if you have more questions, or if you're interested in 
YRMX. It's GPL'd but not yet published.


More information about the fpc-pascal mailing list