[fpc-devel]Re: fpc and VirtualPC/Mac OS X

2003-10-22 Thread Dr. Karl-Michael Schindler
Wow, Jonas

That was quick. I am impressed. Minor correction, though:

You said:

a) in rtl/inc/system.inc, remove {$define SUPPORT_EXTENDED}

but this line is in rtl/inc/systemh.inc

Furthermore, after doing all your patches, new errors show up in real2str.inc

I will look into it in more detail.

After  

Dr. Karl-Michael Schindler
FB Physik
Martin-Luther-Universität Halle-Wittenberg
D-06099 Halle (Saale)
Germany
Tel.: ++49 (0) 345 552-5563


[fpc-devel]Re: fpc and VirtualPC/Mac OS X

2003-10-23 Thread Dr. Karl-Michael Schindler
The above mentioned errors were due to a type mismatch. I had to change the type valreal from extended to double. This is in the file rtl/inc/systemh.inc. In addition I had to set MaxDouble and MinDouble in objpas/math.pp to other values. As a preliminary i just used the same values as MaxSingle and MinSingle.

Then make cycle with ppc386 1.0.10 goes through nearly through. However, finally it stucks and I have no clue at all. This is the last part of the log:

make ppc386
make[3]: Wechsel in das Verzeichnis Verzeichnis »/usr/local/src/fpc/compiler«
/usr/local/src/fpc/compiler/ppc3   -di386 -dGDB -dBROWSERLOG -Fux86 -Fui386 -Fusystems -Fu../rtl/linux -Fii386 -FE. pp.pas
Free Pascal Compiler version 1.1 [2003/10/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Linux for i386
Compiling pp.pas
.
.
.
Compiling ./x86/aasmcpu.pas
Compiling ./x86/itx86att.pas
Panic : Internal compiler error, exiting.
i386tab.inc(6,15) Fatal: Internal error 
make[3]: *** [ppc386] Fehler 1
make[3]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/fpc/compiler«
make[2]: *** [next] Fehler 2
make[2]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/fpc/compiler«
make[1]: *** [remake3] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis »/usr/local/src/fpc/compiler«
make: *** [cycle] Fehler 2


[fpc-devel]Re: fpc and VirtualPC/Mac OS X

2003-10-29 Thread Dr. Karl-Michael Schindler
Jonas Maebe wrote lately:

>
>>Compiling ./x86/aasmcpu.pas
>>Compiling ./x86/itx86att.pas
>>Panic : Internal compiler error, exiting.
>>i386tab.inc(6,15) Fatal: Internal error 
>
>This is a segmentation fault (e.g. null pointer dereference). Compile 
with
>
>make cycle OPT="-gl -dnocatch"
>
>to get a full backtrace with line numbers.
>
>Jonas

With the recent 1.1 sources (patched for the extended problem), the 
simple make cycle now stopped with ppc2 compiling objpas.pp:

Compiling ../objpas/objpas.pp
objpas.pp(291,14) Fatal: Internal error 200305061
Making with make cycle OPT="-gl -dnocatch":

ppc1 gets created, but when compiling system.pp with ppc1 is seems to 
be stuck in an endless loop. At least it did not finish within 12 
hours. As a reference for the speed under VirtualPC: pp.pas took 680 
sec, i.e, 12 minutes.

Any hints?

Michael





___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel]Re: fpc and VirtualPC/Mac OS X

2003-10-29 Thread Dr. Karl-Michael Schindler
Hi there.

More on the endless loop problem with ppc1 and rtl/linux/system.pp

I ran the offensing command with and without the -gl option and logged 
verbose output (-va). Without -gl system.pp compiled in reasonable 
time. Here come more details, without any idea to fix them however:

real2str.inc(295,8)  Handling switch "$ENDIF"
real2str.inc(295,8)  ENDIF SUPPORT_SINGLE found
real2str.inc(295,8)  Skipping until...
real2str.inc(296,8)  Handling switch "$ENDIF"
real2str.inc(296,8)  ENDIF SUPPORT_DOUBLE found
real2str.inc(296,8)  Skipping until...
real2str.inc(297,8)  Handling switch "$ENDIF"
real2str.inc(297,8)  ENDIF SUPPORT_EXTENDED found
real2str.inc(297,8)  Skipping until...
real2str.inc(298,8)  Handling switch "$ENDIF"
real2str.inc(298,8)  ENDIF ENDIAN_BIG found
300 383/2.304 Kb Free
real2str.inc(336,21) Hint: Type size mismatch, possible loss of data / 
range check error
real2str.inc(373,15) Hint: Type size mismatch, possible loss of data / 
range check error
real2str.inc(374,27) Hint: Type size mismatch, possible loss of data / 
range check error
400 348/2.304 Kb Free
real2str.inc(63,31) Note: Local variable "orgd" not used
real2str.inc(79,3) Hint: Local const "minexp" is not used		<--- This is 
the last line when compiling with -gl
real2str.inc(471)  Back in sstrings.inc
sstrings.inc(377,127)  IFDEF HASCOMPILERPROC found, accepted
sstrings.inc(377,164)  ENDIF HASCOMPILERPROC found
sstrings.inc(378,1)  procedure/function $fpc_shortstr_float(Double, 
Longint, Longint, Longint,var ShortString);CompilerProc





Michael





___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel]Re: fpc and VirtualPC/Mac OS X

2003-10-23 Thread Jonas Maebe
On donderdag, okt 23, 2003, at 13:01 Europe/Brussels, Dr. Karl-Michael 
Schindler wrote:

Compiling ./x86/aasmcpu.pas
Compiling ./x86/itx86att.pas
Panic : Internal compiler error, exiting.
i386tab.inc(6,15) Fatal: Internal error 
This is a segmentation fault (e.g. null pointer dereference). Compile 
with

make cycle OPT="-gl -dnocatch"

to get a full backtrace with line numbers.

Jonas

___
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel