[libc-commits] [PATCH] D127571: Initiating a RISC-V port of llvm-libc

Ivan Serdyuk via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Jun 11 09:00:16 PDT 2022


oceanfish81 added a comment.

Another error:

  Scanning dependencies of target libc.src.math.fma
  [ 18%] Building CXX object libc/src/math/CMakeFiles/libc.src.math.fma.dir/fma.cpp.o
  /home/advancedwebdeveloper/llvm-project-main/libc/src/math/fma.cpp:17:10: error: no matching function for call to 'fma'
    return fputil::fma(x, y, z);
           ^~~~~~~~~~~
  /home/advancedwebdeveloper/llvm-project-main/libc/src/__support/FPUtil/FMA.h:33:66: note: candidate template ignored: substitution failure [with T = double]: implicit instantiation of undefined template '__llvm_libc::cpp::EnableIf<false, double>'
  static inline cpp::EnableIfType<cpp::IsSame<T, float>::Value, T> fma(T x, T y,
                                                                   ^
  1 error generated.
  make[2]: *** [libc/src/math/CMakeFiles/libc.src.math.fma.dir/build.make:82: libc/src/math/CMakeFiles/libc.src.math.fma.dir/fma.cpp.o] Error 1
  make[1]: *** [CMakeFiles/Makefile2:8306: libc/src/math/CMakeFiles/libc.src.math.fma.dir/all] Error 2


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127571



More information about the libc-commits mailing list