my strstr is broken

Michael Brunnbauer brunni@netestate.de
Tue Sep 11 14:41:00 GMT 2018


Hello Siddhesh,

On Tue, Sep 11, 2018 at 07:51:02PM +0530, Siddhesh Poyarekar wrote:
> Is this a non-x86 architecture?

No it's i686-pc-linux-gnu (output from gcc -dumpmachine).

arch reports x86_64 because the kernel is 64 bit but everything else is 32 bit.

>  I can reproduce this on the glibc
> 2.28 tag when I hack the ifunc resolver to ignore
> __strstr_sse2_unaligned and always use the stock __strstr.

So the stock __strstr has a bug?

A 32 bit glibc would not use __strstr_sse2_unaligned, right?

cu,
brunni

-- 
++  Michael Brunnbauer
++  netEstate GmbH
++  Geisenhausener Straße 11a
++  81379 München
++  Tel +49 89 32 19 77 80
++  Fax +49 89 32 19 77 89 
++  E-Mail brunni@netestate.de
++  https://www.netestate.de/
++
++  Sitz: München, HRB Nr.142452 (Handelsregister B München)
++  USt-IdNr. DE221033342
++  Geschäftsführer: Michael Brunnbauer, Franz Brunnbauer
++  Prokurist: Dipl. Kfm. (Univ.) Markus Hendel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20180911/7c1424fd/attachment.sig>


More information about the Libc-help mailing list