[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird behavior of nested functions
From: |
Yoshinori K. Okuji |
Subject: |
Re: Weird behavior of nested functions |
Date: |
Sun, 9 Nov 2003 23:30:28 +0100 |
User-agent: |
KMail/1.5 |
On Sunday 09 November 2003 23:16, Marco Gerards wrote:
> This only happens if do_foo has 3 or more arguments and as I said this
> does not happen when running from GNU/Linux, etc.
It sounds like it is due to mixing up objects compiled differently. As the
i386 version of PUPA is compiled with -mrtd and -mregparm, you can corrupt
the stack space if you compile some of your code without the options.
Okuji