#1 2016-12-27 17:57:00

donaldshimoda
Member
From: Argentina
Registered: 2016-12-09
Posts: 25
Website

FPC + ARM don't compile testSQL3

I get that error message, latest build, is as expected?

SynCommons.pas(35716,70) Error: Incompatible type for arg no. 1: Got "SYNCOMMONS.PTypeInfo", expected "TYPINFO.PTypeInfo"

Best regards.

Offline

#2 2016-12-27 20:07:30

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: FPC + ARM don't compile testSQL3

Please try with the latest revision from trunk.
Currently it is 1.18.3297.

Offline

#3 2016-12-27 20:28:31

donaldshimoda
Member
From: Argentina
Registered: 2016-12-09
Posts: 25
Website

Re: FPC + ARM don't compile testSQL3

git log show this as first entry

commit de92ee86e173ff6948551bb089bde8dd3b1791a2
Author: Arnaud Bouchez <fakeaddress@synopse.info>
Date:   Tue Dec 27 17:37:38 2016 +0100

The error move in lines:

SynCommons.pas(35742,70) Error: Incompatible type for arg no. 1: Got "SYNCOMMONS.PTypeInfo", expected "TYPINFO.PTypeInfo"

Last edited by donaldshimoda (2016-12-27 20:45:03)

Offline

#4 2016-12-27 21:03:22

donaldshimoda
Member
From: Argentina
Registered: 2016-12-09
Posts: 25
Website

Re: FPC + ARM don't compile testSQL3

I must say im not using new pascal. Im a little confused about is need or don't. All my other freepascal projects work fine and don't want to break that if is not necessary.

Im using this freepascal commit

Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 34782
Node Kind: directory
Schedule: normal
Last Changed Author: karoly
Last Changed Rev: 34782
Last Changed Date: 2016-11-05 17:07:18 +0000 (Sat, 05 Nov 2016)

Offline

#5 2016-12-28 14:13:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: FPC + ARM don't compile testSQL3

Should be fixed now.

But it is safer to use mORMot from official github repository.

Offline

#6 2016-12-28 21:29:21

donaldshimoda
Member
From: Argentina
Registered: 2016-12-09
Posts: 25
Website

Re: FPC + ARM don't compile testSQL3

ab wrote:

Should be fixed now.

I see this changes

commit 75ec589893fe18692a4ce9aaf324b6604c2c7ce0
Author: Arnaud Bouchez <fakeaddress@synopse.info>
Date:   Wed Dec 28 19:31:18 2016 +0100

    new OPT4AMD conditional
    - to use "set of byte" to generate BT[mem] opcode which is actually slower under Intel than cascaded SUB, and may be faster under

ab wrote:

But it is safer to use mORMot from official github repository.

Im always using mORMot from official github repository... or i missing something?

BTW, it builds ok now! Great Job

Will post test summary when is done.

Offline

#7 2016-12-28 21:45:59

donaldshimoda
Member
From: Argentina
Registered: 2016-12-09
Posts: 25
Website

Re: FPC + ARM don't compile testSQL3

I test on lazarus 3 platforms on all theres some errors, that is as expected or theres a problem?

Windows

Using mORMot 1.18.3303 FTS3
Running on Windows 10 64bit (10.0.14393) with code page 1252
TSQLite3LibraryStatic 3.15.2 with internal MM
Generated with: Free Pascal 3.1.1 compiler

Time elapsed for all tests: 289.60s
Tests performed at 28/12/2016 17:33:35

Total assertions failed for all test suits:  164 / 24,280,856
! Some tests FAILED: please correct the code.

Linux / ARM

Using mORMot 1.18.3303 FTS3
Running on Linux-4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016
TSQLite3LibraryDynamic 3.8.7.1 with internal MM
Generated with: Free Pascal 3.1.1 compiler

Time elapsed for all tests: 765.80s
Tests performed at 12/28/16 09:33:45 PM

Total assertions failed for all test suits:  18,277 / 14,245,783
! Some tests FAILED: please correct the code.

Linux / i386

Using mORMot 1.18.3303 FTS3
Running on Linux-4.4.0-57-generic #78~14.04.1-Ubuntu SMP Sat Dec 10 00:16:09 UTC 2016
TSQLite3LibraryStatic 3.15.2 with internal MM
Generated with: Free Pascal 3.1.1 compiler

Time elapsed for all tests: 79.80s
Tests performed at 28/12/16 13:44:48

Total assertions failed for all test suits:  21,375 / 14,001,251
! Some tests FAILED: please correct the code.

Offline

#8 2016-12-28 22:24:53

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: FPC + ARM don't compile testSQL3

With newpascal under windows I have only some issues with named pipes.

Offline

#9 2017-01-16 17:12:46

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: FPC + ARM don't compile testSQL3

Just compiled:

Using mORMot 1.18.3324 FTS3
Running on Windows 7 64bit SP1 (6.1.7601) with code page 1252
TSQLite3LibraryStatic 3.16.2 with internal MM
Generated with: Free Pascal 3.1.1 ERTTI compiler
 
Time elapsed for all tests: 57.36s
Tests performed at 16/01/2017 18:08:21
 
Total assertions failed for all test suits:  0 / 24,612,891
! All tests passed successfully.

See http://pastebin.com/Fj286x6U

Offline

#10 2017-01-17 22:04:16

warleyalex
Member
From: Sete Lagoas-MG, Brasil
Registered: 2013-01-20
Posts: 250

Re: FPC + ARM don't compile testSQL3

Using the latest newPascal, not exacty flawless but I've got good results in a very old computer with WinXP

Total assertions failed for all test suits:  7 / 24,316,034

See: http://pastebin.com/raw/SZB4vPED

Offline

Board footer

Powered by FluxBB