GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #13497

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: New (gpc-20060325)
Date: 29 Mar 2006, 16:16:19

Frank Heckenbach wrote:

> Adriaan van Os wrote:
>
>> Some observations:
>>
>> 1. the problem does not occur when running gpc directly rather than
>> with make, even when passing the same compiler switches (this sounds
>> like random behaviour and makes me think there is an uninitialized
>> variable somewhere in the compiler source code)
>
> BTW, did you notice that aturbo3test.pas is tested via units.cmp
> which adds some options (in particular -DHAVE_CRT that triggers use
> of Turbo3)?
>
> If you haven't done yet, you might add an echo in units.cmp to find
> out with which options GPC is finally called. It's the line:
>
> $1 $2 $HAVE_UNITS
>
> (Or just add -DHAVE_CRT manually.)

OK, that explains it, the behaviour is not random.

> Another potential difference (though rather unlikely) would be
> environment variables.
>
> Unintialized compiler variables seem not so likely for this kind of
> problem, as Unix-like systems usually zero program's address space
> before the start anyway.

Anyway, fjf584a.pas and fjf584b.pas reproduce the problem in the 
testsuite (like PMemList does in units/system.pas).

Regards,

Adriaan van Os



Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Adriaan van Os New (gpc-20060325) 29 Mar 2006, 11:18:23
Frank Heckenbach New (gpc-20060325) 29 Mar 2006, 13:15:27

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).