This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: Regarding : gcc emitting "movaps" to unaligned memory


vivek@cadence.com said:
>  While porting my 64bit application on opteron amd64,
>  I am facing issues in "printf/vprintf/ vsprintf calls". 

Yep - this looks a lot the problem I had.
In my case (NetBSD) the culprit was the OS code which
sets up the stacks during thread creation and signal
handler invocation -- it got it wrong. (One has to think
twice if the user code is jumped to through a fake function
call return...)

> We are using libc-2.3.2.so

Sorry, I don't follow glibc development. Are there threads
involved or other userland scheduling things as setcontext()?

(Btw, there are still alignment issues in gcc-3.4 which show up
with Ada. Was reported by John R. Shannon in the gcc mailing
list.)

best regards
Matthias



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