This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ 3.4.0 cygwin, codegen SSE & alignement issues


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]