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

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Jun 11 15:41:05 PDT 2022


lntue added a comment.

In D127571#3575585 <https://reviews.llvm.org/D127571#3575585>, @oceanfish81 wrote:

> Caught this error:
>
>> Scanning dependencies of target libc.src.fenv.fedisableexcept
>> [ 16%] Building CXX object libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o
>> /home/advancedwebdeveloper/llvm-project-main/libc/src/fenv/fedisableexcept.cpp:16:10: error: no member named 'disable_except' in namespace '__llvm_libc::fputil'; did you mean 'fedisableexcept'?
>>
>>   return fputil::disable_except(e);
>>          ^~~~~~~~~~~~~~~~~~~~~~
>>          fedisableexcept
>>
>> /home/advancedwebdeveloper/llvm-project-main/libc/src/fenv/fedisableexcept.cpp:15:25: note: 'fedisableexcept' declared here
>> LLVM_LIBC_FUNCTION(int, fedisableexcept, (int e)) {
>>
>>   ^
>>
>> 1 error generated.
>> make[2]: *** [libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/build.make:82: libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:6945: libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/all] Error 2
>> make: *** [Makefile:149: all] Error 2
>
> so entrypoints.txt was modified.
> Please elaborate the cause.

You might need to add some entrypoints for `libc/config/<OS>/<arch>/entrypoints.txt` and `headers.txt` similar to https://reviews.llvm.org/rG0f031daea8fc01ce44766f07b0f4c626ef28f8f5
@sivachandra could add more info about what else are missing.


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