c
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
c [2024/07/18 14:15] – adds tsan ASLR workaround nine | c [2025/08/04 13:05] (current) – nine | ||
---|---|---|---|
Line 36: | Line 36: | ||
Sulution, disable ASLR for testing: | Sulution, disable ASLR for testing: | ||
setarch --addr-no-randomize build/ | setarch --addr-no-randomize build/ | ||
+ | |||
+ | or: | ||
+ | sudo sysctl vm.mmap_rnd_bits=30 | ||
+ | |||
+ | ==== alternatives ==== | ||
+ | |||
+ | declare alternatives: | ||
+ | < | ||
+ | sudo update-alternatives --install / | ||
+ | sudo update-alternatives --install / | ||
+ | sudo update-alternatives --install / | ||
+ | sudo update-alternatives --install / | ||
+ | sudo update-alternatives --install / | ||
+ | sudo update-alternatives --install / | ||
+ | </ | ||
+ | |||
+ | select the right alternatives: | ||
+ | < | ||
+ | sudo update-alternatives --config gcc | ||
+ | sudo update-alternatives --config g++ | ||
+ | sudo update-alternatives --config gcov | ||
+ | </ |
c.1721312120.txt.gz · Last modified: 2024/07/18 14:15 by nine