Linux raspberrypi 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:49 BST 2018 armv7l GLinux
Working Copy Root Path: /home/pi/lazarus18/source
URL: https://svn.freepascal.org/svn/lazarus/branches/fixes_1_8
Relative URL: ^/branches/fixes_1_8
Repository Root: https://svn.freepascal.org/svn/lazarus
Repository UUID: 4005530d-fff6-0310-9dd1-cebe43e6787f
Revision: 57583
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 57430
Last Changed Date: 2018-03-02 14:47:52 +0300 (Fri, 02 Mar 2018)
/home/pi/lazarus18/source/components/PascalScript/Source/arm.inc(142,2) Error: (8006) Asm: Opcode fmrrd not in table
/home/pi/lazarus18/source/components/PascalScript/Source/uPSRuntime.pas(12743,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Makefile:2767: recipe for target 'pascalscript.ppu' failed
make[2]: *** [pascalscript.ppu] Error 1
make[2]: Leaving directory '/home/pi/lazarus18/source/components/PascalScript/Source'
Makefile:1603: recipe for target 'bigide' failed
make[1]: *** [bigide] Error 2
make[1]: Leaving directory '/home/pi/lazarus18/source/components'
Makefile:3251: recipe for target 'bigidecomponents' failed
make: *** [bigidecomponents] Error 2
Free Pascal Compiler version 3.1.1 [2017/12/24] for arm
Working Copy Root Path: /home/pi/fpc/source
URL: https://svn.freepascal.org/svn/fpc/trunk
Relative URL: ^/trunk
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 37792
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 37792
Last Changed Date: 2017-12-24 13:12:59 +0300 (Sun, 24 Dec 2017)
Tested more than once, and also tested on an empty directory, completed fresh checkout. Both fail on provided code.It was solved in FPC, not lazarus.
I only updated my Lazarus sources.
Free Pascal Compiler version 3.1.1 [2017/12/24] for armThat is too old, hence updating lazarus alone won't help (in fact you shouldn't have to update lazarus at all, just recompile with new(er) fpc).
... it should have been addressed with FPC revision 38720. note: FPC, did you do a fresh checkout for that as well ?Stupid typo's :-[. It should read: revision 38270 (date 17 feb 2018)
Hmm. I suspect that you will need a newer FPC trunk indeed.is correct :)
latest Lazarus also works ok.
That is too old, hence updating lazarus alone won't help (in fact you shouldn't have to update lazarus at all, just recompile with new(er) fpc).I believe, there are occasional updates to fixes_18 branch. So, I think it is "sometimes" necessary to update & build lazarus.
I believe, there are occasional updates to fixes_18 branch. So, I think it is "sometimes" necessary to update & build lazarus.It can also happen that a change in FPC also requires to 'update' lazarus. So yes, 'sometimes' it is necessary.
Lesson learned: First update fpc and then lazarus.For me it also isn't always clear where the error originates from (FPC or Lazarus), but in this case it was (for me at least) as the exact same error was reported on the bug-tracker ;)