https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122078
--- Comment #4 from Federico Terraneo <fede.tft at miosix dot org> --- Created attachment 62511 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62511&action=edit First attempt at fixing the problem As an experiment a colleague of mine made a simple patch to libatomic to provide the __atomic_test_and_set symbol and alias it to __atomic_test_and_set_1. Seems to work, will make more tests. Could this become a starting point for an upstream patch?
