lntue wrote: I think you will need to provide the declaration for these functions for it to work in full build mode. The `search.h` we generate is from here: https://github.com/llvm/llvm-project/blob/main/libc/spec/posix.td#L1297 https://github.com/llvm/llvm-project/pull/80305