Re: [fpc-pascal] Can't build FPC 3.2.1
It works now. Thanks. Marcelo Em qui., 27 de ago. de 2020 às 19:05, Jonas Maebe via fpc-pascal < fpc-pascal@lists.freepascal.org> escreveu: > On 27/08/2020 23:39, Marcelo Rocha via fpc-pascal wrote: > > I've repeated the steps on a clean ubuntu 20.04 vm with the same result: > > > > Install fpc-3.2.0 binary release then: > > > > svn co https://svn.freepascal.org/svn/fpc/branches/fixes_3_2 > > make distclean > > make all > > make install > > Have you updated just now? Because I noticed Pierre reverted some > Makefile changes in the 3.2 branch earlier this evening related to make > install issues > ( > https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision=46718 > ) > > > Jonas > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Can't build FPC 3.2.1
I've repeated the steps on a clean ubuntu 20.04 vm with the same result: Install fpc-3.2.0 binary release then: svn co https://svn.freepascal.org/svn/fpc/branches/fixes_3_2 make distclean make all make install Marcelo Em qui., 27 de ago. de 2020 às 18:23, Jonas Maebe via fpc-pascal < fpc-pascal@lists.freepascal.org> escreveu: > On 27/08/2020 21:45, Marcelo Rocha via fpc-pascal wrote: > > > I have downloaded fpc 3.2.0 linux x64 installer, and builded fpc's > > branch fixes_3_2 using it.. When I run the command make install, I've > > got the following errors: > > > > make[3]: Entering directory '/root/fixes_3_2/compiler' > > /root/fixes_3_2/compiler/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems > > -Fu/root/fixes_3_2/rtl/units/x86_64-linux -Fix86_64 -FE. > > -FUx86_64/units/x86_64-linux -Cg -dRELEASE -dx86_64 -dGDB -dBROWSERLOG > > -Fux86 -Sew pp.pas > > catch.pas(214,19) Error: Unit x86_64/units/x86_64-linux/catch.ppu was > > compiled using a different whole program optimization feedback input > > (/root/fixes_3_2/compiler/pp2.wpo, 2020/08/27 19:11:16); recompile it > > without wpo or use the same wpo feedback input file for this compilation > > invocation > > I can't reproduce this on Darwin. What are the exact build and install > commands you used? Have you tried performing a "make distclean" before > building? > > > Jonas > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] Can't build FPC 3.2.1
Hi all, I have downloaded fpc 3.2.0 linux x64 installer, and builded fpc's branch fixes_3_2 using it.. When I run the command make install, I've got the following errors: make[3]: Entering directory '/root/fixes_3_2/compiler' /root/fixes_3_2/compiler/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/root/fixes_3_2/rtl/units/x86_64-linux -Fix86_64 -FE. -FUx86_64/units/x86_64-linux -Cg -dRELEASE -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas catch.pas(214,19) Error: Unit x86_64/units/x86_64-linux/catch.ppu was compiled using a different whole program optimization feedback input (/root/fixes_3_2/compiler/pp2.wpo, 2020/08/27 19:11:16); recompile it without wpo or use the same wpo feedback input file for this compilation invocation verbose.pas(214,19) Error: Unit x86_64/units/x86_64-linux/verbose.ppu was compiled using a different whole program optimization feedback input (/root/fixes_3_2/compiler/pp2.wpo, 2020/08/27 19:11:16); recompile it without wpo or use the same wpo feedback input file for this compilation invocation cutils.pas(36,12) Error: Unit x86_64/units/x86_64-linux/cutils.ppu was compiled using a different whole program optimization feedback input (/root/fixes_3_2/compiler/pp2.wpo, 2020/08/27 19:11:16); recompile it without wpo or use the same wpo feedback input file for this compilation invocation constexp.pas(36,12) Error: Unit x86_64/units/x86_64-linux/constexp.ppu was compiled using a different whole program optimization feedback input (/root/fixes_3_2/compiler/pp2.wpo, 2020/08/27 19:11:16); recompile it without wpo or use the same wpo feedback input file for this compilation invocation cutils.pas(186,1) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted make[3]: *** [Makefile:4259: ppcx64] Error 1 What should I do? Regards, Marcelo Rocha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] LongInt and LongWord types
Delphi's LongInt and LongWord are 32 bits on Windows, but 64 bits on supported Posix platforms( http://docwiki.embarcadero.com/RADStudio/Rio/en/Simple_Types_(Delphi)), following the conventions from LP64/LLP64. FreePascal declares with the same size for all platforms. What's the best way to do portable code: using types clong and culong? FreePascal could emit a warning when compiling a code with Longint/Longword variables, targeting a Posix platform, with {$mode delphi}? Regards, Marcelo Rocha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal