When compiling dynamically linked software using GCC, GCC requires that libgcc be able to be loaded during runtime when executing the software. Hence, we must be sure to provide the final system with a copy of the libgcc we previously built for our cross tools.
Install the package:
cp -v ${CLFS}/cross-tools/${CLFS_TARGET}/lib/libgcc_s.so.1 ${CLFS}/targetfs/lib/
Strip libgcc to make it smaller:
${CLFS_TARGET}-strip ${CLFS}/targetfs/lib/libgcc_s.so.1