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 x-ETB-scan: YES Content-Class: urn:content-classes:message Mail-Copies-To: never X-Archive: encrypt X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Message-ID: <6.1.0.6.2.20040428065329.026b3e40@localhost> X-Sender: dradul AT localhost Date: Wed, 28 Apr 2004 06:55:33 -0500 To: From: =?iso-8859-1?Q?Alejandro_L=F3pez-Valencia?= Subject: Re: g++ 3.4.0 cygwin, codegen SSE & alignement issues In-Reply-To: <20040428090639.6DE49A8677@perpugilliam.csclub.uwaterloo.ca > References: <20040428090639 DOT 6DE49A8677 AT perpugilliam DOT csclub DOT uwaterloo DOT ca> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" X-OriginalArrivalTime: 28 Apr 2004 12:03:28.0561 (UTC) FILETIME=[D1354210:01C42D18] X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Note-from-DJ: This may be spam Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i3SC46we028868 At 04:06 a.m. 28/04/2004, Ross Ridge wrote: >This is a GCC and/or Binutils (as/ld) bug. GCC puts constants in the >".rdata" section, but this section only 4-byte aligned. > > >Take note that my app doesn't generate sse1/2 on its own, it all comes > >from gcc. > >Well, that makes the workaround simple, just use the "-mno-sse", >"-mno-sse2" options, don't use the "-mfpmath=sse" option and GCC shouldn't >generate any SSE1/2 instructions. > > Or, instead, add -mms-bitfields -malign-double to your CFLAGS and -Wl,--fdata-sections to your LDFLAGS sectiion. It may or may not work but at least the failure will be different. > -- Alejandro López-Valencia http://dradul.tripod.com/ The limits of my language are the limits of my world. (L. Wittgenstein) -- 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/