mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
c862ae0c42
gcc with -nodefaultlibs does not add sanitizers library during linkage with -static-libasan and similar, fix this, by add them explicitly. From the gcc(1) about -nodefaultlibs: Do not use the standard system libraries when linking. Only the libraries you specify are passed to the linker, and options specifying linkage of the system libraries, such as -static-libgcc or -shared-libgcc, are ignored. The standard startup files are used normally, unless -nostartfiles is used. Plus checked it manually, w/o -nodefaultlibs everything works without this explicit linkage. After this patch UBSAN under gcc compiled successfully. v2: freebsd and darwin |
||
---|---|---|
.. | ||
darwin | ||
find | ||
freebsd | ||
linux | ||
Modules | ||
toolchain | ||
yandex | ||
add_check.cmake | ||
add_warning.cmake | ||
analysis.cmake | ||
arch.cmake | ||
autogenerated_versions.txt | ||
contrib_finder.cmake | ||
cpu_features.cmake | ||
dbms_glob_sources.cmake | ||
fuzzer.cmake | ||
generate_code.cmake | ||
limit_jobs.cmake | ||
print_flags.cmake | ||
print_include_directories.cmake | ||
sanitize_target_link_libraries.cmake | ||
sanitize.cmake | ||
target.cmake | ||
tools.cmake | ||
version.cmake | ||
warnings.cmake |