This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- From: "viriketo at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 26 Oct 2010 16:31:21 +0000
- Subject: [Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment
- Auto-submitted: auto-generated
- References: <bug-12123-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12123
--- Comment #9 from LluÃs <viriketo at gmail dot com> 2010-10-26 16:31:11 UTC ---
(In reply to comment #7)
> How did you configure glibc? Normally glibc maintains at most 8 byte stack
> alignment internally. But even if the stack is 16 byte aligned -0x34(%ebp)
> cannot be correctly aligned since ebp points 8 bytes into the stack frame.
If what you say is correct about "at most 8 byte stack alignment", that is not
enough for SSE instructions, which require 16 byte alignment.
I'll reproduce again the bug and report more information about the %ebp at
every point. I read in the source that in i386 _dl_init_internal has to be
called with a 16-byte alignment; I'll check where that gets lost.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.