Also, Andreas, note that m68k has a similar issue to aarch64 here and is failing to build with mainline GCC, because of const attributes in bits/mathinline.h. I'd suggest removing any such attributes in bits/mathinline.h that don't appear in the generic bits/mathcalls.h. -- Joseph S. Myers joseph@codesourcery.com