<div dir="ltr"><div>Hello,</div><div>when building code with -Ofast -ffinite-math-only -ffast-math, clang generates calls to "finite" variants of math functions.</div><div><br></div><div>This has been the source of a fair amount of issues in a "normal", non-JIT pipeline, which seem to have been fixed over time - a simple fix being recompiling the target app against the new glibc. <br><div>- <a href="https://bugs.llvm.org/show_bug.cgi?id=44842">https://bugs.llvm.org/show_bug.cgi?id=44842</a> <br></div><div>- <a href="https://github.com/cms-sw/cmssw/issues/24935">https://github.com/cms-sw/cmssw/issues/24935</a></div></div><div>- <a href="https://github.com/google/filament/issues/2146">https://github.com/google/filament/issues/2146</a></div><div><br></div><div>But when going through LLJIT (tested with LLVM-10 & LLVM-11, on ArchLinux, glibc-2.32) I still get <br></div><div><br></div><div>     Symbols not found: [ __log_finite, __exp2_finite ]</div><div><br></div><div>when trying to materialize my code.</div><div><br></div><div>What could be done for that ? "Recompiling" doesn't seem to fix anything in this case so it looks like LLJIT lacks the mechanism to understand the ELF symbol indirection.<br></div><div><br></div><div>Thanks,</div><div>Jean-Michaël<br> </div></div>