FPC FIXES__3_0 fails to compile

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FPC FIXES__3_0 fails to compile

Tony Whyman
When compiling the latest fixes branch under Linux 64-bit fpc 3.0.2,
with the following make command:

make all  OS_TARGET=linux CPU_TARGET=x86_64 NOGDB=1 OPT=-O3 NEWOPT=-O4

The compilation failed with:

/bin/mkdir -p x86_64/units/x86_64-linux
make ./msg2inc
make[6]: Entering directory `/home/tony/fpcsrc/fpcfixes/compiler'
/usr/bin/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems
-Fu/home/tony/fpcsrc/fpcfixes/rtl/units/x86_64-linux -Fix86_64 -FE.
-FUx86_64/units/x86_64-linux -Cg -dRELEASE -O3   -dx86_64 -dGDB
-dBROWSERLOG -Fux86 -Sew -FE. utils/msg2inc.pp
msg2inc.pp(800,8) Warning: Variable "Mode" does not seem to be initialized
msg2inc.pp(824) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[6]: *** [msg2inc] Error 1
make[6]: Leaving directory `/home/tony/fpcsrc/fpcfixes/compiler'
make[5]: *** [msgtxt.inc] Error 2
make[5]: Leaving directory `/home/tony/fpcsrc/fpcfixes/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `/home/tony/fpcsrc/fpcfixes/compiler'
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory `/home/tony/fpcsrc/fpcfixes/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `/home/tony/fpcsrc/fpcfixes/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/home/tony/fpcsrc/fpcfixes'
make: *** [build-stamp.x86_64-linux] Error 2

The output of svn info is

Working Copy Root Path: /home/tony/fpcsrc/fpcfixes
URL: https://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 36236
Node Kind: directory
Schedule: normal
Last Changed Author: pierre
Last Changed Rev: 36152
Last Changed Date: 2017-05-07 23:13:21 +0100 (Sun, 07 May 2017)

As  a sanity check, I tried the same make command with fpc trunk
(r36236) and that compiles with no errors.

fpc-pascal maillist  -  [hidden email]