Mail Archives: cygwin/2004/04/28/17:59:38
At 12:08 PM 4/28/2004, you wrote:
>On Wed, Apr 28, 2004 at 12:41:51PM -0500, Brian Ford wrote:
>
> >
> >http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14776
> >
> >I'm working with Red Hat to resolve this issue right now. The problem is
> >that thread stacks are not always 16 byte aligned. You could try the
> >following hack if you need something right away and don't mind building
> >your own Cygwin DLL.
>
>This patch would only affect non-main threads. It would not affect the
>main thread. Wouldn't you need to do the same thing for the main thread?
>I don't understand why it would be different.
>
>cgf
>
Unless something has changed recently, gcc has never supported alignment of
local data, or code which requires it, in main(). main() aligns stack,
subject to the options specified, for each function called. Certain
commercial compilers have supported alignment in the past only with the use
of (non-portable) declspec.
Tim Prince
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -