Commit c1e36ad
committed
Fix asan dual-linkage: remove static lib preference from san preset
The san preset had CMAKE_FIND_LIBRARY_SUFFIXES=".a" which caused
find_dependency(Glog) to find libglog.a, while the tarball's
folly-targets.cmake hardcodes libglog.so. Both copies loaded under
ASAN, crashing on glog's logtostderr flag double-registration.
Removing the static preference lets the san build link consistently
against .so files for system deps. Also reverts the temporary
continue-on-error for asan.1 parent 62fbde1 commit c1e36ad
2 files changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | | - | |
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
0 commit comments