RE: [fpc-pascal] StackTop and StackBottom are bogus in a Win32/64 Dll

2012-07-09 Thread Pierre Free Pascal
If I got that right, the problem is linked to the essence of a DLL (or shared library): A shared library can be used by any program. Thus the stack size might be different in location and size depending on that executable that loaded the DLL. So the only solution would be that the information

Re: [fpc-pascal] Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Reinier Olislagers wrote: On 21-6-2012 11:39, michael.vancann...@wisa.be wrote: On Thu, 21 Jun 2012, Reinier Olislagers wrote: Just compiled FPC with -dTEST_WIN64_SEH and noticed that fixes bugs 17360 Firebird database exceptions don't generate EIBDatabaseError but a gen

[fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Reinier Olislagers
On 9-7-2012 9:44, Michael Van Canneyt wrote: > On Mon, 9 Jul 2012, Reinier Olislagers wrote: >> On 21-6-2012 11:39, michael.vancanneyt-0is9kj9s...@public.gmane.org >> wrote: >>> On Thu, 21 Jun 2012, Reinier Olislagers wrote: Thought I'd let everybody know in case they run into Firebird x64 >>>

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Reinier Olislagers wrote: Patience. These things take time. I've set the weels in motion. Michael. Thanks. I noticed some things do take time.. the thing is that without any feedback is hard to guess whether something was forgotten, or wheels are set in motion... Let m

[fpc-pascal] ..installing XCode ...make sure not to deselect UNIX development support - TOO LATE

2012-07-09 Thread Paul McCombie
- I had already installed XCode 4.3 on my Mac before attempting to install fpc, and had deselected UNIX development support. I have attempted to completely remove 4.3 and installed 4.2. fpc appeared to install OK, and the firemonkey installation which I wanted it for. I have transferred a f

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Reinier Olislagers
On 9-7-2012 10:07, Michael Van Canneyt wrote: > On Mon, 9 Jul 2012, Reinier Olislagers wrote: > >>> Patience. These things take time. >>> >>> I've set the weels in motion. >>> >>> Michael. >> Thanks. >> >> I noticed some things do take time.. the thing is that without any >> feedback is hard to gu

Re: [fpc-pascal] ..installing XCode ...make sure not to deselect UNIX development support - TOO LATE

2012-07-09 Thread Jonas Maebe
Paul McCombie wrote on Sun, 08 Jul 2012: - I had already installed XCode 4.3 on my Mac before attempting to install fpc, and had deselected UNIX development support. Xcode 4.3 no longer allows you to select global support for UNIX development during the installation, you have to do so afte

Re: [fpc-pascal] How can a project determine if it's using cmem?

2012-07-09 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Tomas Hajny wrote: On Wed, July 4, 2012 11:32, Mark Morgan Lloyd wrote: When building a shared library, I'm putting a (function that returns a) magic number into both the library and the calling program. This returns an integer, and allows the program and library to che

Re: [fpc-pascal] How can a project determine if it's using cmem?

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Mark Morgan Lloyd wrote: Mark Morgan Lloyd wrote: Tomas Hajny wrote: On Wed, July 4, 2012 11:32, Mark Morgan Lloyd wrote: When building a shared library, I'm putting a (function that returns a) magic number into both the library and the calling program. This returns an i

[fpc-pascal] Define for -gh

2012-07-09 Thread leledumbo
Seems like I can't find it. Is there anything defined when I pass -gh? I need it to create optional feature of memory leak tracer. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Define-for-gh-tp5710270.html Sent from the Free Pascal - General mailing list archiv

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Reinier Olislagers wrote: But we'll get there. I'll leave you guys to it, then ;) It turns out there are reasons not to enable it by default just yet: Major issue 1: ld randomly crashes while linking any executable with .pdata section. When it crashes, Windows pops u

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Reinier Olislagers
On 9-7-2012 14:22, Michael Van Canneyt wrote: > It turns out there are reasons not to enable it by default just yet: > > Major issue 1: ld randomly crashes while linking any executable with > .pdata section. > When it crashes, Windows pops up the WER dialog, meaning that the entire > testsuite wil

[fpc-pascal] Reference in an articles to fpc

2012-07-09 Thread Žilvinas Ledas
Hello all, I'm doing some research involving numerical simulations and I'm using fpc for it. And as I really like fpc, I would like to mention it with a reference. So the question: is there some king of (published) paper/article concerning high-performance [numerical] computing I could use as

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Sven Barth
On 09.07.2012 14:22, Michael Van Canneyt wrote: Major issue 2: I used dummy relocations to link in required .pdata sections, but this cannot be expressed using gas. This means either smartlinking should be disabled with gas, or the entire .pdata will be dropped, making SEH unusable. You even co

Re: [fpc-pascal] Re: Win64 SEH patch fixes some Firebird embedded bugs

2012-07-09 Thread Michael Van Canneyt
On Mon, 9 Jul 2012, Sven Barth wrote: On 09.07.2012 14:22, Michael Van Canneyt wrote: Major issue 2: I used dummy relocations to link in required .pdata sections, but this cannot be expressed using gas. This means either smartlinking should be disabled with gas, or the entire .pdata will be d