title: uwsgi process died with "libgcc_s.so.1 must be installed for pthread_cancel to work"
body: <p>uWSGI runs on CentOS 5 with python2.6</p>
  
  <p>Sometimes, the below errors show in uwsgi log:</p>
  
  <blockquote>
    <p>libgcc_s.so.1 must be installed for pthread_cancel to work DAMN !
    process 2474 died :( trying respawn ... Respawned uWSGI worker (new
    pid: 6328)</p>
  </blockquote>
  
  <p>I searched on web, but I don't understand why this happens.</p>
  
  <p>More info:</p>
  
  <blockquote>
    <p>locate libgcc
    /lib/libgcc_s-4.1.2-20080825.so.1 
    /lib/libgcc_s.so.1
    /lib64/libgcc_s-4.1.2-20080825.so.1 
    /lib64/libgcc_s.so.1
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcc.a
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcc_eh.a
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcc_s.so
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libgcc_s_32.so
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/libgcc.a
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/libgcc_eh.a
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libgcc.a
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libgcc_eh.a
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libgcc_s.so
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/32/libgcc.a
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/32/libgcc_eh.a
    /usr/lib/gcc/x86_64-redhat-linux/4.1.1/32/libgcc_s.so
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc.a
    /usr/lib/gcc-lib/i386-redhat-linux/2.96/libgcc_eh.a
    /usr/sbin/libgcc_post_upgrade /usr/share/doc/libgcc-4.1.2
    /usr/share/doc/libgcc-4.1.2/COPYING.LIB</p>
  </blockquote>