It's completely normal that programs compiled by gcc are linking against
the system libgcc_s.so at runtime. gcc does not try to force the
runtime time linking path, as there are many different possibilities
that need to be handled, too many to really plan for. In order to use
different versions of native gcc on the same system, you need to install
the newest libgcc_s.so where the dynamic linker looks, or you need to
use -Wl,-rpath or LD_RUN_PATH to control where the programs look, or you
need to use -static-libgcc to avoid dynamic linking of libgcc.
Ian