Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Adriaan van Os via fpc-pascal
Michael Van Canneyt via fpc-pascal wrote: Not sure where the 1.3.31 came from, but stack checking is mentioned in 1.7.72; For fpc-3.0.4 stack stacking is mentioned in 1.3.31 as a global directive. For 3.2.0 stack checking is indeed mentioned in 1.2.72 as a local directive. If the directive has

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Michael Van Canneyt via fpc-pascal
On Fri, 5 Feb 2021, Michael Van Canneyt via fpc-pascal wrote: On Fri, 5 Feb 2021, Sven Barth via fpc-pascal wrote: Adriaan van Os via fpc-pascal schrieb am Fr., 5. Feb. 2021, 10:50: Adriaan van Os via fpc-pascal wrote: Jonas Maebe via fpc-pascal wrote: On 2021-02-05 09:24, Adriaan van

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Michael Van Canneyt via fpc-pascal
On Fri, 5 Feb 2021, Sven Barth via fpc-pascal wrote: Adriaan van Os via fpc-pascal schrieb am Fr., 5. Feb. 2021, 10:50: Adriaan van Os via fpc-pascal wrote: Jonas Maebe via fpc-pascal wrote: On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote: It's crazy !

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Sven Barth via fpc-pascal
Adriaan van Os via fpc-pascal schrieb am Fr., 5. Feb. 2021, 10:50: > Adriaan van Os via fpc-pascal wrote: > > Jonas Maebe via fpc-pascal wrote: > >> On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote: > >>> It's crazy ! > >>> > >> > >> The def

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Jonas Maebe via fpc-pascal
On 05/02/2021 10:50, Adriaan van Os via fpc-pascal wrote: > Also > > 1. Section 1.3.31 of the Programmer's manual says "By default, no stack > checking is performed." That is correct. > 2. If it is broken with gpc-3.2.0, such the more reason to put it off. > It doesn't do real stack-checking any

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Adriaan van Os via fpc-pascal
Adriaan van Os via fpc-pascal wrote: Jonas Maebe via fpc-pascal wrote: On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote: It's crazy ! The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0): Thanks for tne reply. # For a deb

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Adriaan van Os via fpc-pascal
Jonas Maebe via fpc-pascal wrote: On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote: It's crazy ! The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0): Thanks for tne reply. # For a debug version compile with debuginfo and

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Jonas Maebe via fpc-pascal
On 2021-02-05 09:24, Adriaan van Os via fpc-pascal wrote: It's crazy ! The default fpc.cfg file contains this (both in 3.0.4 and 3.2.0): # For a debug version compile with debuginfo and all codegeneration checks on #IFDEF DEBUG -gl -Crtoi

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-05 Thread Adriaan van Os via fpc-pascal
Jonas Maebe via fpc-pascal wrote: On 04/02/2021 21:26, Adriaan van Os via fpc-pascal wrote: I am getting crashes on Mac OS X 10.8.5 in a C-program with statically linked-in fpc code. The crashes seem related to fpc unit initialisation. This happens with fpc-3.2.0 but not when compiling the same

Re: [fpc-pascal] Statically linked-in fpc code

2021-02-04 Thread Jonas Maebe via fpc-pascal
On 04/02/2021 21:26, Adriaan van Os via fpc-pascal wrote: > I am getting crashes on Mac OS X 10.8.5 in a C-program with statically > linked-in fpc code. The crashes seem related to fpc unit initialisation. > This happens with fpc-3.2.0 but not when compiling the same code with > fpc-3.0.4. Has some

[fpc-pascal] Statically linked-in fpc code

2021-02-04 Thread Adriaan van Os via fpc-pascal
I am getting crashes on Mac OS X 10.8.5 in a C-program with statically linked-in fpc code. The crashes seem related to fpc unit initialisation. This happens with fpc-3.2.0 but not when compiling the same code with fpc-3.0.4. Has something changed from 3.0.4 to 3.2.0 related to unit initialisatio