https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
--- Comment #15 from Thomas Petazzoni <thomas.petazz...@free-electrons.com> --- (In reply to Michael Eager from comment #14) > There is no reproducible test case in this bug report. A report that > buildroot has a build error is not a test case. I'm not sure how to provide a reproducible test case without using Buildroot. If you know how to cross-compile gcc for Microblaze, then if you just cross-compile for Microblaze and build pretty much any C++ program, you'll reproduce the issue. > Creating a patch which only addressed the build failure would be > problematic: there would be no testing to verify that _atomic_test_and_set > worked correctly. I'm not interested in fixing just the build failure of course, but by a complete fix that also works at runtime.