Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 28 Apr 2004 13:03:24 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: Tim Prince cc: Dave Korn , cygwin AT cygwin DOT com, gcc AT gcc DOT gnu DOT org Subject: RE: g++ 3.4.0 cygwin, codegen SSE & alignement issues In-Reply-To: <6.0.1.1.0.20040428085945.01f20a90@imap.myrealbox.com> Message-ID: References: <408FCABF DOT 2050702 AT ompf DOT org> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040428085945 DOT 01f20a90 AT imap DOT myrealbox DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Wed, 28 Apr 2004, Tim Prince wrote: > At 08:51 AM 4/28/2004, Dave Korn wrote: > > > > From: cygwin-owner On Behalf Of tbp > > > Sent: 28 April 2004 16:16 > > > >[ Now x-posted to gcc list, since it's seemingly a gcc issue rather than a > >cygwin environment issue. It's an interoperability issue. > > I'd recommend doing that in the startup code in gcc's crt0.s myself. That won't help for threads. See: http://www.cygwin.com/ml/cygwin/2004-04/msg01134.html > > The real question is, is the compiler generating code that guarantees > > the stack stays aligned, so you can do that just once at startup? It > > certainly ought to. It is supposed to, given the call back and new thread caveats. > As Dave said, this is more of a gcc than a cygwin issue, For threads, it happens to be easiest to fix this in Cygwin. > gcc made a decision, which is different from commercial compilers, and the ABI. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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/