[libc-commits] [libc] [libc][stdlib] Only use freelist_malloc for baremetal targets. (PR #96355)
Paul Kirth via libc-commits
libc-commits at lists.llvm.org
Fri Jun 21 16:50:36 PDT 2024
ilovepi wrote:
I think we're seeing some CMake failures in our CI after this patch. Can you take a look, and if it will take a while to fix, revert.
Bot: https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8744479865106393873/overview
Error:
```
CMake Error at /b/s/w/ir/x/w/llvm-llvm-project/libc/cmake/modules/LLVMLibCLibraryRules.cmake:250 (add_library):
Error evaluating generator expression:
$<TARGET_OBJECTS:libc.src.stdlib.freelist_malloc>
Objects of target "libc.src.stdlib.freelist_malloc" referenced but is not
one of the allowed target types (EXECUTABLE, STATIC, SHARED, MODULE,
OBJECT).
Call Stack (most recent call first):
/b/s/w/ir/x/w/llvm-llvm-project/libc/lib/CMakeLists.txt:22 (add_entrypoint_library)
CMake Error at /b/s/w/ir/x/w/llvm-llvm-project/libc/cmake/modules/LLVMLibCLibraryRules.cmake:250 (add_library):
Error evaluating generator expression:
$<TARGET_OBJECTS:libc.src.stdlib.freelist_malloc>
Objects of target "libc.src.stdlib.freelist_malloc" referenced but is not
one of the allowed target types (EXECUTABLE, STATIC, SHARED, MODULE,
OBJECT).
Call Stack (most recent call first):
/b/s/w/ir/x/w/llvm-llvm-project/libc/lib/CMakeLists.txt:22 (add_entrypoint_library)
```
https://github.com/llvm/llvm-project/pull/96355
More information about the libc-commits
mailing list