This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Regarding : gcc emitting "movaps" to unaligned memory
- From: Matthias Drochner <M dot Drochner at fz-juelich dot de>
- To: Vivek Raheja <vivek at cadence dot com>
- Cc: pinskia at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org,vivek at janoon dot cadence dot com
- Date: Mon, 07 Jun 2004 15:56:14 +0200
- Subject: Re: Regarding : gcc emitting "movaps" to unaligned memory
- Reply-to: M dot Drochner at fz-juelich dot de
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