[libc-commits] [PATCH] D119002: [libc] Fix compilation with gcc
Guillaume Chatelet via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Feb 7 04:20:26 PST 2022
gchatelet added a comment.
In D119002#3300263 <https://reviews.llvm.org/D119002#3300263>, @gchatelet wrote:
> Also I'm seeing build error for Bazel that weren't there before, any idea why? Which headers should be picked for <stddef.h> and similar headers?
>
> % bazelisk-linux-amd64 test --sandbox_base=/dev/shm --config=generic_clang @llvm-project//libc:all
> INFO: Analyzed 254 targets (15 packages loaded, 591 targets configured).
> INFO: Found 254 targets and 0 test targets...
> ERROR: /redacted/.cache/bazel/_bazel_gchatelet/903566bd2da61ef16af7f3375ea676d6/external/llvm-project/libc/BUILD.bazel:572:14: Compiling libc/src/stdlib/bsearch.cpp failed: undeclared inclusion(s) in rule '@llvm-project//libc:bsearch':
> this rule is missing dependency declarations for the following files included by 'libc/src/stdlib/bsearch.cpp':
> '/usr/lib/clang/13.0.1/include/stddef.h'
> '/usr/lib/clang/13.0.1/include/stdint.h'
This seems to be related to caching. This is now fixed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119002/new/
https://reviews.llvm.org/D119002
More information about the libc-commits
mailing list