libgcc_s.so.1 must be installed for pthread_cancel to work
Most of time received libgcc error when the server running out of memory will cause this error. Very your current cpanel memory limit
root@cpanel [~]# grep -i maxmem /var/cpanel/cpanel.config
Simply increase the memory limitation to 512M, save the file, and run ‘/usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings’ to save the updated settings. For the memory to take effect, all that is typically required is a cPanel restart.