[PATCH] D49330: [compiler-rt] Include -lm when using compiler-rt, due to dependencies in some __div methods.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 16 12:38:30 PDT 2018


efriedma added a comment.

Probably compiler-rt should be fixed so it doesn't need libm, rather than fixing clang to add -lm.  (All the functions it currently uses can be implemented with simple bit manipulation.)


Repository:
  rC Clang

https://reviews.llvm.org/D49330





More information about the cfe-commits mailing list