Sign in Join

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

Mailing lists / fpc-pascal / 2020-08

Can't build FPC 3.2.1

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Marcelo Rocha

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

Reply by email

Jonas Maebe
to Marcelo Rocha
Marcelo Rocha wrote 14 lines
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

Reply by email

Marcelo Rocha
to Jonas Maebe

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 <

Show quoted text 29 lines
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 - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email

Sven Barth
to Marcelo Rocha: I have downloaded fpc 3.2.0 linux x64 installer, and builded fpc's branch fixes_3_2 using…
Marcelo Rocha wrote 37 lines
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?

I can't reproduce it either on x86_64-win64 or x86_64-linux. As Jonas said, what is the command that you use?

Regards,
Sven

Reply by email

Jonas Maebe
to Marcelo Rocha: I've repeated the steps on a clean ubuntu 20.04 vm with the same result: Install…
Marcelo Rocha wrote 8 lines
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&revision=46718)

Jonas

Reply by email

Marcelo Rocha
to Jonas Maebe

It works now. Thanks.

Marcelo

Em qui., 27 de ago. de 2020 às 19:05, Jonas Maebe via fpc-pascal <

Show quoted text 25 lines
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&revision=46718 ) Jonas _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email