abidh added a comment. In D136712#3892986 <https://reviews.llvm.org/D136712#3892986>, @manojgupta wrote:
> @tomhughes has more details on this but if we do not define it in clang > itself, we'll need to define it for every package manually at build time > since the usage goes deep inside newlib headers. I remember facing a similar issue while I was trying to build a baremetal llvm toolchain for riscv. I think I defined it in libcxx config for newlib. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136712/new/ https://reviews.llvm.org/D136712 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits