<div dir="ltr">On Thu, Mar 30, 2017 at 3:47 PM, Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>> wrote:<br>> On Thu, Mar 30, 2017 at 3:26 PM, Grazvydas Ignotas <<a href="mailto:notasas@gmail.com">notasas@gmail.com</a>> wrote:<br>>> There are still some distributions trying to support unfortunate people<br>>> with old or exotic CPUs that don't have 64bit atomic operations. When<br>>> compiling for such a machine, gcc conveniently inserts a library call to<br>>> a helper, but it's implementation is missing and we get a linker error.<br>>> This allows us to provide our own implementation, which is marked weak<br>>> to prefer a better implementation, should one exist.<br>>><br>>> v2: changed copyright, some style adjustments<br>>><br>>> Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=93089">https://bugs.freedesktop.org/show_bug.cgi?id=93089</a><br>>> Signed-off-by: Grazvydas Ignotas <<a href="mailto:notasas@gmail.com">notasas@gmail.com</a>><br>>> Reviewed-by: Matt Turner <<a href="mailto:mattst88@gmail.com">mattst88@gmail.com</a>><br>><br>> Thanks, I'll commit this.<br>><br>>> ---<br>>>  no commit access, but request sent:<br>>>  <a href="https://bugs.freedesktop.org/show_bug.cgi?id=100467">https://bugs.freedesktop.org/show_bug.cgi?id=100467</a><br>><br>> Thanks. I commented on the bug and said I approve :)<br><br>I modified the patch slightly to print the results of the test with AC_MSG_CHECKING/AC_MSG_RESULT and pushed it as commit a6a38a038bd62e.<div><br></div><div>I'll do some build tests on various architectures. I think I like the idea of this going to the stable 17.0 branch.</div></div>