Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2011-10

Trunk does not compile on Linux x86-64

10 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64:

Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

And get this:

...
/usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/sysconst.pp sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
...

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com

Reply by email

Unknown author
to Leonardo M. Ramé
Leonardo M. Ramé wrote 12 lines
Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux And get this: ... /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/sysconst.pp sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted ...

is the 'fpc' in your command-line of version 2.4.4 ?

If not, then it is a FAQ. Only compile the compiler with the latest stable compiler.

Michael.

Reply by email

Paul Ishenin
to Leonardo M. Ramé: Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: Linux leonardo-laptop…

19.10.11 21:47, Leonardo M. Ramé пишет:

Show quoted text 12 lines
Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux And get this: ... /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/sysconst.pp sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted ...

Are you using the latest released FPC = fpc 2.4.4 to build the trunk? If not please build with it. Building trunk compiler by an earlier version of trunk compiler is not supported.

Best regards,
Paul Ishenin

Reply by email

Leonardo M. Ramé
to Paul Ishenin
Show quoted text 28 lines
________________________________ From: Paul Ishenin To: ""Leonardo M. Ramé"" ; FPC developers' list Sent: Wednesday, October 19, 2011 10:53 AM Subject: Re: [fpc-devel] Trunk does not compile on Linux x86-64 19.10.11 21:47, Leonardo M. Ramé пишет: > Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: > > Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux > > And get this: > > ... > /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/sysconst.pp > sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" > sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > ... Are you using the latest released FPC = fpc 2.4.4 to build the trunk? If not please build with it. Building trunk compiler by an earlier version of trunk compiler is not supported. Best regards, Paul Ishenin

 
No, sorry, I'm using 2.7.1.

Leonardo M. Ramé
http://leonardorame.blogspot.com

Reply by email

Sven Barth
to Leonardo M. Ramé
Leonardo M. Ramé wrote 30 lines
> ________________________________ > From: Paul Ishenin > To: ""Leonardo M. Ramé""; FPC developers' list > Sent: Wednesday, October 19, 2011 10:53 AM > Subject: Re: [fpc-devel] Trunk does not compile on Linux x86-64 > > 19.10.11 21:47, Leonardo M. Ramé пишет: >> Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: >> >> Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >> >> And get this: >> >> ... >> /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/sysconst.pp >> sysconst.pp(243,7) Error: Wrong number of parameters specified for call to "$fpc_ansistr_sint" >> sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping >> Fatal: Compilation aborted >> ... > Are you using the latest released FPC = fpc 2.4.4 to build the trunk? If > not please build with it. Building trunk compiler by an earlier version > of trunk compiler is not supported. > > Best regards, > Paul Ishenin > > > No, sorry, I'm using 2.7.1.

Let me correct Paul's statement:

Compiling trunk with a compiler that is not the latest release is not supported.

Thus you MUST compile using 2.4.4.

Regards,
Sven

Reply by email

David Welch
to Sven Barth

is there an svn release number that does compile with 2.4.0 that will get me to 2.4.4 or better so that I can compile the trunk?

David

Sven Barth wrote 52 lines
Am 19.10.2011 15:55, schrieb Leonardo M. Ramé: >> ________________________________ >> From: Paul Ishenin >> To: ""Leonardo M. Ramé""; FPC developers' >> list >> Sent: Wednesday, October 19, 2011 10:53 AM >> Subject: Re: [fpc-devel] Trunk does not compile on Linux x86-64 >> >> 19.10.11 21:47, Leonardo M. Ramé пишет: >>> Hi, I'm trying to compile trunk on Ubuntu 11.10 x86-64: >>> >>> Linux leonardo-laptop 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 >>> 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux >>> >>> And get this: >>> >>> ... >>> /usr/local/bin/fpc -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 >>> -Fi../unix -Fix86_64 -FE. >>> -FU/home/leonardo/Desarrollo/fpc/rtl/units/x86_64-linux -Cg -dx86_64 >>> -dRELEASE ../objpas/sysconst.pp >>> sysconst.pp(243,7) Error: Wrong number of parameters specified for >>> call to "$fpc_ansistr_sint" >>> sysconst.pp(249) Fatal: There were 1 errors compiling module, stopping >>> Fatal: Compilation aborted >>> ... >> Are you using the latest released FPC = fpc 2.4.4 to build the trunk? If >> not please build with it. Building trunk compiler by an earlier version >> of trunk compiler is not supported. >> >> Best regards, >> Paul Ishenin >> >> >> > > No, sorry, I'm using 2.7.1. Let me correct Paul's statement: Compiling trunk with a compiler that is not the latest release is not supported. Thus you MUST compile using 2.4.4. Regards, Sven _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel .

Reply by email

Vincent Snijders
to David Welch

2011/10/21 David Welch :

is there an svn release number that does compile with 2.4.0 that will get me to 2.4.4 or better so that I can compile the trunk?

Guaranteed:
Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_2/ with fpc 2.4.0 to get fpc 2.4.2
Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_4/ with fpc 2.4.2 to get fpc 2.4.4
Compile http://svn.freepascal.org/svn/fpc/trunk with fpc 2.4.4 to get fpc 2.7.1

IIRC, you have a good chance to the first steps in one go: Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_4/ with fpc 2.4.0 to get fpc 2.4.4

Vincent

Reply by email

LacaK
to Vincent Snijders

Are there available Lazarus snapshots, which are build using current trunk ? If I download Lazarus with FPC 2.7.1 ( for example: ftp://www.hu.freepascal.org/pub/lazarus/snapshots/Lazarus-0.9.31-33000-fpc-2.7.1-20111021-win32.exe )
it seems, that there are not current source files from trunk, but from begining of September ?
Thanks
-Laco.

Show quoted text 24 lines
2011/10/21 David Welch : > is there an svn release number that does compile with 2.4.0 that will get me > to 2.4.4 or better so that I can compile the trunk? > > Guaranteed: Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_2/ with fpc 2.4.0 to get fpc 2.4.2 Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_4/ with fpc 2.4.2 to get fpc 2.4.4 Compile http://svn.freepascal.org/svn/fpc/trunk with fpc 2.4.4 to get fpc 2.7.1 IIRC, you have a good chance to the first steps in one go: Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_4/ with fpc 2.4.0 to get fpc 2.4.4 Vincent _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Jonas Maebe
to Vincent Snijders: 2011/10/21 David Welch : Guaranteed: Compile http://svn.freepascal.org/svn/fpc/tags/releas…
Vincent Snijders wrote 6 lines
Guaranteed: Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_2/ with fpc 2.4.0 to get fpc 2.4.2 Compile http://svn.freepascal.org/svn/fpc/tags/release_2_4_4/ with fpc 2.4.2 to get fpc 2.4.4 Compile http://svn.freepascal.org/svn/fpc/trunk with fpc 2.4.4 to get fpc 2.7.1

The last step is currently broken on 64 bit platforms because of r19516

Jonas

Reply by email

Vincent Snijders
to LacaK: Are there available Lazarus snapshots, which are build using current trunk ? If I…

2011/10/21 LacaK :

Show quoted text 7 lines
Are there available Lazarus snapshots, which are build using current trunk ? If I download Lazarus with FPC 2.7.1 ( for example: ftp://www.hu.freepascal.org/pub/lazarus/snapshots/Lazarus-0.9.31-33000-fpc-2.7.1-20111021-win32.exe )  it seems, that there are not current source files from trunk, but from begining of September ? Thanks

Should be fixed in a couple of hours.

The working copy got locked and svn cleanup in the fpcbuild directory (executed as part of the build script) didn't unlock the fpcsrc directory, which is an svn:external.

Vincent

Reply by email