diff -r -u a/strings/strings-x86.s b/strings/strings-x86.s --- a/strings/strings-x86.s 2010-11-06 04:55:39.912000351 +0100 +++ b/strings/strings-x86.s 2010-11-06 04:57:55.317000353 +0100 @@ -248,6 +248,7 @@ .type strstr,@function strstr: +strstr_begin: #PIC doesn't seems to work well otherwise pushl %edi pushl %esi movl 12(%esp),%esi # str @@ -293,7 +294,7 @@ movl %esp,%ebp pushl 12(%ebp) # search pushl 8(%ebp) # str - call strstr + call strstr_begin # This should make the call relative fixing PIC issues add $8,%esp or %eax,%eax jz si_99 # Not found, return NULL