[libc-commits] [PATCH] D145452: [libc] Add riscv64 syscall implementation.

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Mar 7 04:21:11 PST 2023


mikhail.ramalho added a comment.

Hey @sivachandra, we seem to need the `signal-macros.h` and the fenv stuff to get this patch compiling:

  /home/mgadelha/llvm-project/build/projects/libc/include/llvm-libc-macros/linux/signal-macros.h:86:2: error: "Signal stack sizes not defined for your platform."
  #error "Signal stack sizes not defined for your platform."
   ^
  1 error generated.



  /home/mgadelha/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:51:25: error: unknown type name 'fenv_t'
  LIBC_INLINE int get_env(fenv_t *) { return 0; }
                          ^
  /home/mgadelha/llvm-project/libc/src/__support/FPUtil/FEnvImpl.h:53:31: error: unknown type name 'fenv_t'
  LIBC_INLINE int set_env(const fenv_t *) { return 0; }
                                ^
  2 errors generated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145452



More information about the libc-commits mailing list