https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113155
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Again how did you configure gcc because that changes which libgcc is being used and with what options? Also I suspect you should just be using -march=armv7e-m+fp instead. Provide the output of: `arm-none-eabi-gcc -v` should be enough.