Skip to content

Error Building compiler-rt on windows Cannot find source file: asan_lock.h #75736

@nizmogtr

Description

@nizmogtr

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
Cannot find source file:

asan_lock.h

Call Stack (most recent call first):
lib/asan/CMakeLists.txt:134 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
No SOURCES given to target: RTAsan_dynamic.x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:134 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
No SOURCES given to target: RTAsan.x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:143 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
No SOURCES given to target: RTAsan_cxx.x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:149 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
No SOURCES given to target: RTAsan_static.x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:155 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:75 (add_library):
No SOURCES given to target: RTAsan_preinit.x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:161 (add_compiler_rt_object_libraries)

CMake Error at cmake/Modules/AddCompilerRT.cmake:361 (add_library):
No SOURCES given to target: clang_rt.asan_static-x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:242 (add_compiler_rt_runtime)

CMake Error at cmake/Modules/AddCompilerRT.cmake:361 (add_library):
No SOURCES given to target: clang_rt.asan-preinit-x86_64
Call Stack (most recent call first):
lib/asan/CMakeLists.txt:250 (add_compiler_rt_runtime)

CMake Generate step failed. Build files cannot be regenerated correctly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions