I have a same problem with "make all" in the root directory.
it crashes on:
 line 2890 "yya : array [1..yynacts] of YYARec = ("
...
 line 5922 ");"

Attempts for "make all" in the "utils/h2pas/" directory bring errors for the yyg table.
 yyg : array [1..yyngotos] of YYARec = (
   line 5924 "yyg : array [1..yyngotos] of YYARec = ("
  ...
   line 6653 );

The error message is attached bellow.

Jan Ruzicka



On Sep 16, 2005, at 09:32, Dr. Rolf Jansen wrote:

since some days I am no more able to "make all" the latest and greatest fpc from SVN sources, because there are compilation errors for h2pas.pas.

Here comes a log of a session which reproduces the error:

PBRJ:~/Programmieren/Xcode/Pascal/fpc Rolf$ svn update
At revision 1091.

PBRJ:~/Programmieren/Xcode/Pascal/fpc Rolf$ make all
make compiler_cycle RELEASE=1
...
...
...
make -C h2pas all
/Users/Rolf/Programmieren/Xcode/Pascal/fpc/compiler/ppcppc -Ur -Xs -O1 -n -Sg -Fu/Users/Rolf/Programmieren/Xcode/Pascal/fpc/rtl/units/powerpc-darwin -FE. -FUunits/powerpc-darwin -dpowerpc -dRELEASE h2pas.pas
h2pas.pas:5526:Fixup of 34988 too large for field width of 16 bits
h2pas.pas:5502:Fixup of 35076 too large for field width of 16 bits
h2pas.pas:5484:Fixup of 35140 too large for field width of 16 bits
h2pas.pas:5444:Fixup of 35288 too large for field width of 16 bits
h2pas.pas:5365:Fixup of 35580 too large for field width of 16 bits
h2pas.pas:5363:Fixup of 35588 too large for field width of 16 bits
h2pas.pas:5360:Fixup of 35600 too large for field width of 16 bits
h2pas.pas(2879,15) Error: Error while assembling exitcode 1
h2pas.pas(2879,15) Fatal: There were 2 errors compiling module, stopping
h2pas.pas(2879,15) Fatal: Compilation aborted
make[3]: *** [h2pas] Error 1
make[2]: *** [h2pas_all] Error 2
make[1]: *** [utils_all] Error 2
make: *** [build-stamp.powerpc-darwin] Error 2

I had a look at the source of h2pas.pas, but I found no obvious errors at the reported lines. Has anybody else experienced this problem, or might there be something wrong with my set up.

Any suggestions are welcome.

Best regards

Rolf

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

--------------------------------------------------------------------
$ cd utils/h2pas/
$ make all
/usr/local/bin/ppcppc -Sg -Fu../../rtl/units/powerpc-darwin -FE. -FUunits/powerpc-darwin -dpowerpc h2pas.pas
Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: Darwin for PowerPC
Compiling h2pas.pas
Compiling options.pas
Assembling options
Compiling scan.pas
Compiling lexlib.pas
Assembling lexlib
Compiling yacclib.pas
Assembling yacclib
Compiling converu.pas
Assembling converu
scan.pas(250,6) Note: Local variable "i" not used
Assembling scan
Assembling h2pas
h2pas.pas:6011:Fixup of 36508 too large for field width of 16 bits
h2pas.pas:6009:Fixup of 36496 too large for field width of 16 bits
h2pas.pas:6007:Fixup of 36464 too large for field width of 16 bits
h2pas.pas:6005:Fixup of 36372 too large for field width of 16 bits
h2pas.pas:6003:Fixup of 36336 too large for field width of 16 bits
h2pas.pas:6001:Fixup of 36304 too large for field width of 16 bits
h2pas.pas:5999:Fixup of 36076 too large for field width of 16 bits
h2pas.pas:5997:Fixup of 36020 too large for field width of 16 bits
h2pas.pas:5995:Fixup of 35940 too large for field width of 16 bits
h2pas.pas:5993:Fixup of 35928 too large for field width of 16 bits
h2pas.pas:5991:Fixup of 35896 too large for field width of 16 bits
h2pas.pas:5989:Fixup of 35820 too large for field width of 16 bits
h2pas.pas:5987:Fixup of 35736 too large for field width of 16 bits
h2pas.pas:5985:Fixup of 35652 too large for field width of 16 bits
h2pas.pas:5983:Fixup of 35616 too large for field width of 16 bits
h2pas.pas:5981:Fixup of 35492 too large for field width of 16 bits
h2pas.pas:5979:Fixup of 35076 too large for field width of 16 bits
h2pas.pas:5977:Fixup of 34960 too large for field width of 16 bits
h2pas.pas:5975:Fixup of 34880 too large for field width of 16 bits
h2pas.pas:5973:Fixup of 34720 too large for field width of 16 bits
h2pas.pas:5971:Fixup of 34664 too large for field width of 16 bits
h2pas.pas:5969:Fixup of 34608 too large for field width of 16 bits
h2pas.pas:5967:Fixup of 34552 too large for field width of 16 bits
h2pas.pas:5965:Fixup of 34468 too large for field width of 16 bits
h2pas.pas:5963:Fixup of 34384 too large for field width of 16 bits
h2pas.pas:5961:Fixup of 34348 too large for field width of 16 bits
h2pas.pas:5959:Fixup of 34152 too large for field width of 16 bits
h2pas.pas:5957:Fixup of 34120 too large for field width of 16 bits
h2pas.pas:5955:Fixup of 34088 too large for field width of 16 bits
h2pas.pas:5953:Fixup of 34076 too large for field width of 16 bits
h2pas.pas:5951:Fixup of 34044 too large for field width of 16 bits
h2pas.pas:5949:Fixup of 33960 too large for field width of 16 bits
h2pas.pas:5947:Fixup of 33928 too large for field width of 16 bits
h2pas.pas:5945:Fixup of 33760 too large for field width of 16 bits
h2pas.pas:5943:Fixup of 33676 too large for field width of 16 bits
h2pas.pas:5941:Fixup of 33592 too large for field width of 16 bits
h2pas.pas:5939:Fixup of 33508 too large for field width of 16 bits
h2pas.pas:5937:Fixup of 33424 too large for field width of 16 bits
h2pas.pas:5935:Fixup of 33340 too large for field width of 16 bits
h2pas.pas:5933:Fixup of 33256 too large for field width of 16 bits
h2pas.pas:5931:Fixup of 33172 too large for field width of 16 bits
h2pas.pas:5929:Fixup of 33088 too large for field width of 16 bits
h2pas.pas:5927:Fixup of 33004 too large for field width of 16 bits
h2pas.pas:5925:Fixup of 32920 too large for field width of 16 bits
h2pas.pas:5923:Fixup of 32836 too large for field width of 16 bits
h2pas.pas:5677:Fixup of 37904 too large for field width of 16 bits
h2pas.pas:5674:Fixup of 37916 too large for field width of 16 bits
h2pas.pas(8762,1) Error: Error while assembling exitcode 1
h2pas.pas(8762,1) Fatal: There were 2 errors compiling module, stopping
h2pas.pas(8762,1) Error: Compilation aborted
make: *** [h2pas] Error 1

_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to