[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: stack align in multithread.c (was Re: [Bug-gnubg] OS/X check in)
From: |
Jonathan Kinsey |
Subject: |
RE: stack align in multithread.c (was Re: [Bug-gnubg] OS/X check in) |
Date: |
Thu, 10 Apr 2008 10:14:48 +0000 |
> From: address@hidden
>
> The alignment of the stack seems to be something gcc specific. Perhaps
> we need/want it on ppc-mac as well? Jon, can we use the aligned gcc
> attribute instead like in sse.h:
This was added to get around a bug in gcc that miss-aligns the stack of new
threads. It might work ok on Mac's... So just don't define GCC_ALIGN_HACK and
see if it the sse code crashes (this is the code that relies on an aligned
stack).
Jon
_________________________________________________________________
Amazing prizes every hour with Live Search Big Snap
http://www.bigsnapsearch.com