First bug comment, forgive any faux pas. I also had working Cortex M0 code that broke upon upgrade to 18.04.
Compilation failed with an error message about crt0.o, manually symlinking as described in link below seemed to resolve it. Apparently gcc changed its library directory structure, which was not reflected in newlib. https://bugs.launchpad.net/gcc-arm-embedded/+bug/1772332 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899264 Once compilation worked, programs that made calls to memset would hang at runtime, as reported above. ** Bug watch added: Debian Bug tracker #899264 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899264 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768125 Title: libnewlib-arm-none-eabi generates wrong code for cortex-m0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/newlib/+bug/1768125/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs