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/15845] glibc-2.18 (32-bit) segfault with i7-3770K CPU


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

--- Comment #4 from re_nelson <bob.eric.nelson at gmail dot com> ---
Created attachment 7150
  --> http://sourceware.org/bugzilla/attachment.cgi?id=7150&action=edit
inline keyword restored to __m128i_strloadu

Allan: 

I can now confirm with 100% certainty that the __strstr_sse42 issue involving
the inline keyword having been removed upstream is the problem. Your comments
in this thread are spot on:

https://bugs.archlinux.org/task/36556?project=1

Before I even saw that thread, trial and error led me to using an "-O3"
optimization which had the result of inlining the  __m128i_strloadu. After
applying the "glibc-2.18-strstr-hackfix.patch" (attached), which restores the
"inline" keyword to the function definition, I can again use the "-O2" flag and
get a working 32-bit library.

12:26:15 on Sun Aug 18

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