Help! Libc dynamic library problem

Try omitting -Ctarget-feature=crt-static. It should probably not be combined with -Cprefer-dynamic.