[Openmp-commits] [PATCH] D119827: [OpenMP][cmake] Ensure linking against libm for Linux

Fangrui Song via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Feb 24 15:14:48 PST 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

> Compiling libomp with Clang uses fmaxl.

Some compiler-rt/lib/builtins files call libm functions (e.g. `fmaxl, fabs`). Linking libomp with --rtlib=compiler-rt references these functions.

After D91841 <https://reviews.llvm.org/D91841>, we still reference fmaxl (x86 fp80) and fabs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119827/new/

https://reviews.llvm.org/D119827



More information about the Openmp-commits mailing list