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

--- Comment #23 from LluÃs Batlle <viriketo at gmail dot com> 2010-11-01 18:51:14 UTC ---
(In reply to comment #22)
> This is a compiler issue.  Use a fixed compiler.  If someone can identify a
> change in the compiler which fixes the problem an appropriate check can be
> added.  But perhaps not.  My strstr.os seems not to need any compiler changes. 
>  It must be local changes of some sort and then there should also be a local
> gcc check.  In any case, nothing to be done to the code, it's fine.

I think that all gccs previous to gcc 4.4 lack the configurable feature of
"expecting a stack alignment of X", that in gcc 4.4 due to the flags set in
glibc end up in "expecting a stack alignment of 2 words" - the behaviour
needed.
As other people in the bug report mentioned, that code (plus gcc flags) is
meant to be built only with gcc 4.4 or above.
You may name gcc 4.4 and above "a fixed compiler", but I would not say that
relates to any "local changes".

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