Hello, Building musl with Clang against compiler-rt causes some of libc-test/math tests to fail on ARM. All failures are related to wrong floating point exceptions. Comparing GCC's builtins with their implementation in compiler-rt revealed important difference: compiler-rt builtins assume that input is always correct, while GCC builtins raise exceptions for invalid arguments or overflows/underflows. It looks like musl implicitly depends on GCC-like builtins. To fix that I added explicit checks in functions that failed to pass all tests. With these changes musl works in the same way independently whether it's built by Clang against compiler-rt or by GCC against libgcc. Please find the attached patch. It's only one as breaking it into pieces won't be very helpful. There is also separate patch for swapped arguments in error message of libc-test. Best regards, Sergey