[libc-commits] [libc] [libc] Remove obsolete LIBC_HAS_BUILTIN macro (PR #86554)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Mar 25 13:32:04 PDT 2024


jhuber6 wrote:

> Ah, thanks for the note. I'm curious, when you build the RPC loader / server utilities, what version of GCC are you using?

I use GCC 13.2 personally, but the lower bound is what LLVM supports as it's built as a part of LLVM. This is somewhat out of scope since it's "technically" not supported but I got away with it since I happened to only touch a few files that were compatible (until this patch). Somewhat hacky so I apologize for the inconvenience. We're just hitting the intersection of what's really annoying to order with CMake and this was the easiest solution.

I think in the future I really want to move the RPC implementation out of `libc` so it's not locked down here. That would get rid of one thing and I could make sure that's compatible. The other remaining use of `libc` utilities would be the `file.h` wrappers for the GPU and the `printf` handling.

https://github.com/llvm/llvm-project/pull/86554


More information about the libc-commits mailing list