This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment


http://sourceware.org/bugzilla/show_bug.cgi?id=12123

Jakub Jelinek <jakub at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at redhat dot com

--- Comment #13 from Jakub Jelinek <jakub at redhat dot com> 2010-10-26 17:37:31 UTC ---
This patch is wrong.  You don't need to force it for all of NPTL, it needs to
be done only for the source files that actually have callbacks.  For most of
those the Makefiles do it already.  See e.g.
ifeq ($(subdir),nptl)                                   
CFLAGS-pthread_create.c += -mpreferred-stack-boundary=4                  
CFLAGS-tst-align.c += -mpreferred-stack-boundary=4                       
CFLAGS-tst-align2.c += -mpreferred-stack-boundary=4                      
endif

in libc/nptl/sysdeps/i386/Makefile.  Just handle pt-initfini.c the same way.

-- 
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.


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