Nuullll / Nuullll.github.io

Nuullll
2 stars 0 forks source link

Building llvm-project with Ninja on MacOS (Big Sur) | Nuullll BITS #2

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Building llvm-project with Ninja on MacOS (Big Sur) | Nuullll BITS

fatal error 'wchar.h' file not found

https://blog.nuullll.com/2021/05/15/building-llvm-project-with-ninja-on-macos.html

Nuullll commented 3 years ago

I found the tracker of the clang bug mentioned above: Assertion failed while cross compiling on macOS for Linux The direct cause seems to be the missing of a header file.

Nuullll commented 2 years ago

TODO: I should submit a bug report to Bugzilla as the error message suggests, which is out of scope of this post. Hopefully I would write another post about this clang bug soon.

I found the tracker of the clang bug mentioned above: Assertion failed while cross compiling on macOS for Linux The direct cause seems to be the missing of a header file.

The assertion failure now is gone with llvm trunk: https://github.com/llvm/llvm-project/issues/36083#issuecomment-1019279720. Issue closed.