AIX libc only provides bessel functions j0,j1,jn and y0,y1,yn but doesn't have their float equivalents j0f,j1f,jnf and y0f,y1f,ynf. These functions cause a build failure on AIX, taking them out results in a clean build.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
AIX was not on the target list for flang so it had to be added before answering your question. If those functions are required at compile time it results in a semantic error as these float bessel functions cannot be folded. If these functions are required at runtime it results in a undefined symbol linker error as it looks for jnf but cannot resolve it as it was taken out in order to be able to build.
Comment Actions
Just add comment before merging.
flang/lib/Evaluate/intrinsics-library.cpp | ||
---|---|---|
298 | Can you add a small comment so we remember why it's done. |
Can you add a small comment so we remember why it's done.