Sign in Join

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

Mailing lists / fpc-devel / 2005-07

svn revision 636 - does not compile

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Jan Ruzicka

Hi All

the fpc subversion revision 636 does not compile on OSX

The compilation was attempted using fpc 2.0
(Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc)

the compiler dies with "Internal error 200107271" on rtl/inc/mvecimp.inc.

the code in mvecimp.inc looks like:

      45 function objectname.length:datatype;
      46
      47 begin
      48     length:=sqrt(data[0]*data[0]
      49                 +data[1]*data[1]
      50                 {$if vecsize>=3}+data[2]*data[2]{$endif}
      51                 {$if vecsize>=4}+data[3]*data[3]{$endif});
      52 end;

The Error is generated on semicolon on line 51.

Jan
PS: the make/fpc error message

/usr/local/bin/ppcppc -dNOMOUSE -Ur -dFPC_USE_LIBC -Xs -O1 -n -Fi../inc -Fi../powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc -FE.
-FU/Users/janruzicka/fpc/fpc-svn/rtl/units/powerpc-darwin -dpowerpc -dRELEASE ../inc/matrix.pp
mvecimp.inc(51,58) Fatal: Internal error 200107271 mvecimp.inc(51,58) Error: Compilation aborted
make[7]: *** [matrix.ppu] Error 1
make[6]: *** [darwin_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.powerpc-darwin] Error 2

Reply by email

Jan Ruzicka
to Jan Ruzicka

Hi again,

now I am speculating what does the "Internal error 200107271" mean. Grepping around the source code leads to
constructor tcallnode.createintern
and possibly
"unknown compilerproc".

Would that be because the sqrt function is not defined? Is it caused by sqrt not present in the rtl/powerpc/math.inc?

Jan

Jan Ruzicka wrote 45 lines
Hi All the fpc subversion revision 636 does not compile on OSX The compilation was attempted using fpc 2.0 (Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc) the compiler dies with "Internal error 200107271" on rtl/inc/mvecimp.inc. the code in mvecimp.inc looks like: 45 function objectname.length:datatype; 46 47 begin 48 length:=sqrt(data[0]*data[0] 49 +data[1]*data[1] 50 {$if vecsize>=3}+data[2]*data[2]{$endif} 51 {$if vecsize>=4}+data[3]*data[3]{$endif}); 52 end; The Error is generated on semicolon on line 51. Jan PS: the make/fpc error message /usr/local/bin/ppcppc -dNOMOUSE -Ur -dFPC_USE_LIBC -Xs -O1 -n -Fi../inc -Fi../powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc -FE. -FU/Users/janruzicka/fpc/fpc-svn/rtl/units/powerpc-darwin -dpowerpc -dRELEASE ../inc/matrix.pp mvecimp.inc(51,58) Fatal: Internal error 200107271 mvecimp.inc(51,58) Error: Compilation aborted make[7]: *** [matrix.ppu] Error 1 make[6]: *** [darwin_all] Error 2 make[5]: *** [rtl] Error 2 make[4]: *** [next] Error 2 make[3]: *** [ppc1] Error 2 make[2]: *** [cycle] Error 2 make[1]: *** [compiler_cycle] Error 2 make: *** [build-stamp.powerpc-darwin] Error 2 _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email