| Issue |
164651
|
| Summary |
[libc][math] Some FP tests fail to link for AArch64 soft nofp due to missing `fma` definition
|
| Labels |
libc
|
| Assignees |
|
| Reporter |
vhscampos
|
Many of the FP tests fail in AArch64 soft nofp because, due to the lack of FP instructions, clang emits calls to `fma`, but its definition is missing from the hermetic C library put together for the hermetic tests. Even if `libc.src.math.fma` is added to the `DEPENDS` lists for the tests, it doesn't work because the `fma` function is under a mangled internal namespace (`LIBC_NAMESPACE_DECL`), not in the global one, hence the linker still can't find the symbol.
One example of such test is `acosf_test`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs