RE: [fpc-devel] internal error #200602251

2010-09-28 Thread Pierre Free Pascal
  Thank you so much!

  It's been a while that I was trying to understand why
stabs generation was messed up for win64 target.
  Your suggestion is correct, I was able to
complete a cycle with DEBUG=1 using internal object writer and
linker and get correct stabs information.
  I will test a complete 'make clean all FPC=ppcx64 DEBUG=1'
at fpcsrc level and check in the fix if it completes successfully.

  Thanks again.

Pierre Muller

 -Message d'origine-
 De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel-
 boun...@lists.freepascal.org] De la part de Willibald Krenn
 Envoyé : Tuesday, September 28, 2010 1:28 AM
 À : FPC developers' list
 Objet : Re: [fpc-devel] internal error #200602251
 
 Proposed fix now in mantis, #0017500. Turns out RELOC_ABSOLUTE32 seems
 to work, I had forgotten to do a proper clean before checking.. :-\
 
 Cheers,
   Willi
 ___
 fpc-devel maillist  -  fpc-devel@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


RE: [fpc-devel] internal error #200602251

2010-09-28 Thread Pierre Free Pascal
  The complete compilation worked.
  
Patch committed in rev 16056 in trunk.

  Thanks again!

Pierre

 -Message d'origine-
 De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel-
 boun...@lists.freepascal.org] De la part de Pierre Free Pascal
 Envoyé : Tuesday, September 28, 2010 11:40 AM
 À : 'FPC developers' list'
 Objet : RE: [fpc-devel] internal error #200602251
 
   Thank you so much!
 
   It's been a while that I was trying to understand why
 stabs generation was messed up for win64 target.
   Your suggestion is correct, I was able to
 complete a cycle with DEBUG=1 using internal object writer and
 linker and get correct stabs information.
   I will test a complete 'make clean all FPC=ppcx64 DEBUG=1'
 at fpcsrc level and check in the fix if it completes successfully.
 
   Thanks again.
 
 Pierre Muller
 
  -Message d'origine-
  De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel-
  boun...@lists.freepascal.org] De la part de Willibald Krenn
  Envoyé : Tuesday, September 28, 2010 1:28 AM
  À : FPC developers' list
  Objet : Re: [fpc-devel] internal error #200602251
 
  Proposed fix now in mantis, #0017500. Turns out RELOC_ABSOLUTE32
 seems
  to work, I had forgotten to do a proper clean before checking.. :-\
 
  Cheers,
Willi
  ___
  fpc-devel maillist  -  fpc-devel@lists.freepascal.org
  http://lists.freepascal.org/mailman/listinfo/fpc-devel
 
 ___
 fpc-devel maillist  -  fpc-devel@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-devel

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Generics syntax error

2010-09-28 Thread Sven Barth

Am 27.09.2010 14:21, schrieb Sven Barth:

I'm having this issue, too, but with 2.4.3.


The following example code fails with FPC 2.4.2 RC1 as well (system is 
i386-win32):




program generictest;

{$mode objfpc}{$H+}

uses
  fgl;

type
  TTest = specialize TFPGListTObject;

begin
end.



2.4.0 works without problems here.
2.4.3 has the same problem (as mentioned in the previous mail).

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] RIP NoGlobals

2010-09-28 Thread Hans-Peter Diettrich
A last note on the NoGlobals branch, and parallel processing in the 
compiler:


I couldn't find any way to move global variables from globals.pas into 
e.g. fmodule (tmodule, current_module), without breaking ppudump 
dependencies. As long as nobody can provide a solution for this problem, 
I see no chance for any parallel processing in the compiler.


Now I'll resume my original work on multiple front-ends, this time using 
a git repository - thanks to Graeme for the FPC and Lazarus repositories :-)


DoDi

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] internal error #200602251

2010-09-28 Thread Willibald Krenn


Wow, that was quick! Thanks for putting this into trunk in record time! 
Cool, now I've got a working FPC and can start hacking on Delphi-like 
package stuff :)



Cheers,
 Willi


Am 28.09.2010 10:40, schrieb Pierre Free Pascal:

   Thank you so much!

   It's been a while that I was trying to understand why
stabs generation was messed up for win64 target.
   Your suggestion is correct, I was able to
complete a cycle with DEBUG=1 using internal object writer and
linker and get correct stabs information.
   I will test a complete 'make clean all FPC=ppcx64 DEBUG=1'
at fpcsrc level and check in the fix if it completes successfully.

   Thanks again.

Pierre Muller

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Generics syntax error

2010-09-28 Thread Willibald Krenn

Hi!


I'm having this issue, too, but with 2.4.3.


The following example code fails with FPC 2.4.2 RC1 as well (system is
i386-win32):


Tried that with trunk and it compiled fine. (FPC 2.5 on win64)

Cheers,
 Willi
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel