delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/28/14:04:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: Tim Prince <tprince AT computer DOT org>
cc: Dave Korn <dk AT artimi DOT com>, 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: <Pine.CYG.4.58.0404281254020.5560@fordpc.vss.fsi.com>
References: <408FCABF DOT 2050702 AT ompf DOT org> <NUTMEGeBa1kg3AmsfGd00000090 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040428085945 DOT 01f20a90 AT imap DOT myrealbox DOT com>
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019